Horizontal reference line at signal marker

Login or Register

Please login or register in order to view and post in the Forum.

4 posts / 0 new
Last post
PVLFD
Last seen: 6 years 5 months ago
Joined: 08/27/2014 - 15:34
Horizontal reference line at signal marker

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).

0
cpayne
Last seen: 1 year 8 months ago
Joined: 03/30/2009 - 00:00
Extending Price of Signals

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.

PVLFD
Last seen: 6 years 5 months ago
Joined: 08/27/2014 - 15:34
Thanks Chad.

Thanks Chad.
Why does it also add that vertical line?
https://www.screencast.com/t/x35CSjegH

cpayne
Last seen: 1 year 8 months ago
Joined: 03/30/2009 - 00:00
Custom Indicator Display

Set the custom indicator up to display dots like this and it will not connect those lines...