Hello
Is there a way to detect if an vertical line has been draw on a chart?
The goal is to installed a vertical line on a day chart and draw a region on a lower time frame chart of the previously
Martin
manually installed Verticale line: Is there a way to detect [SOLVED]
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: manually installed Verticale line: Is there a way to det [SOLVED]
Do you mean a vertical line as in a vertical Trend Line, or a Time Line drawing?Is there a way to detect if an vertical line has been draw on a chart?
The goal is to installed a vertical line on a day chart and draw a region on a lower time frame chart of the previously
We can make trend lines programmatically in MultiCharts (including checking whether there's such a trend line on the chart), but a Time Line can unfortunately not be made nor managed programmatically.
By the way, if you create a trend line with the same time coordinate but with different price coordinates (for instance drawing it between the bar's high and low), and then extend the trend line in both directions, you get a vertical line too.
(Extending a trend line in PowerLanguage is done with the TL_SetExtLeft() and TL_SetExtRight() keywords.)