The indicator shows the points of intersection CCI and zero line on the main chart.
Download:
This indicator provides Audio / Email Alertson CCI / (Zero/OB/OS) line cross.
Compatibility issue fixed.
_Alert Helper is not longer needed.
Moderator: admin
local Range=(mathex.avg(source.high, period-Period+1, period)-mathex.avg(source.low, period-Period+1, period))/2;
if CCI.DATA[period-1]>=0 and CCI.DATA[period]<0 then
UP[period]=source.high[period]+Range;
DN[period]=nil;
elseif CCI.DATA[period-1]<=0 and CCI.DATA[period]>0 then
UP[period]=nil;
DN[period]=source.low[period]-Range;
else
UP[period]=nil;
DN[period]=nil;
end
Users browsing this forum: No registered users and 64 guests