fxDreema

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

    Triger an order when different between Values confirmed

    Questions & Answers
    2
    4
    952
    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.
    • J
      Jtex555 last edited by

      Good day traders

      a quick question please, I want to trigger an order buy or sell when the different of value between Main line and signal line is 5 in values apart within 3 candle stick. in Stoch indicator

      Thank you, and I appreciate you hard work.

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Jtex555 last edited by roar

        @Jtex555 said in Triger an order when different between Values confirmed:

        within 3 candle stick.

        What do you mean by this? The value grows by value 5 in time of 3 bars?
        this can be done with formula-block
        stoch mainline - stoch signal line

        like this
        https://fxdreema.com/shared/lNXkAMFle

        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 0
        • J
          Jtex555 last edited by

          Thanx for the reply I will check that.
          what I mean is Stoch value of mainline and signal are 5 values apart from each other, no matter where they fall between the 0 - 100
          example : stoch mainline is 70 and signal line is 65 than buy order can be active
          I believe the one u sent should work will test.

          1 Reply Last reply Reply Quote 0
          • roar
            roar last edited by roar

            The one i sent calculates the difference in 3 bars' time - if the gap between lines was, say, 12 then and now it is 17 -> order is triggered.

            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 0
            • 1 / 1
            • First post
              Last post

            Online Users

            J
            2
            C
            R
            Q
            N
            E
            S
            L
            N

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors