MT4 Expert Code - RSI Moving Average Cross

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

КОМЕНТАРІ • 14

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

    Corrections:
    In the TradeOpenSLPriceTPRatio function the line to calculate tp should read
    if ( takeProfitRatio > 0 ) tp = price + ( ( price - stopLossPrice ) * takeProfitRatio );

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

    I love the way you code, thanks!

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

    cool video Sir .Is it possible to make a video on the zig zag indicator and to use it as a Reversal

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

    You'll get many errors if you try to construct the code as shown so you'll need to actually take time to define all the undefined variables and you might change some double's to const double etc. It will take work on your own but the video is a good way to learn how to organize an EA.

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

      I am able to download and compile this code with no errors at all. There are no undefined variables and adding const will prevent inadvertend modification of values but does not fix any code problems. More likely you have made some modifications that are in error. Do you have an example of an undefined variable?

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

      @@OrchardForex I said "if you try to construct the code as shown". Downloading a prepared version is another topic.

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

      @@MoFromTheHouseOfEl The code in the video, except for one correction which does not affect compiling, is identical to the download code. That's how I create the download code. If you have a problem then it is more likely with your own copy.

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

    Great video as always. The functions SwingHigh and SwingLow both return integer values, however the calling statements do not make use of these return values. What am I missing. Thank you.

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

      Sometimes I want the bar number for the high/low but in this case I only need the value of the high or low so I didn't bother to use the bar number.

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

    Very nice, thank you

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

    Hi
    Do you have any signals or any safe expert advisors to invest in ??

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

      I don't make performance promises on signals or experts