I would like an ea that would do the following
when ea is turned on if price is above user defined ema then go long
if price is below ema then go short
that is all.
I want it to open 1 trade at a time and the lot size will be calcuated by a risk percentage based on input of sl
so the inputs would be:
magic number (So ea could be placed on several pairs)
ema
tp
sl
use trail stop set true/false
trail stop
risk %
as soon as either tp or sl is reached another market order is immediately opened based on above criteria.
example: price above ema when ea is turned on. market order buy is opened, tp is hit and price still above ema. market order buy is opened, sl is hit but price still above ema so market or buy is opened, sl is hit but price is now below ema so market order sell is opened and so on and so forth
so the ea would be in a trade at all times but only 1 trade at a time per pair
should be pretty easy for you programmers huh???
thanks a ton guys
when ea is turned on if price is above user defined ema then go long
if price is below ema then go short
that is all.
I want it to open 1 trade at a time and the lot size will be calcuated by a risk percentage based on input of sl
so the inputs would be:
magic number (So ea could be placed on several pairs)
ema
tp
sl
use trail stop set true/false
trail stop
risk %
as soon as either tp or sl is reached another market order is immediately opened based on above criteria.
example: price above ema when ea is turned on. market order buy is opened, tp is hit and price still above ema. market order buy is opened, sl is hit but price still above ema so market or buy is opened, sl is hit but price is now below ema so market order sell is opened and so on and so forth
so the ea would be in a trade at all times but only 1 trade at a time per pair
should be pretty easy for you programmers huh???
thanks a ton guys