stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Need help with utility EA please .. again !
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4372
Page 1 of 1
Author:  jcs [ Mon Aug 03, 2015 4:54 am ]
Post subject:  Need help with utility EA please .. again !

In my usual hamfisted cut/paste & trial/error method I have got the EA to place a trade on the opening of each new bar and close trades in profit in the opposite direction

BUT .. I only want the close profit trades element to happen ONCE when the EA places the FIRST trade, with the EA then continuing to place further trades at each new bar opening until EA is removed ( leaving none profit trades in play )

I am sure it must be to do with getting a Sleep function to work on the close only part, and not the place trade part, but no matter how I configure it the EA continues to iether close all profit trades on every bar opening, or puts the whole EA to sleep after the first trade is placed

Can anyone show me how to achieve this please
Below is Buy tade example

Thanks
All times are UTC Page 1 of 1