It is possible to create horizontal lines in an indicator, which would be prolonged until the first touch, with the help of the HorizontalLinesTillTouch collection..
For this, aLineTillTouch object should be created and added to the collection.
LineTillTouchимеет 2 конструктора:
1. It creates a horizontal line, which starts in a specified bar at a specified price.
public LineTillTouch(int bar, decimal price, Pen pen)
2. Similarly, it creates a horizontal line, for which a number of bars, at the end of which the line would be considered completed, is set additionally.
public LineTillTouch(int bar, decimal price, Pen pen, int fixedBarsCount)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article