Need help with utility EA please .. again !

Post Reply
jcs
Posts: 7
Joined: Fri May 18, 2012 1:25 pm

Need help with utility EA please .. again !

Post by jcs »

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
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”