Condition
-
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 signaljust for example
moving average cross over
&
macdi 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
-
@cliff-0 is there any time difference between the 2 conditions? Or both happen at the same moment?
-
@roar both happen at the same time. two events need to match before it trades
-
@cliff-0 just connect the blocks in a row then

-
thank you very much
-
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.