There are two options. Use GRAPH or GRAPHONPRICE to draw lines either in a separate window or actually on your chart. The second option is to create an indicator that simulates your strategy and have that draw lines or arrows or whatever text you want on the chart.
The first option will require you to leave the strategy running in back test as well as live to see the graphed results as GRAPH and GRAPHONPRICE are not allowed in strategies running live.
The second option depends on how complicated the strategy is as to how hard it will be to code.
1 user thanked author for this post.