I would like to create a version of the price channel indicator that uses a 'Step Line' (horizontal connecting lines) instead of a regular line (point a-to-b). There doesn't seem to be a style type for this, only a 'Line' type.
Any ideas, suggestions? Is there a Step Line type similar to the one in Trading View?
Existing code:
Code: Select all
private IPlotObject Plot1;
Plot1 =AddPlot(new PlotAttributes("UpperBand", 0, Color.Yellow, Color.Empty, 0, 0, true));
Plot1.Set(displace, m_upperband.Value);
A