Page 2 of 2

Re: CCI_Flat_Extreme_Alert

PostPosted: Fri Oct 06, 2017 11:24 am
by 7510109079
Hi Apprentice, how easy is it to include a Live Alert option?

Re: CCI_Flat_Extreme_Alert

PostPosted: Fri Oct 06, 2017 12:24 pm
by Apprentice
Execution parameter is already available.
Can you clarify?

Re: CCI_Flat_Extreme_Alert

PostPosted: Tue Oct 10, 2017 7:28 am
by 7510109079
Image
Nice example of a 5min reversal

Re: CCI_Flat_Extreme_Alert

PostPosted: Tue Oct 10, 2017 9:16 am
by 7510109079
Apprentice wrote:Execution parameter is already available.
Can you clarify?


My apologies. I am not sure what happened. I must be using an older version. If I look at the code of the one i am using (attached), the Live code lines are there but commented out (not active).

You are right, the current version does have the LIVE option. I notice you have also fixed the direction so only maximums going toward centre zero-line are shown.

However some legitimate alerts are missed by the updated version. See image for example. Can this be looked into, thx

Re: CCI_Flat_Extreme_Alert

PostPosted: Tue Oct 10, 2017 9:55 am
by 7510109079
I had another look at the current lua again: seems to only recognise alerts where the CCI line is actually crossing the OBOS line

Re: CCI_Flat_Extreme_Alert

PostPosted: Wed Oct 11, 2017 3:52 am
by Apprentice
For the second version,
alert will be given every time,
we are in OB or OS Zone and the CCI change is smaller than Maximum.

A)
if CCI[period] > OB
and math.abs(CCI[period]-CCI[period-1])<= Maximum

B)
if CCI[period] < OS
and math.abs(CCI[period]-CCI[period-1])<= Maximum

Re: CCI_Flat_Extreme_Alert

PostPosted: Wed Oct 11, 2017 5:02 am
by 7510109079
If i look at the code I see 4 instances similar to below:

if CCI[period] > OB
and CCI[period-1] <= OB
and math.abs(CCI[period]-CCI[period-1])<= Maximum
then

Re: CCI_Flat_Extreme_Alert

PostPosted: Wed Oct 11, 2017 5:11 am
by 7510109079
following on from last post (pressed Submit button early):

We are not concerned with the current CCI value in relation to OB/OS

We only need to know that previous CCI value was above OB (or below OS)
and
That current CCI value fulfils Maximum condition

Re: CCI_Flat_Extreme_Alert

PostPosted: Fri Oct 13, 2017 5:48 am
by 7510109079
ok , dont worry about this. It works alright

Re: CCI_Flat_Extreme_Alert

PostPosted: Fri Aug 17, 2018 6:35 am
by Apprentice
The Indicator was revised and updated.