Simple breakout EA in MQL5 | Part 1

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 47

  • @trustfultrading
    @trustfultrading  3 місяці тому +7

    Have a great weekend ;)

    • @Tchiffer
      @Tchiffer 3 місяці тому

      Thank you 💯

    • @QuantM3chnic
      @QuantM3chnic 3 місяці тому

      Hi Toby thank you for the video. Could you perhaps comment on how this range breakout strategy performs on other symbols in your next video

    • @Robert_BLN
      @Robert_BLN 3 місяці тому

      I have already programmed the adjustment so that you can use the input button to select whether the order is executed as a stop or market order. I'm looking forward to your code 😀

  • @Chizen
    @Chizen 3 місяці тому +3

    Nice to have you back! I am a retiree, coded all my life, decide to do something with my time. I know every coder is different but out of so many MQL5 UA-cam coders, yours has by far the least convoluted train of thoughts. Keep it up.

  • @marine5395
    @marine5395 2 місяці тому

    Dear Toby, thank you for your entertaining videos! Nice improvements to the somewhat compact code of the original breakout expert advisor. Adding the end time to the pending orders has both an advantage and a disadvantage. The advantage is that the order has all the handling information in case the connection to a server fails. The disadvantage is that in the book of the market it can be seen in advance by, for example, the broker when the trade is going to be closed.

  • @geha9999
    @geha9999 Місяць тому +1

    Hi Toby, thanks for sharing this breakout model EA... the explanation is clear...
    If I may ask you, have you ever build an EA that measure the market structure?
    I need to have a price value of every pullback, to put it as a SL
    Thank you

    • @trustfultrading
      @trustfultrading  Місяць тому

      Feel free to implement this and test it.

    • @geha9999
      @geha9999 Місяць тому

      @@trustfultrading i want to but need your share on how to implement the structure reading... any addition for the code you had made? thanks before

  • @kaputnik100
    @kaputnik100 3 місяці тому

    Glad to see you back !

  • @ChibuEgesie-ho7rt
    @ChibuEgesie-ho7rt 3 місяці тому +1

    Thank you so much for your amazing tutorials Tobyyyy❤ We Love you.
    Pls, can you create a tutorial video on trendline EA that takes trades when price makes a 3rd touch on the trendline?

    • @trustfultrading
      @trustfultrading  3 місяці тому +1

      Thanks, it's actually not that easy to code. But I could look into this.

    • @Chizen
      @Chizen 3 місяці тому

      @@trustfultrading Actually, I would prefer an implementation of a percentage of Kelly's Criterion (20% maybe?) in Toby's trademark efficient code. It helps with more wins and lesser lost.

    • @ChibuEgesie-ho7rt
      @ChibuEgesie-ho7rt 3 місяці тому

      @@trustfultrading Thanks alot Sir.. we'll be anticipating you looking into it.
      It's also a privilege to get your reply Sir

  • @PrasenjitFx
    @PrasenjitFx 3 місяці тому +1

    Very nice After a long time.

  • @totati
    @totati 3 місяці тому

    Dear Tobias, thank you for your work again. Sometimes when the price is too close to the high/low of the range, it does not place the order. Is there any chance to modify it?

    • @trustfultrading
      @trustfultrading  3 місяці тому

      Yeah thats true, if this happens you could try again with e.g a 10% buffer of the range. But I prefer to just wait for the next range.

    • @qwertz14589
      @qwertz14589 3 місяці тому

      In that case we should fall back to market order. I have seen that those trades have very have win rate so it would be a shame to miss them

    • @peaksynergytrading
      @peaksynergytrading 3 місяці тому

      @@qwertz14589 Yea I agree, maybe set pending orders to 2-3 pips above/below the range?

    • @peaksynergytrading
      @peaksynergytrading 3 місяці тому

      @@trustfultrading Yea I agree, maybe set pending orders to 2-3 pips above/below the range?

  • @pabloschlebos
    @pabloschlebos 3 місяці тому +1

    Thank you for great videos.

  • @Tchiffer
    @Tchiffer 3 місяці тому +1

    Thank you so much

  • @thevoicewithin1544
    @thevoicewithin1544 Місяць тому

    Thanks 4 vid❤,am having trouble with the code, can you help me out

    • @trustfultrading
      @trustfultrading  Місяць тому

      You can join my discord server and post the code there.

  • @rick13486
    @rick13486 Місяць тому

    thanks so much

  • @dhavaljaiswal6590
    @dhavaljaiswal6590 3 місяці тому

    Bro can you add deviation to range high and low to avoid prices spikes and calculate second range on same to for eg Asian breakout and London breakout is Asian breakout sl hit then take re-entry on London brekout on same day

  • @bigrichlegend5163
    @bigrichlegend5163 3 місяці тому

    Can you make an indicator out of this EA?

    • @trustfultrading
      @trustfultrading  3 місяці тому

      What kind of indicator? Indicator are normally used to calculate stuff from price series.

    • @bigrichlegend5163
      @bigrichlegend5163 3 місяці тому

      @@trustfultrading My experience in using the EA is that you cannot just put it on the chart and expect it to draw the lines and begin trading - like any EA should do. It has to be running from the previous day otherwise it does not draw the required lines. If there was an indicator that draws those same lines as the EA currently does, then I am of the opinion that one can now trade at any time.

  • @simonepstv
    @simonepstv 3 місяці тому

    Is it possible to download mql5 file with full code? Maybe you should create an optin page and use the code of every video as a lead magnet ;)

    • @trustfultrading
      @trustfultrading  3 місяці тому +1

      I have some code on my discord server. But I always wait a few weeks to upload it.

  • @pietererasmus6287
    @pietererasmus6287 3 місяці тому

    After the changes in this video to pending orders , I get Invalid Stops on all the trades ! What could it be ?

    • @trustfultrading
      @trustfultrading  3 місяці тому

      Hmm thats hard to tell without the code. You could post the code on my discord.

    • @pietererasmus6287
      @pietererasmus6287 3 місяці тому

      @@trustfultrading Thanks I will do discord but will first check code myself .... even if I make SL =0 in the trade command trade.BuyStop(lots,range.high,_Symbol,0,tp,ORDER_TIME_SPECIFIED,range.close_time,"TimerangePending"); it still give Invalid stop ! I know it can happen when the spread maybe too big but that is for all possible trades ..... Thanks

  • @HamidRabia-e1h
    @HamidRabia-e1h 3 місяці тому

    I am geting error: CTrade::OrderOpen: Invalid expiration type
    what was wrong???

    • @trustfultrading
      @trustfultrading  3 місяці тому

      Can you post the line of code with the error?

  • @asteuertuner8778
    @asteuertuner8778 3 місяці тому

    Würdest du soooo lieb sein mir mit den Code zuzu schicken ….❤ Danke. 🙏🏻 😅

  • @thevirtualdudegamer9814
    @thevirtualdudegamer9814 2 місяці тому

    How can I but the code

  • @BeanHaf
    @BeanHaf 3 місяці тому

    hey bro can you make a video tutorial make EA that use ZigZag indicator with Rsi, like buy when zigzag indicator draw low with rsi below 30, sell when zz draw high and rsi above 70. Tks br

    • @trustfultrading
      @trustfultrading  3 місяці тому

      Never used the ZigZag indicator. Do you have some experience with it?

    • @BeanHaf
      @BeanHaf 3 місяці тому

      I just watched many vids and know that you can use many indicators such as Zigzag by using iCustom, but now I have another question that how I check last position. I wanna know it was a win or a loss position so that I can change the lot size in next position.