Do the arrows painted by CCI repaint? And also when does the arrow appear (current candle, end of candle or opening of next candle)?
It repaints only on current candle. I could code it in different way, so arrow will appear when previous candle closing will be on value of CCI higher than your high level (to sell) or lower than your low level (to buy), but it would delay the signal and our reaction, you know what I mean? Now, if arrow appears you know that value of CCI has reached your level and you can wait till close or just put pending order below candle (when CCI is in Overbought Zone) or above candle (when CCI is in Oversold Zone).