EA for Beginners, set and forget breakout, code, optimisation, testing part 7/8

Поділитися
Вставка
  • Опубліковано 29 чер 2023
  • Wrapping up the series with code for the optional move to break even on first close. Going back to basics for a beginners coding guide, I'm writing a complete breakout expert based on a published strategy including tips and optimisation.
    Part 7 of 8
    As I was uploading the video I realised that I have made the detection of the closed trade too complex. I got caught up in the details of the problem without seeing the big picture. I will release a part 8 with a different method of moving to break even, and it will be shorter.
    I also noticed that for the MQL4 compatibility I missed creating the function
    long PositionMagic() { return OrderMagicNumber(); }
    The strategy was published by TradePro and is a time range based breakout trading USDJPY with 3 stage take profit.
    As a beginners guide I'm taking things slowly so I have to break the tutorial down to multiple videos. This is the first part and there is a link to the playlist below. I will add further parts to the playlist in the coming days.
    The code is for Metatrader 5 but is almost the same for Metatrader 4 and I'll try to point out the differences as I go in the videos
    Looking for a broker? Support the channel by using this link. We receive a commission on your trades from the broker at no cost to you:
    orchardforex.com/live-account
    Links:
    Original Strategy Video: • 100 PIPS A DAY Highly ...
    Earlier range breakout: • Time Range Breakout Ex...
    Time entry formats: • Add this code to your ...
    Web Page: orchardforex.com/build-a-set-...
    Discord: orchardforex.com/discord/
    Playlist for this series: • Set and Forget Breakout
    #Breakout #Forex #metatrader #expert #finance
  • Розваги

КОМЕНТАРІ • 31

  • @OrchardForex
    @OrchardForex  Рік тому +5

    As I was uploading the video I realised that I have made the detection of the closed trade too complex. I got caught up in the details of the problem without seeing the big picture. I will release a part 8 with a different method of moving to break even, and it will be shorter.
    I also noticed that for the MQL4 compatibility I missed creating the function
    long PositionMagic() { return OrderMagicNumber(); }

  • @donbangert
    @donbangert Рік тому

    An amazing job! Thank you for your hard work in bringing us these coding tutorials.

  • @shakeel2473
    @shakeel2473 Рік тому

    Thanks for all your hard work Arthur. Its been really helpful and series has been great.

  • @totati
    @totati Рік тому

    I learned a lot from the series again, that is excellent! Thank you Arthur

  • @davidbanks9116
    @davidbanks9116 Рік тому

    Thank you very much for your time creating this series, I have learnt a lot from this one. Some things I shall have to watch over again to get my head round, but really good stuff.

  • @WasimZayed
    @WasimZayed Рік тому

    That was a lot of information to follow :) Thank you for your time and efforts.

  • @benparasa
    @benparasa Рік тому

    Thank you Sir for this series. It is really helpful. God bless.

  • @kimmitrader
    @kimmitrader Рік тому

    Subscribed and thank you so much. I'm currently trying to automate my strategy and this helps a ton! Thank you again!! ❤

    • @OrchardForex
      @OrchardForex  Рік тому

      Glad it was helpful! You might want to see part 8

  • @StefanFahlberg
    @StefanFahlberg Рік тому

    Thak You, great coding series ... Looking forward to the next one 🙂👍

  • @realecon4030
    @realecon4030 Рік тому +1

    Thanks for the series, it’s really helpful. I’m working on a strategy based on this one. I added the 50EMA and 200EMA as Long and Short confirmations and also I took away the take profit and added a trailing stop loss instead to capture larger moves. I don’t know how to code that into an EA yet, however it has worked well manually.

    • @jafxtradinginstitute6395
      @jafxtradinginstitute6395 Рік тому

      Add a HTF BB stops indicator. Set to H1 timeframe.
      Then entries on M15 TF when pullback to imbalance such as FVG .
      You want to enter on pullback/retest.
      Not breakouts

  • @m.ilkertemucin7239
    @m.ilkertemucin7239 11 місяців тому

    Thank you and congurulations for your all efforts keeeping MT4 and MT5 compatibilty of the code

  • @albertoveigavarela4045
    @albertoveigavarela4045 Рік тому

    Thank you, great job!!!!!

  • @anilvarma9893
    @anilvarma9893 Рік тому +1

    Thanks a lot, Arthur for yet another series combining most of the required steps from start to finish of an EA. Learned some new techniques from it.
    I have a question about Divergence. I could not find any of your tutorials covering this. I am trying to do one on MACD, but having challenges finding divergence at the wrong places, e.g. Bearish Classic Divergence in a strong uptrend. Somewhere I have read that divergences do not happen!!!.
    Request your advice, on if I should continue spending my time improvising the code, or I should stop as finding divergence algorithmically is not a good idea. Else if any tutorial from you would be a great help. Thanks again for all your hard work in teaching us the possible best practices.

  • @TheEcherriman
    @TheEcherriman Рік тому

    Thanks Arthur

  • @nunomsilvestre8372
    @nunomsilvestre8372 Рік тому

    great stuff!

  • @kaisarali5555
    @kaisarali5555 Рік тому

    Thank you for your amazing bot...😊

  • @ethanraiden
    @ethanraiden Рік тому

    thanks for this series, it's been great to get long form overview on building a strategy. I don't know if you're looking for suggestions on videos for using technical indicators, but I've been using a lot of your methods to create a strategy based on Dean Malones TDI (traders dynamic index) There is a pdf available online which outlines the entire strategy and it uses a lot of indicators, rsi, ma, stochastic levels and bollinger ranges. I'd love to see how you'd approach creating a strategy for something similar. Thank you again for your channel

  • @sureshjaguar
    @sureshjaguar Рік тому

    That's very nice. Kudos for the effort. From the day I watched your standard deviation channel technique, I have been a fan of that technique and is also giving me good results combining it with some other confirmations. Any idea of proceeding with that as an expert anytime in future.?

  • @mgb0791
    @mgb0791 Рік тому

    Great series and thanks for all the work. Running version 7, and to your point of including an indicator to the code, I noticed that in general the EA does very well in testing overall - but the largest losing trades are when a position is opened on a spike in market action that duly reverts, leading to stop out. Thinking RSI might help weed those trades out, any thoughts?

  • @ntokozoluthuli3393
    @ntokozoluthuli3393 Рік тому

    Your explanation of the concepts in MQL5 programming is simply amazing..
    I've learned so much from watching this series and coding alongside you than I did in the last few months.

    • @OrchardForex
      @OrchardForex  Рік тому

      Great to hear!

    • @niggazvogue2678
      @niggazvogue2678 6 місяців тому

      Sir quick question, can i get this code?

    • @niggazvogue2678
      @niggazvogue2678 6 місяців тому

      Ive been manually trading this strategy since a year now

    • @niggazvogue2678
      @niggazvogue2678 6 місяців тому

      But having a day job it is really difficult to follow up, so this ea would really help me alot