fxDreema

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

    Condition block question

    Questions & Answers
    2
    6
    249
    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.
    • M
      Mr.Big last edited by

      Hi everyone, I would like to open a position if:
      the ATR of the last closed bar is greater than or equal to the average ATR of the last 20 bars multiplied by a numerical coefficient.

      How can I perform the multiplication? Do I need to create a "formula" step and reference it in the comparison within the condition block?

      Thank you for your support.

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

        You want candle 1 pip size to be =< ATR period 20?

        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 1
        • M
          Mr.Big last edited by

          I'll rephrase it more generically:

          Do it if a value is >= than (an external numeric variable) x (Indicator Value)

          That is the point not clear: (an external numeric variable) x (Indicator Value)

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

            Create a project doing this, add a shared link to look at: project screen - projects - create shard link - open in web page - copy and paste address bar here

            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
            • M
              Mr.Big last edited by

              Ok, the flow i would build to increase confidence with this tool is:

              1- No trades go on, if there is a trade skip and check again
              2- If StDev last closed bar is = or > of Avarage DevSt of the last 20 bars x [DevSt_Molt] go on itherwise stop
              i defined DevSt_Molt as external input.
              3- If RSI is in an iper area >30 or <70 go on otherwise stop
              4- Check the trend looking at the position of the fast MA to the slow MA
              5- Open at market Buy on short trend or open sell on a long trend
              6- Place a grid of other 7 orders

              https://fxdreema.com/shared/p5Jy1DOXd

              Thanks

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

                This looks like it would do as your list, be careful with a cross as these can happen when other blocks are false, I would put two above buy/sell just in case, I do not know if DevSt_Molt will work so you will have to test to find out. Let me know if something doesn't work

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

                Online Users

                C
                H

                7
                Online

                146.8k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors