Creating a trading signal in RTL

Login or Register

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

2 posts / 0 new
Last post
joseph.cusworth
Last seen: 2 years 1 hour ago
Joined: 01/23/2017 - 11:29
Creating a trading signal in RTL

Hi. I used to program some trading signals based on tokens from the RTL language when I used Market Delta. Long time ago and now I've forgotten everything. Can anyone help me. The concept i'm trying to capture is a sharp uptick then downtick in a technical indicator over 3 periods. An example would be RSI from 3 periods ago = 70, 2 periods ago =90, 1 period ago = back at 70. I think i'd need to use some form of % change factor like RSI.2 / RSI.3 > 1.25 AND RSI.1 / RSI.2 < 0.8.

Would something like that work? Apologies if it's very simple, I don't get a huge amount of time to be able to play with the RTL language so i haven't attempted anything yet.
Thanks in advance, Joe

0
cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Signal for RSI Move

Joe,

Taking your specific example, there are a few ways you could code it....

 

RSI.2 <= 70 AND RSI.1 >= 90 AND RSI <= 70

or, more generally...

RSI.2 <= RSI.1 - 20 AND RSI.1 >= RSI + 20

Give those a try and let me know.  You could also replace the 20 with a C#

RSI.2 <= RSI.1 - C#1 AND RSI.1 >= RSI + C#1

and then add a button to your chart that controlled the value of C#1