RSI , Stochastic and SMA showing direction. Stochastic not yet oversold/overbought.

RSI , Stochastic and SMA showing direction. Stochastic not yet oversold/overbought.

Hello,

Here is a strategy idea for GBPUSD H1.

  1. Stochastic showing momentum down/up
  2. RSI up/down (over 55 or under 45)
  3. SMA crossover for SMA10 and SMA5
  4. Stochastic not yet oversold (still over 55) or not yet overbought (still under 45)

Strategy was originally optimized IS for 2014-2017 and showed good result for 2013 – 2019. Years before that the result are not so good. Note that SL is set to 1000, which in reality means there is no SL until a new order is triggered in the opposite direction or the order meets its TP. Any ideas of improvement or tips, please share 🙂

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. Francesco78 • 01/24/2019 #

    Beautiful thank you!

  2. Paul • 01/24/2019 #

    Nice one. Not trading every day makes a difference and improve results per trade substantially. Still has to run a SL like 2% and a smaller PT but curve looks great! Did not optimize the indicators.

    • PastaPesto • 01/24/2019 #

      Thank you Paul,
      Do you mean no trades during specific dayofweek and 2% from marketprice as SL?

  3. Alekos75008 • 01/24/2019 #

    great ! can you add stop lost to improve ?

    • PastaPesto • 01/24/2019 #

      Thanks Alekos,
      As I mentioned the Stop Loss is set to 1000. You can test different settings or maybe you can find a better kind of SL than pips.

  4. jebus89 • 01/24/2019 #

    Checked it on 200K bar test for GBPYUSD and it looks like a typically curvefit/overoptimized algo from 1999 – 2008~ meaning its flat and in the red.. then from 2008 -> today it looks great and amazing. So thats a red flag for sure.

    Another red flag is that it dosnt rly look good for any other market.. forex, stocks, indicies.. thats a red flag.

    Dosnt mean this wont work moving forward, but i would definitly be very carefull using this for live money.

    • PastaPesto • 01/24/2019 #

      Thank you for your reply jebus,
      1. As I said, earlier years arent so good, could be a problem.
      2. My opinion is that a strategy doesnt have to work on other markets. Its surely promising if it does but its not a absolute requirement for me. I have seen strategies working good on only DAX or FTSE for ex.
      I know its an endless discussion regarding what requirements to set on a strategy before going live, but its also one of the most important questions for us, so thank you for jebus for sharing your toughts on this one. It would be so easy if there was an easy answer for this quesion 🙂

  5. Paul • 01/24/2019 #

    Optimized the days in a week and it seemed that Tuesday and Friday are not good days to trade.
    I set cumulate orders to false to compare.
    Try 75k bars (from 2007), stoploss 2%-3% from entry-price, profit-target 0.40% and exclude those days, with only 1 trade long or short a day.
    I only optimize days to see how a strategy performs in generally and if it’s in balance.
    What I don’t like about the strategy is that i’am unable to build a useful breakeven- or trailing-stop in the strategy that works.

  6. PastaPesto • 01/24/2019 #

    Thanks Paul for the tips about testing balance.
    I am actually struggeling with breakeven or trailing stops an all my strategies. I never get it to be more profitable than my normal SL. 🙁

  7. bluetime6 • 01/24/2019 #

    Hello.
    Is the Strategy running live with any of you? Are there any results? Are there any deviations Backtest, Demo, Real?
    kind regards

  8. PastaPesto • 01/24/2019 #

    Hi Bluetime,
    I have been running this on a Demo since February. The results still within the same range as previous backtest. The % of winning trades are 72%. There was a drawdown in January, but nothing that stood out from earlier backtest. I would like to wait a bit longer in demo to confirm this one, but so far so good 🙂
    As said earlier the 200K backtest shows a really bumpy ride until 2008 or even to 2012 depending on how you look at it. That is a warning sign for sure, but I did my optimisation 2014-2017 and left the rest as Out of sample period. So there is some OOS time that shows good results. I like the fact that the period from 2018 and forward is looking good as I did no optimisation in that period.
    I hope that helps.

  9. Gubben • 01/24/2019 #

    I took the chance of running it live with some optimizations/modifications since 23 april and winrate is 78.5% , G/L ratio is 2.88 on 14 trades. So far so good! Also started on EURCAD and USDPY this month but will have to report on those later since they’ve only taken a couple of trades.

    • PastaPesto • 01/24/2019 #

      Hi Gubben,
      It would be interesting to know what changes you have done and also your backtest results.

    • Gubben • 01/24/2019 #

      @PastaPesto, for GBP USD mainly inspired by Paul it was 2% stoploss and 45 take profit, also no trades on fridays and maxorders per day is 2. Since april it has 84% winning trades and 4.18 Gain/loss.
      The other currency pairs are performing awful so far 😀 but it could be within the scope of a drawdown looking at the backtests. It hurts to look at but will let them go on for a while longer otherwise there is no point in running a live “test”.

    • Gubben • 01/24/2019 #

      @PastaPesto just writing to update that this strategy still has 84% winning trades and an even higher gain/loss in demo, although IG force-shut all my demo account so there was no trading january-end of april. Really good since may. I have run it live a bit but not as much as in demo. Going to start it up live now again. Are you running it live?

    • PastaPesto • 01/24/2019 #

      Hi Gubben, Nice to hear that you are using this one and that its doing fine. Yes I have been running this live in three different versions since I posted. One version is the same as the one I posted and the other ones are filtered by EMA and by a big candle in the right direction. The filtered ones have a winrate of over 90% but they take positions only about once/month. All of them where developed at the same time but I only posted one. They have all been doing very well, although now I recently have turned them off as I have reduced my trading account. When running all three the potential total drawdown is quite high even with the smallest size so from now I will only run the original version, and as you said its been doing great the past three months :). My choice to run the original is also because I never make changes to any strategy after I test it on out of sample period, unless I will let it run on demo for a longer time. Thanks for your update Gubben, I hope this one keeps bringning us money 🙂

    • Gubben • 01/24/2019 #

      When an automatic trade goes against you this much as it has this week (given that your version is also in a losing position now) Do you usually let it run and trust the long term statistics or do you close manually? Always a tough decision for me since the whole position of me running automatic is that my discretionary track record is awful compared to bots.

    • PastaPesto • 01/24/2019 #

      I personally never do anything with my bots when their in position. I know some people do, but I never do that. I turn bots off when I think it has lost its edge over the long turn. I try to trust them, but I only run bots that have been doing well in out of sample period or in demo for some time. I actually posted a questions about turning off bots, and answers varies. For me I have a rule of turning bots off when they go lower than their worst drawdown in backtest or if the winrate goes down a lot. But thats me, Im not a pro ;). As mentioned before I turned all the bots for the above strategy off recently because I reduced my account size (the Drawdown for this strategy 2017-2020 is about 1000USD), but the original will be turned on again soon. This strategy is not in a drawdown though, take the code above and test it in BGPUSD 1H, it actually made a profit today and is not in a position. Please let me know if you have any other result.

    • Gubben • 01/24/2019 #

      It’s probably my version then. And it can take cumulative trades, so it took another win now, and the first one has actually recovered most of the loss. 🙂

  10. Gaby333 • 01/24/2019 #

    super this what I was looking for from Monday I will put this in real time to see what can do))Many thanks .

  11. dearno • 01/24/2019 #

    //eurusd STOCH RSI SMA Lose
    DEFPARAM CumulateOrders = true//
    tradestart = time > 090000
    Tradeend= time 10)//Stochastic upward momentum
    c3 = (RSIind > 30)//RSI upward momentum
    c5 = (average[6](STOCH)<50)// Stochastic not yet overbought

    //Conditions to enter short
    d1 = (SMA5 CROSSES UNDER SMA10)
    d2 = (STOCH – indicator4 <-10)//Stochastic downward momentum
    d3 = (RSIind 52)//Stochastic not yet oversold

    IF c1 AND c2 AND c3 AND c5 AND tradestart AND tradeend THEN
    BUY 1 CONTRACT AT MARKET
    Set target pprofit TP
    SET STOP pLOSS SL
    ENDIF

    IF d1 AND d2 AND d3 AND d5 AND tradestart AND tradeend THEN
    SELLshort 1 CONTRACT AT MARKET
    Set target pprofit TP
    SET STOP pLOSS SL
    ENDIF

  12. dearno • 01/24/2019 #

    i have test it from 22-okt-2015 to 24-jan-2020. look out for the MAE ferry high up to -$5249,00 on the 4 hours map

  13. snucke • 01/24/2019 #

    dearno it hasnt made any money from sep 2018 though

  14. AntoGH • 01/24/2019 #

    how did you backtest it ?

  15. PastaPesto • 01/24/2019 #

    @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years between 2014 and 2017. The rest is out of sample. I hope that answers your question.

    • Ridder • 01/24/2019 #

      @PastaPesto Do you still running this and how is the results?

      Thanks

