Hello,
Is it possible to automatically draw a reference line once I get a signal marker?
I know I can draw it with a CI but I have signal markers instead and not sure how to do it.
Basically I want to draw it once there is a signal and keep it until it gets hit in the future (preferably keep for only same session).
Yes,
You will use a custom indicator however, but the indicator will incorporate your signal.
So let's say you want to extend the high price of the bars where a signal is true. The custom indicator syntax would be..
HI * (SIGNAL = 1)
You don't have to use the SIGNAL token if you haven't yet created your signal. For instance, if I want to extend the high of up fractals...
HI * (FRACU = 1)
when you add the indicator to a chart, you have various options for extending naked values. By multiplying the HI by a boolean condition of SIGNAL = 1 or FRACU = 1, it results in non-zero values (HI) only when the SIGNAL or FRACU is true (1). And the resulting custom indicator in the chart will then only extend those non-zero values.
Thanks Chad.
Why does it also add that vertical line?
https://www.screencast.com/t/x35CSjegH
Set the custom indicator up to display dots like this and it will not connect those lines...