fxDreema

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

    Condition

    Questions & Answers
    3
    6
    1554
    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.
    • C
      cliff 0 last edited by

      This block allows you to write low level conditions. This block does simple IF - THEN - ELSE logic. You can write any condition that you would write between the brackets in a normal if () code in MQL4/MQL5. If the condition results to true, the block will pass.

      You can use these symbols
      && -

      Active when the condition results to true.
      The opposite, when the condition results to false.
      Example i want 2 conditions to be met before a buy signal

      just for example

      moving average cross over
      &
      macd

      i am totally new in trying how to get the 2nd indicator conditions to confirm the first, not usre if what i am saying makes sence

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

        @cliff-0 is there any time difference between the 2 conditions? Or both happen at the same moment?

        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

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

          @roar both happen at the same time. two events need to match before it trades

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

            @cliff-0 just connect the blocks in a row then
            0_1588612064236_86060b04-e62b-4173-8be2-e17cd71f38ae-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 0
            • C
              cliff 0 last edited by

              thank you very much

              1 Reply Last reply Reply Quote 0
              • U
                UNKNOWN101 last edited by

                Please assist, how to use the if conditions on fx dreema to meet my strategy,
                My strategy states to set both buy stop order and sell stop order at a certain time.
                Condition 1. If a Buy stop pending order has trigger then a sell stop order to delete immediately.
                Condition 2. For a buy stop that trigger has to close trade within 1 min if it has not reach Take profit/ stop loss.
                Condition 3. If both buy stop and sell stop has not trigger in one minute then delete pending orders.

                Also how do I make my robot to trade only on specific events.

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

                Online Users

                F
                Z
                S
                C
                P

                18
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors