
In the project, there is an example for those who want to trade using sloping levels. Let's talk about where it is located and what it can do.
Logic.

A line is drawn based on the ZigZag indicator, and trading is done on the breakout of this line. Unlike indicators of a similar type, the line on the chart is drawn manually by the robot!
The robot is called TradeLineExample.
In the project, you can find:

The logic of drawing lines is located here:

The line drawing is done using Line:
