No I posted the filtered version, added the filter conditions you asked for on slope change only.sal wrote: Sun Jan 14, 2024 3:23 pm this indicator no change in arrows
wrong indicator attached, please have a look
Re: CCI indicators for MT4
712i can see on chart lot of arrows see snap,mrtools wrote: Sun Jan 14, 2024 4:12 pm No I posted the filtered version, added the filter conditions you asked for on slope change only.

as per rule its very few suppose to visible on chart
see rule filter arrow marked for DN
simple way we can say.. DOWN ARROW MUST BE ON BULLISH BAR
UP ARROW MUST BE ON BEARISH BAR
if we select mode for SLOPE direction of CCI in settings
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
713vertical lines locations are following the requested rule
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
714Simply change in lines 210 - 212sal wrote: Sun Jan 14, 2024 4:38 pm i can see on chart lot of arrows see snap,
as per rule its very few suppose to visible on chart
see rule filter arrow marked for DN
simple way we can say.. DOWN ARROW MUST BE ON BULLISH BAR
UP ARROW MUST BE ON BEARISH BAR
if we select mode for SLOPE direction of CCI in settings
Code: Select all
case col_colorOnSlope:
if (cci[i]>cci[i+1] && Open[i]<Close[i]) trend[i] = 1;
if (cci[i]<cci[i+1] && Open[i]>Close[i]) trend[i] = -1;
Code: Select all
case col_colorOnSlope:
if (cci[i]>cci[i+1] && Open[i]>Close[i]) trend[i] = 1;
if (cci[i]<cci[i+1] && Open[i]<Close[i]) trend[i] = -1;
Re: CCI indicators for MT4
715thanks bro.. now its updatedmrtools wrote: Mon Jan 15, 2024 12:56 am Simply change in lines 210 - 212
toCode: Select all
case col_colorOnSlope: if (cci[i]>cci[i+1] && Open[i]<Close[i]) trend[i] = 1; if (cci[i]<cci[i+1] && Open[i]>Close[i]) trend[i] = -1;
Far as I'm aware bullish/bearish bar is open<>close.Code: Select all
case col_colorOnSlope: if (cci[i]>cci[i+1] && Open[i]>Close[i]) trend[i] = 1; if (cci[i]<cci[i+1] && Open[i]<Close[i]) trend[i] = -1;

"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
716Far as I'm aware bullish/bearish bar is open<>close.
[/quote]
mr.tools
some places the arrows are not appear.. and after replace the close, the slope colour change...
see snap
before and after
[/quote]
mr.tools
some places the arrows are not appear.. and after replace the close, the slope colour change...
see snap
before and after
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
717cci "V" pattern at OB/OS is a good sign of trend reversal.. with disagree price action ..
see snap
see snap
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
718My bad, my idea messed with the cci slope coloring, right now off the top of my head not sure how to do this just using slope coloring.
Re: CCI indicators for MT4
719mrtools wrote: Mon Jan 15, 2024 2:25 am mr.tools
some places the arrows are not appear.. and after replace the close, the slope colour change...
see snap
before and after
bro..mrtools wrote: Mon Jan 15, 2024 2:25 am My bad, my idea messed with the cci slope coloring, right now off the top of my head not sure how to do this just using slope coloring.
i think its based on BULL COLOUR AND BEAR COLOUR of price.
i find code model from indicator which works well
extern color BullCol = clrRed; //clrGreen;
extern color BearCol = clrGreen; //clrRed;
IndicatorBuffers(2);
SetIndexBuffer(0,buffer1);
SetIndexStyle(0,DRAW_ARROW,0,0,BullCol);
SetIndexArrow(0,upCode);
SetIndexBuffer(1,buffer2);
SetIndexStyle(1,DRAW_ARROW,0,0,BearCol);
SetIndexArrow(1,dnCode);
buffer1[i] = iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,BullCol,BearCol,gap,upCode,dnCode,0,y);
buffer2[i] = iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,BullCol,BearCol,gap,upCode,dnCode,1,y);
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: CCI indicators for MT4
720Does anyone have a double CCI with an alert when the CCI's cross? The only ones I can find have an alert when the CCI crosses zero. Thanks in advance!