#TheStrat Combo Tester

#TheStrat Combo Tester

This strategy is an add-on to the #TheStrat Reversals indicator (also posted in the library) which is a dedication to the work of @RobInTheBlack (Twitter Handle) who has helped countless traders with this pure price action based strategy that he developed over the past 27 years of trading, It is called #TheStrat

This strategy is dedicated to testing the various #TheStrat reversal (and continuation) setups as explained on the picture provided in the attached gallery which in itself is based on the 4 different Price Action scenarios discussed here: https://www.newtraderu.com/2019/02/13/what-do-we-know-to-be-true-about-price-action/

I recommend importing the .ITF in order to load the test variables, but for those interested here is the code (The x,y and a,b,c,d,e,f variables are used to test different combinations):

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. fred680 • 11/24/2020 #

    Interesting to try. what instruments did you test it on?

  2. juanj • 11/24/2020 #

    It doesn’t really matter. TheStrat is actually mostly used on high Alpha U.S Stocks but can be used in any market as it relies on Price Action reversals. The screenshot is of the Wall Street Cash market (DJI)

    • herke036 • 11/24/2020 #

      In your code I see
      If onmarket = 0 and Type22 = 1 and hora1 and hora2 Then
      If InsideBar[1] = 0 and TwoUp and Up and LongOnly = 0 Then
      Sellshort possize contract at low-OrderTollerance stop
      SL = high-low
      TP = low-low[1]
      ElsIf InsideBar[1] = 0 and TwoDown and Down and ShortOnly = 0 Then
      Buy possize contract at high+OrderTollerance stop
      SL = high-low
      TP = high[1]-high
      Type = 22

      Is the condition to go long not for the shortposition and visa versa??

  3. juanj • 11/24/2020 #

    Also note that when used as a strategy, full timeframe continuity is important (i.e. price making should be green/red on higher timeframes)

  4. Jeremy8 • 11/24/2020 #

    Hi juan,
    Thanks fort your strategy.
    What value you enter for variables a,b,c,d,e,f,g, x and y?


    • seappa8@gmail.com • 11/24/2020 #

      How are you ensuring full time frame continuity in this script? i tried it on same instrument & few others.. my pro back test results were poor. please help.

  5. Jakubovsky • 11/24/2020 #

    Hi juanj. Can you type variable optimization code with same value?

  6. avatar
    Anonymous • 11/24/2020 #

    Hi, thank you for sharing. What time-frames did you find worked best?

  7. juanj • 11/24/2020 #

    This script does not include timeframe continuity it simply tests for the best signals. I am just saying that if you plan on using this in a strategy it should be implemented. When used on it’s own a higher timeframe (4H+) would obviously give more reliable signals. But when used in a strategy it can be utilized on a lower timeframe in conjunction with multi timeframe continuity

  8. Fran55 • 11/24/2020 #

    No comments.

    200000k, 4h, 2010-2020, loss 3000€.

    On other timeframes loss, loss, loss… loss.

    Looser strategy!

    • Nicolas • 11/24/2020 #

      Fork it and make it better, that’s what the website is made for 🙂 Good luck!

  9. juanj • 11/24/2020 #

    @Fran55 you are completely missing the point of this strategy. It is a tool to test different types of price action reversal signals not a standalone strategy. If you want a strategy out of it, like Nicolas said build one.

  10. aaronparry1 • 11/24/2020 #

    Thanks @Juanj. Love this!

    It’s really does not take much to make this into a winning strategy. Backtested with 10k on multiple 15min and 30min charts and it’s returns good results (the most volatile stocks return the best results)

    – Add Full Time Frame Continuity Parameter
    – Add increased Volume parameter
    – Tweak the Target/Stop Loss parameters to suit your personal risk level

    Thanks again, appreciate you sharing your work 🙂

    • seappa8@gmail.com • 11/24/2020 #

      Hi @aaronparry1 .. i kind of got lost in multi time frame continuity .. tried a lot (Rob s too fast for me to comprehend him 🙂 ).. can you help & share your work.. you can hide the IP or any special edge if you want.. i want to learn the concept..

  11. avatar
    Anonymous • 11/24/2020 #

    Thanks very much for sharing, look forward to testing this idea out.

  12. AntoGH • 11/24/2020 #

    How did you backtested it ? i downloaded the file and put it in the backtest section but it still not working, HOW do you know ? and can you give us the code for backtest ? thanks

  13. herke036 • 11/24/2020 #

    For the question how to fill the variables
    a,b,c,d,e,f,g, x and y?
    a,b,c,d,e,f,g is selecting the desired method. To set the first method do
    for x and y I used 2 pips
    x=2 and y = 2
    Use e.g. 15 min ustech100(1usd) and you will get good results

  14. UkDownUnder • 183 days ago #

    How do we apply this to a strategy we have made, Thanks

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
goldenfish67 Hi guys just copied the code but I keep getting an error message: "Line 15 one of the fo...
idunnomuch IS this working in the latest version of prorealtime? I get the indicator, but not over my c...
bernardmorel egalement apparait en dessous du graphique mais vide
bernardmorel Bonjour est t il possible de remettre en ligne the strat car il y a une indication qui d...
ferros bonjour , super votre indicateur!!!! est-il possible de l'avoir en histograme +1 /-1 por en...
Globalmarkets79 Thank you Vonasi for the answer. I have an other question. When i tried to run the indicator...
Vonasi Lines is either 0 or 1 to turn on or off the drawing of them. Once again if you download and...
Globalmarkets79 Thank you Vonasi, this indicator is very helpful!!!
Dari when I put the indicator does not put it on the price, sn in a new box like many indicators....
Nicolas by adding it on price instead. Use the wrench on the left upper side of your price chart.
Kris75 Hi, This is great !! anyone ever developped a strategy about it ???
swapping hello Kris75, not that I know but it is possible to make a scenario ;)
digitation Hi swapping, Thanks for sharing this useful tool. I was wondering how difficult it would be...
AlexWoe89 Hi, thanks for the code. Do you have an idea, if you can also draw pre-market data on char...
Thomas Hello swapping. Very good idea. Can I use and modify the code? I would like to add a few mor...
Razz Hello swapping the indicator is very good! Can you tell me how I can add 2 lines in the dist...
swapping Hello wanjpt, I do not see how to do it because the calculation is for 12 candles of 5mn onl...
wanjpt Thanks swapping.
Thomas @wanjpt https://www.prorealcode.com/prorealtime-indicators/opening-range-eur-with-close-and...
Jan Wind Thanks for the indicator. Seems to indicate the start of the short term trend quite well, ...
finplus bonjour, il y a un problème à la fin du code avec elsif (close 0 then ... ne manque t il pas...
kj1988 Hello Nicolas, thank you for this useful indicator. Could you tell me how I can remove the...
Nicolas remove lines 101 to 103