I am trying to build a strategy referring Trend Magic indicator’s color as a condition. I did some research here and found NT’s Brandon H’s suggestions of AddPlot and then assign lineColor[0].
I tried to add:
AddPlot(Brushes.Blue, lineColor)
Values [1][1] = lineColor [0]
The script compiled fine. A plot was added but the data was n/a in data box.
Can anyone please help me?
With Gratitude,
Comment