fxDreema

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

    Help with finding the angle/rate of change of an indicator

    Questions & Answers
    2
    3
    477
    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.
    • R
      rmfletcher last edited by

      Hi,

      I would greatly appreciate some help in creating a solution for my query. I want to be able work out the rate of ascent or descent in an indicator to assist in getting a trade entry. For example the value of the macd main line for the previous bar is x and I want to know whether it has dropped by a certain percentage for the current bar.

      I think I know how to solve the problem but am unable to put it together.

      My proposed solution

      1. Add a formula block that that has macd of the previous candle on the left and multiply it by a value on the right
        0_1611778162408_08db3af8-78d4-4539-9389-78bc6fdd8239-image.png
      2. Store this in a variable
      3. Call this variable on the next bar to see with the macd is lower/higher than that amount

      This is as far as I got I am afraid. I am unable to put this together and could not find any topics that helped me.

      Kind Regards,

      Rob

      roar 1 Reply Last reply Reply Quote 1
      • roar
        roar @rmfletcher last edited by

        @rmfletcher here's a shortcut. I read this as "current MACD is below last MACD even when its inflated 5%"
        0_1611778845104_7e18f446-5112-411c-8495-66c084a89dfb-image.png

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 1
        • R
          rmfletcher last edited by

          Hi @roar ,

          This is brilliant. Thanks for the quick response. Simple but perfect solution.

          Kind Regards,

          Rob

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

          Online Users

          F
          M
          C

          7
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors