Attachments forums

List of attachments posted on this forum.


All files on forums: 136748

Re: Timmy's Expert advisor service

TimmyHanke, Fri May 11, 2018 11:39 pm

Dune2000 wrote: Fri May 11, 2018 8:10 pm


Dear Sir!

Once again thank you for your efforts!

The current EA does the following:

-It opens PO's at Offset of certain pips say 10 pips and when One is triggered, the other one is deleted. (This is Fine)
-When 1st order hits SL, it opens Opposite order with same TP and SL settings as original. (This is not fine as If It get 4 orders in a row SL,then results will be -1-1-1-1+1=-3 Loss)

So because of above, I propose to split the EA into two EA's, EA Buy First and EA Sell First:

EA Buy First:

It starts by Placing a Buy Stop Pending order of Lots1 and SL1 and TP1 at a distance of Price Offset1
If Hit TP1, EA Closed
IF SL1 Hitted, the EA Sells Immediately Lots2 with SL2 and TP2
If Hit TP2, EA Closed
IF SL2 Hitted, the EA Buys Immediately Lots3 with SL3 and TP3
If Hit TP3, EA Closed
IF SL3 Hitted, the EA Sells Immediately Lots4 with SL4 and TP4
And So On.... Untill Lots10 hits SL10 where the EA will also Stop.

Opposite for EA Sell First.

Thank You In advance!
This should do the work , it goes through 10 stages as you wanted , if any of them takes profit it terminates , and the last step 10 it terminates no matter what happends , either loss or profit .

Made one ea that starts with Buy pending and one with Sell pending as you requested.
All files in topic