Tâche terminée
Spécifications
hi there.
i need someone who could code up a little EA for me.
the inputs i require are following :
stop loss - a numeric value
take profit - also a numeric value
lot size of a trade - as small as 0.01 lot size
also a a true or false tab, with the first trade set to a BUY position opening, which would look something like this:
first position - BUY ---> TRUE (if false, then a SELL position)
but alas this input is just an extra you can do for extra credits.
-------------------------------------------------------
the system is very simple - its sort of like a loop.
the EA opens a BUY (or SELL) position, sets a TP and a SL, a pr-defined lot size.
when it hits a TP, it should close the position, and simply re-open it again, the same direction, the same lot size, the same TP and SL.
but when it would hit a SL, the position should be closed, and a new position should be opened - respectively if it was a BUY trade, it should open a SELL trade, and vice versa.
after that its simply looping.
so as fallows -
STEP 1. --> BUY --> if TP, <-- REPEAT STEP 1. , if SL --- GO TO STEP 2.
STEP 2. --> SELL ---> if TP, <-- REPEAT STEP 2. if SL --- GO TO STEP 1.
if any questions, additions or anything - feel free to PM me.
also, i might be interested for future improvements, so it is in my best interests to make a good deal.
have a nice day, and thanks in advance.
Nauris