how to get EA complete calculation before placing order ?
-
I build EA to do the calculation of Currency Strength.
However, sometimes, the EA still place an order when processing calculation. How to get the EA works in order to place an order after completing the calculation ?

-
I found it out. Using Controlling block "AND" to finish the calculation before using result for trading.
-
oh, it can't solve the issue. Does anyone have any suggestions?
-
It seems to get the number of blocks in order to get the EA works one after another.
-
@migen No. You current disposityion is right. All calculations should be done before any trade is open. Is this the whole project or just a part of it?
-
@l-andorrà the issue is solved by arranging the numerical order of blocks correctly. Fxdreema admin told me but I forgot.
Do you know how to write the repeated formula in condition block:
Candle Close ID 0 > Candle Close ID 5, Candle Close ID 0 > Candle Close ID 15, Candle Close ID 0 > Candle Close ID 30,...
-
Wow... This is something new to me. Please explain to me the meaning of this setting. The candle id _0_0 & _1, like in the pic. Tq.

-
@biztet said in how to get EA complete calculation before placing order ?:
The candle id _0_0 & _1
The candle id _0_0 & _1 : it's Constants ( Inputs ), so I can input and test the settings of different conditions easily without changing the code.
Constants ( Inputs

_0_0 = 0
_1 = 1
Later I can change the numbers in the EA's Input settings in MT4 to test bigger periods. -
Owh... I forgot about the Constant color. Thanks @migen .