I developed a little strategy to tell me whether it is overbought or oversold and when triggered to draw a up/down arrow and to have the text "Overbought" or "Oversold".
The Arrows come up every time the indicator trigger but the text only happens in the last trigger but not any of the times it happened before.
How can I correct this issue to where every time the Arrow appears, so does the Text?
This is the code below:
// Condition set 1 - Overbought Short
if (CCI(CCIFast)[0] > 150
&& CCI(CCISlow)[0] > 150)
{
BackColorAll = Color.Pink;
DrawArrowDown("MyTag"+ CurrentBar, true, 0, High[0] + TickSize, ArrowsDownColor);
DrawText("Mytag","Overbought", 0, High[0] + TickSize*16, Color.Red);
Thanks
NickF
Comment