Create Trailing Stop Methods in MetaTrader 5: Step-by-Step Part 1

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

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

  • @Aiden-fk6xj
    @Aiden-fk6xj Год назад

    anybody for some reason not have the pip options and cant set a trailing stop loss? I have the option to set one, but no default options come up, and when i click custom the tab just goes away??

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

    enum_Ts_method is not availble in mt5

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

      That's why I define it myself in the video.

  • @michaelk.7553
    @michaelk.7553 Год назад +1

    Thanks for this great tutorial. Could you please add the following TS strategy:
    1. close x% of the open position at defined TP
    2. TP based on ATR multiplier
    3. move SL to open price of the position (break even)
    4. let the remaining part of the open position run with a trailing SL based on ATR multiplier
    I can code 1 - 3 but struggle with 4
    Would be very helpful. Thank you.

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

      This is easy and can be easily done, i mean item number 4. I can help you out between now and sunday or at least i could give it a try for you if you want.

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

      This is part 1. I have more coming with different techniques but you are describing more than just trailing stop. My preferred method for partial close is just to open 2 smaller trades and close one.

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

    Hello , have you done any video(s) on adding ATR stop loss and take profit levels to an indicator?
    I want to add ATR stop loss and take profit levels to Half-trend indicator and AMA moving average indicator when their line color trend change
    The signal bar close price Is entry level
    And the SL and TP base on ATR.
    I want notifications/alerts features.
    Option to show or hide(turn on/off the ATR stop loss and take profit levels. and which tp and sl levels to show .
    Option to adjust the SL and TP levels
    Options to have Upto 5 SL and 5 TP levels
    With this my SL and TP levels could use to set limit orders and my stop orders .

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

      Sounds like an ATR channel. ruclips.net/video/CeAbeMFyQU0/видео.html and ruclips.net/video/8kjB0loqFLY/видео.html

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

    Me again ! I keep getting invalid stops errors (4756). Do you think this is because the stop is too close to the current one, that the stop move is not far enough, or is it possibly that bid/ask have changed since requesting them. Damned annoying but I guess it's better to find these sorts of errors before going live.

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

      Usually stop is too close. Unlikely to be change too small because the change should always be at least 1 point. It would be invalid to set to the same sl that already exists but the code checks that the new sl is better before applying so too close is most likely.

  • @franciscojunior6841
    @franciscojunior6841 Год назад +1

    Me first.😊

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

      Yes you are!

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

      @@OrchardForex I love when you code Class instead "C++". Would you mind make a tutorial of coding using Class, the idea of parent, child,etc... Tutorial for beginners?

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

    I don't know how to give you thousand likes, but your videos are amazing... best wishes

  • @AMaz-zx9sj
    @AMaz-zx9sj Год назад

    Thanks! I found this very advanced for me to implement and I ended up using your older videos which was much simpler, surely I will come back to this to add more features to trailing stop loss

    • @OrchardForex
      @OrchardForex  Год назад +1

      This video is more comprehensive, and you can download the code.

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

    Love you boss Iam new in this career any piece of advice would be great
    Love you content ❤️
    I have a lot of errors
    And don't know from were to start just watching random videos from your chanell

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

      Debugging is a big topic and hard to know how to present it. If you get a lot of errors just fix the first and see if that fixes others, repeat.

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

      @@OrchardForex thank you sir

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

    very clean code, sir. thank you.

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

    Wonderful. Thank you. 😊

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

    Hello can you help me fix this errors on the Pivote Point Supertrend for matetrader 5
    'CurrentTrade' - parameter conversion not allowed Pivot Point Supertrend.mq5
    'OpenTrade' - cannot convert enum Pivot Point Supertrend.mq5
    this is referring back to 9 mounths ago on video you made about the Pivot Point Supertrend Robot or if you could send me the bot file i will really appreciate it

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

      This means you are passing ENUM_ORDER_TYPE where ENUM_POSITION_TYPE is required or opposite. Cast first with (ENUM_XXX_TYPE)variable

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

      @@OrchardForex is there I way I can get in contact with you directly