MQL5 - How to Create a Break-Even Stop-Loss Function

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 15

  • @gunasekaran7137
    @gunasekaran7137 Месяц назад

    How to set sl and tp calculated by ea, for example place sl on recent swing low or last 7 candles low and tp is 2 or 3x * sl , not breakeven , going trail if 1r moved sl move 50% if 2 r moved sl move to BE , IF 3R Moves sl go to 1r , if 4r moves sl goto 2r and so on...

  • @Stisse12
    @Stisse12 9 месяцев назад

    So good. Just what I was lookning for. Thanks alot! Please make more tutorials!! :)

    • @autotradingplanet
      @autotradingplanet  9 месяцев назад

      Thank you! And there will be more videos in the future :)

    • @Stisse12
      @Stisse12 8 месяцев назад

      @@autotradingplanet Get info and modifying open orders have never been easy for me to understand, but now I start to get it after this one,.
      One thing I have on the wishlist is how to track and monitor News event, that would be nice!?! :)

  • @geertvanoosterwyck
    @geertvanoosterwyck Год назад

    Hello, i see that you just started with video's over MQL5, i'm very happy with that, i hope that we learn very good things of you. The Engulfing pattern detector is allready a very nice tool to use. I gonna use this piece of program as a function, thats very easy to change that ,right? Most of this people think that we program al many years, and, indeed, a was a programmer for many yers in my life, bud, MQL5 is completely new for me. I hope that you gonna help us to find the right way 🙂, hope that you gonne make still a lot of video's

  • @Machiuka
    @Machiuka Год назад

    Very useful tutorial. I notice that when the buy order is closed due to the take profit, a sell order is opened automatically. Why's that? I cannot figured out. Thank you for sharing!

  • @skyforexmarket
    @skyforexmarket Год назад

    Hello, please I just did exactly the same thing to did and added to my moving average bot but it's having errors.
    Please can you paste the code on the comment? Thank you so much

  • @mwaura.
    @mwaura. Год назад

    How about a video on how to create functions in general? Love the video. Great work.

    • @whathuh6965
      @whathuh6965 Год назад

      User-defined functions are the name. Check the Reference book on how to create them. That's the most the basic thing to create.

  • @geertvanoosterwyck
    @geertvanoosterwyck Год назад

    Hello, can you even make a Video over programming a SIMPLE trailing stop?

  • @weilun0099
    @weilun0099 Год назад

    ur return values parts u should show complete code, or it will be very confusing

  • @geertvanoosterwyck
    @geertvanoosterwyck Год назад

    Hello, can you please "remake" the video? Now it's almost impossible to make a good program,beceause, you go,from up to down,to the middle,back above,back down. I mean, it is almost impossible to write a working program, beceause we have no "complete" list of the program. I have many pieces double, then i miss something. I mean if you put a "complete list" of the program, we can build it. As you see, you have 7"likes" on this video, thats beceause it is TO difficult now. Hope, you put a complete listing of the program on the video, thank you

  • @whathuh6965
    @whathuh6965 9 месяцев назад

    This is a pure example of overcomplicating a simple necessity. I like your coding expertise, but I heavily disagree with this approach. Less code and less resources is always better if possible to increase the longevity of your EA.

    • @autotradingplanet
      @autotradingplanet  9 месяцев назад

      Thanks for your feedback. You are totally right, simpler is usually better. Maybe I'm going to update this video at some point in the future.

  • @growmybusinessonline5711
    @growmybusinessonline5711 11 месяцев назад

    Thank you great videos very useful