fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Read 45° angle on moving average

    Tutorials by Users
    3
    3
    916
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Luqmaan last edited by

      Hi I would like to build an ea that has a condition set that when the moving averages are tilted upward or downward then it only would execute the buy/sell trade. Can someone please guide me how I can go about that, using an example of a 10 day and 20 day moving average.

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @Luqmaan last edited by jstap

        @luqmaan You can do it like this, just change settings to how you prefer: This shows how to get the MA slope, make a start and ask hoe to resolve any other problems you have.

        https://fxdreema.com/shared/z6NoJQKUb

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • D
          Davidbike1 last edited by

          Thank you so much jstap, with the link you shared, you helped me figure out how to use the slope of the macd levels (histogram bars). You helped me figure out something I have been wanting to do for a while for a bot to recognize or place trade when the macd levels are increasingly positive or increasingly negative or decreasingly positive or decreasingly negative. Screenshot (103).png

          The blue arrow buys represent when the macd levels are increasing in the positive direction or increasingly toward the positive direction if the direction even though the macd direction is negative measuring the difference of macd levels from the 2 previous candles, previous candle and the current candle and the buy is placed right after the close of the current candle. Vice versa for red arrow sells placed when macd levels are increasingly in downward direction or decreasing in positive direction.
          https://fxdreema.com/shared/s069sHGkd

          David Craven

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          A
          A
          M
          A
          M
          T
          E
          E
          F
          E
          G
          M
          C
          L
          K
          E
          S

          31
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors