My version is attached below as txt file. Only the indicator not the full addon as I can't export it because of some log tab errors on DXHelper and DXMediaBrush.
I want to specify the space vertically for the horizontal lines, for example with 5 ticks between each horizontal line.
Here is the current output, with 1 tick interline spacing.
The relevant snippet from lines 175-86
DXH.DrawLine(RenderTarget,
"LineBrush",
ChartPanel.X,
chartScale.GetYByValue(i),
ChartPanel.W,
chartScale.GetYByValue(i),
LineBrushWidth,
//(DashStyleHelper)(j%4));
//(DashStyleHelper)(j%1));
//(DashStyleHelper)(1.4f));
//DashStyleHelper.Solid);
(DashStyleHelper.Solid));
I tested the commented out commands in the snippet above to get familiar.
I did not find the sought out info for the task at hand.
How can the spacing between horizontal lines be controlled in this context?
For example setting it to be 5 ticks according to the instrument the indicator is loaded on.

Comment