I would like to look back a certain number of bars, not 1 bar like the IsRising code
eg:
if (SMA(Period)[0] > SMA(Period)[10])
PlotBrushes[0][0] = PlotBrushes.Green
I have no problem writing an indicator using the IsRising code but that only looks back one bar, and is pretty useless for showing trends.
It seems very difficult to change plot colors.
Any help would be greatly appreciated
Thanks
EsTraderPete
Comment