I have two moving averages. I want to draw the band between them Red when the first above the second and Green on the opposite .

I used :
DrawLine(bar, ema1[bar], bar, ema2[bar], ema1[bar] < ema2[bar] ? WLColor.Green : WLColor.Red, 10, LineStyle.Solid, "macd");
but DrawLine seems slow and not the right way.
Any suggestion?
I used :
DrawLine(bar, ema1[bar], bar, ema2[bar], ema1[bar] < ema2[bar] ? WLColor.Green : WLColor.Red, 10, LineStyle.Solid, "macd");
but DrawLine seems slow and not the right way.
Any suggestion?
Let's mark this topic a feature request and we can add a new pair of plot methods, PlotIndicatorCloud and PlotTimeSeriesCloud.
Marked.
Your Answer
Post
Edit Post
Login is required