Example:
//Long signal
if (MyCalc)
MyPlot[0] = 1
//Short signal
else if (MyCalc)
MyPlot[0] = -1
else
MyPlot[0] = 0
If the value of MyPlot is 1 i want it o be green, -1 I want it to be red. If there's no signal I just want to keep the color that is stated in AddPlot(Brushes.Grey, "MyPlot").
Cheers,
Christian
Comment