Elder Triple Screen Strategy
Forums › ProRealTime English forum › ProOrder support › Elder Triple Screen Strategy
- This topic has 42 replies, 8 voices, and was last updated 1 year ago by GraHal.
-
-
07/31/2021 at 2:36 PM #174448
Hi,
I have searched through the forum and quite surprised there have not been any discussion or test codes on Elder Triple screen strategy.
https://tradingstrategyguides.com/alexander-elder-trading-strategy-the-triple-screen/
It involves looking at 3 different time frame. I am currently learning to code on multi time frame, and would like to take a look at Elders Triple Strategy to learn more about coding multi time frame in PRT. Since the Elder Triple Strategy has been around for a long time, and is a pretty famous strategy, I am quite surprised I am not able to find it in this forum. But its possible that I might have missed out something. If you come across this strategy in PRT codes, appreciate if you can share the link here.
Thank you and have a great weekend.
07/31/2021 at 4:21 PM #174452Yes, it’s possible to code that strategy, buit it will take a few days (as I have to do something else at the same time).
I will read the full article. The KST indicator is already in the library (in a couple of different versions).
I’ll be back asap.
3 users thanked author for this post.
07/31/2021 at 4:31 PM #17445308/01/2021 at 5:13 PM #174510There you go. I made it for the 4h-1h-15min TF’s (+ default TF, in case you want to use it on a TF lower than 15 minutes). You can easily change all of them.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263// Elder Triple Screen TS//DEFPARAM CumulateOrders = FALSE//Timeframe(default)ONCE LotSize = 1//Timeframe(4h,UpdateOnClose)Sma200h4 = average[200,0](close)//Timeframe(1h,UpdateOnClose)Sma200h1 = average[200,0](close)L1 = Sma200h1 > Sma200h1[1]S1 = Sma200h1 < Sma200h1[1]// MACD formula 12,26,9ONCE FastAvg = 12ONCE SlowAvg = 26ONCE SigAvg = 9MyMACD = ExponentialAverage[FastAvg](close) - ExponentialAverage[SlowAvg](close)MySignal = ExponentialAverage[SigAvg](MyMACD)//MyHISTO = MyMACD - MySignal //Histogram is not usedL2 = MyMACD > MyMacd[1]L3 = MyMACD > MySignalS2 = MyMACD < MyMacd[1]S3 = MyMACD < MySignal//Timeframe(15 minute,UpdateOnClose)// KST indicatorONCE Roc1 = 10ONCE Roc2 = 15ONCE Roc3 = 20ONCE Roc4 = 30ONCE Sma1 = 10ONCE Sma2 = 10ONCE Sma3 = 10ONCE Sma4 = 15//ONCE SigP = 9 //Signal not usedro1 = Roc[Roc1](close)ro2 = Roc[Roc2](close)ro3 = Roc[Roc3](close)ro4 = Roc[Roc4](close)av1 = Average[Sma1,0](ro1)av2 = Average[Sma2,0](ro2)av3 = Average[Sma3,0](ro3)av4 = Average[Sma4,0](ro4)Kst = (av1 * 1) + (av2 * 2) + (av3 * 3) + (av4 * 4)//Sig = Average[SigP,0](Kst) //Signal is not usedL4 = Kst CROSSES OVER 0S4 = Kst CROSSES UNDER 0//Timeframe(default)L0 = close > Sma200h4S0 = close < Sma200h4//CondL = L0 AND L1 AND L2 AND L3 AND L4 AND Not OnMarketCondS = S0 AND S1 AND S2 AND S3 AND S4 AND Not OnMarketIF CondL THENBUY LotSize CONTRACTS AT MarketELSIF CondS THENSELLSHORT LotSize CONTRACTS AT MarketENDIFSET STOP pLOSS 50SET TARGET pPROFIT 200tested on DAX, 15min TF, 200K units.
5 users thanked author for this post.
08/01/2021 at 6:50 PM #17451908/01/2021 at 8:41 PM #174532Hi Roberto, I have a question. I can follow your codes and understand that you are defining timeframe(4H, UpdateonClose) followed by timeframe(1H, UpdateonClose) and lastly timeframe(15 minutes, UpdateonClose).
Later below your code you also use Timeframe(default). That’s where I am a bit lost. In this Timeframe (default) what shud be the appropriate time frame? When doing backtestimg we shud run this strategy from the 15 mins as the default right? Thanks in advance for your advice.
08/01/2021 at 9:17 PM #174536You can use, as I did, the 15-minute TF, but if you prefer using 5 or 1 minute you can do it.
Even if you run it from a 1-minute TF, the setup is still based on 4h+1h+15 minutes.
1 user thanked author for this post.
08/01/2021 at 11:27 PM #17454408/02/2021 at 4:57 PM #17457701/03/2022 at 9:35 AM #184383You can use, as I did, the 15-minute TF, but if you prefer using 5 or 1 minute you can do it.
Even if you run it from a 1-minute TF, the setup is still based on 4h+1h+15 minutes.
Tks for you great help, so this is the rules of Prorealtime, when we use a multi time frame we have to choose the smallest one or more smaller TF from the the smallest one of our trategy for running the back test ?
01/03/2022 at 10:42 AM #184388Yes, always the smallest one. And the bigger ones must all be a multiple of it.
01/03/2022 at 5:10 PM #184421Yes, always the smallest one. And the bigger ones must all be a multiple of it.
Ok tks you, so I have to find an subscription for PRT before trying, I used the free version but I can only go to the lower time frame but when I want to use the probacktest I haven’t any Data
01/03/2022 at 5:17 PM #184422like you can see on this photo, No Data, so I have to pay for 1 or 2 month for trying and learning because I haven’t IG account,
if some know if they have a free solution for using ProBackTest pls ?
and tks again robertogozzi for your code, I will try to make a new one similar according to the new book of trading for living by using rsi or Force Index for the second screen depend of the marcket, and using differente trend indicator in the first one like the impulse systeme or other, I will come back to this thread when I will find a cheap solution for using PRT as a beginner
1 user thanked author for this post.
01/03/2022 at 8:14 PM #184452if some know if they have a free solution
Open IG Account and do a minimum of 4 trades per month. If you pick high probability trades you likely will also make yourself some money! 🙂
01/04/2022 at 9:15 AM #184478Well done, I do it yesterday and I called them, I wait for an answer today, I hope everything will be fine for my new account ;-), as soon I will get my account I will try to make the different triple screen indicator and will try to use it as a screen or why not a backtest strategy
But I think as screener is better, as I saw in the book ( the new trading for living) and according to my understanding this method is an indicator to allow or not to take a position in the same trend of the first screen, but it’s not mean you have to take the trade, but allowed or not
If someone can confirm pls?
-
AuthorPosts
Find exclusive trading pro-tools on