Download MetaTrader 5

Need a simple line of code for straddle ea

To add comments, please log in or register
JROBFX
9
JROBFX  

I want to put the following idea into the attached EA.

if

brokertime >= NSec -4seconds

place all new orders at the same price as the previous order.


Can somebody translate that into actual code for me? Any help is much appreciated.

Files:
Alain Verleyen
Moderator
33810
Alain Verleyen  
Please attach your code as an mql4 file. It's too long to just copy and paste.
To add comments, please log in or register