A candlestick should have a lower low than the previous one and then have a higher high than the previous one.
I've tried the following code but it doesn't draw the signals for me correctly. Could you give me some ideas?
bool signal = false;
if (Low[0]<Low[1])
{signal = true;}
if (signal==true && High[0]>High[1])
{Draw.ArrowDown(this, @"Signal " + CurrentBar, false, 0, High[0]+2, Brushes.Blue);}
I need the signal to be drawn when the price goes down from low1 and then exceeds high1. The current candlestick may have made a higher high than high1 before dropping below low1.
Thanks!
Comment