I'd like to get this indicator to show the same Print () text in a market analyzer column. Or even show a 1 or a zero, maybe with a change in background color. How might I modify it? Is there a sample somewhere?
protected override void OnBarUpdate()
{
if (Range()[0] > ATR(14)[0] * 2)
{
Print("1 ATR is exceeded");
}
}
thanks,
David
Comment