I'm new to NT8, just starting to find my feet & loving the platform.
I'm trying to draw an arrow on the chart based on some simple candlestick patterns which is not working, however if I use another type of argument it does appear to work, what I am I doing wrong?
protected override void OnBarUpdate()
{
//Add your custom indicator logic here.
//this is not drawing any arrows - I would expect an arrow above all
//bullish candles?
//--
//if (Close[1]>Open[1])
//this code will draw the arrow
//--
if (CrossAbove(Close, SMA(20), 1))
{
Draw.ArrowDown(this, "tag1"+ CurrentBar, true, 1, High[1],
Brushes.White);
}
}
Also when I try to do something similar in my own indicator based on the candlestick pattern indi I'm also not getting the results I would expect, I must be missing something simple here?

Comment