avatar
Register or

Likes

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

+16 more likes

Related users ' posts
luxrun I have a problem that I don't understand: by changing the parameters of the CCI and RSI peri...
Iván Hi! Sorry... You have to check lines 9 to 13 and delete. //CCIper = 14 //RSIper = 14 //Ma...
luxrun grazie Ivàn!
Faisalx ChatGPT Hola Iván. Gracias por tu excelente trabajo. Te agradecería si pudieras echarle un...
Iván ok, perfecto! me pongo con ello
Iván
6 months ago
luiskohnen This indicator re-paint?
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Bernard13 (Je réécris mon commentaire -français- en français car certains mots ne correspondaient pas ...
Iván 1000 indicateurs !!! brutaux
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ¿podrías crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
Bateson
11 months ago
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
bousalahane merci pour le partage de cet l'indicateur, j'ai rajouté un autre indicateur pour faire une s...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
ThaNoizy Yes, you cannot use CFDs on IG for Weekly strats you need to use their Index Futures, they h...
KumoNoJuzza Thanks. I did not know IG had Futures. I am always missing an info or a detail. I used to th...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
Nicolas
2 years ago
3 RSI
3 RSI
2
Indicators
Violet Nicolas, you calculate iRSI, but don't use it. You show RSI in the returned values, which, a...
Nicolas Yes, that's an error. RSI instruction is set by default to 14 if you don't indicate it that'...
DELBERT Bonjour , Nicolas , je voudrais installer cet indicateur sur ma PRT , version 10.3 , mais je...
Nicolas En effet, il faut à minima une version 11. La 10.3 est tellement ancienne maintenant.. Je pe...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je fais un essai et je verrais . Salutations .
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year: https://www.prorealcode.com/documentation/co...
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands
supertiti https://zupimages.net/viewer.php?id=20/50/2e3v.jpg
volanirina Bonjour Je souhaite l'avoir sur l'indicateur MT4 si possible s'il vous plait. car je l'ai fa...
Nicolas ProRealCode est un site dédié à l'utilisation de la plateforme de trading ProRealTime: https...
Nicolas Merci d'ouvrir un sujet dans le forum des screeners en respectant les règles de publication ...
Pensera Bravo Nicolas ! Tu es en quelque sorte l’inventeur de Metascore…(oups je viens de lire jusqu...
Nicolas Dans un but d'investissement pure, et non spéculatif.
Nicolas Please open a topic in ProScreener forum with your query, I'll reply you there. Thank you.
manafull Thanks Nicolas, I post my question, along with the codes I am trying to convert from your in...
Nicolas I replied to your post here: https://www.prorealcode.com/topic/screener-for-rsi-and-linear-r...
superfalcio Hello, on the 2h timeframe I got a better performance in terms of win% and profit factor. I ...
Jiankyr82 Juan thanks for sharing, I had played with it few days, as also try to catch up on my pro-re...
Lespa212 Hi Samsampop, are you using this strategy? did you add a SL and an exit in case of a trend ...

Top