♥ 0 |
Hi Pete, When using the code linked below to plot vertical lines, they appear on my charts as dotted lines. Is it possible to augment the script so that when the study is double clicked the user is able to customize the following parameters (of the vertical line) Color, Thickness, Syle (IE dashed dotted solid) Thanks! Plot vertical line at cross of SlowK and SlowD – Hahn-Tech, LLC
Marked as spam
|
Private answer
The "AddVerticalLine()" statement generates a plot on the chart from within a chart study. There is no way to directly interact with, (such as double-click), plots generated by a chart study. The language reference of Thinkorswim shows every detail about how the "AddVerticalLine()" statement can be implemented in a chart study: https://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Look---Feel/AddVerticalLine Within that webpage you will see that AddVerticalLine() statement takes 4 parameters. The last two of those four control the color and the style. Those are the only two properties which can be adjusted and any parameters you include will be applied to all vertical lines which are added to the chart by that statement. Marked as spam
|
Please log in to post questions.