Signal RTL question

Login or Register

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

4 posts / 0 new
Last post
Wade Romine
Last seen: 2 months 2 weeks ago
Joined: 07/17/2018 - 10:49
Signal RTL question

I have two signals.
Signal 1. Long = LO < LO.15 AND CL > CL.3 AND HI > HI.1
Signal 2. Short = HI > HI.15 AND CL < CL.3 AND LO < LO.1

As an example we start a new session. Signal 1 fires off first. I do not want to see another long signal marker until I first see signal 2 fire off. As of now I may have 10 bars in a row fire off long signal markers, before I get to the first signal 2 marker.

How do I correct this? I basically just want to see single alternating signals, LSLSLSLS. Not LLLLLLLL,SSSS.LLLLLLLLLLL.SS.LLLL, where every bar that meets the criteria gets a signal.

Thanks,
Wade

0
cpayne
Last seen: 1 year 1 month ago
Joined: 03/30/2009 - 00:00
SSTAT for Bars Since Signal

You would need to involve SSTAT to give you the number of bars since the previous signal 1 and signal 2 as well as POS to give you the number of bars into the session.  Inspect how the large purple and pink dots were coded in the following chart definition.

https://www.linnsoft.com/charts/wr-signals-es

 

Wade Romine
Last seen: 2 months 2 weeks ago
Joined: 07/17/2018 - 10:49
Thanks Chad, I appreciate

Thanks Chad, I appreciate your help on the matter. I made an error once I visualized the work. Long signals can be redundant if the long signal occurs at a lower price. Short signals can be redundant if they occur at lower prices. Otherwise it works.

I looked at the code thinking I could make that change myself, but its like reading chinese!!!

Wade Romine
Last seen: 2 months 2 weeks ago
Joined: 07/17/2018 - 10:49
Typo in the previous message.

Typo in the previous message...should of read short signals can be redundant is they occur at HIGHER prices. Sorry about that!!