指定
I need a very simple EA that send to market buy and sell orders at market price with increasing lots, according to two moving average (fast and slow).
I have to be able to choose which type of moving average and its period
I should be able to choose if to use both moving average, only one or none.
If the chek “insert orders only according to moving average” is checked the orders will be send to market only according the moving average (one or two dependings if I put the chek on one or both the moving average).
The order will be sent, at the first step, at market price with SL and TP to be fixed in the input settings with a lot L = fL
Each time the order reaches take profit, at the following steps, a new orders of the same type (sell if it was sell and buy if it was buy) with the same SL and TP will be send to market at market price, but this time the Lot L will be L=M *(fL+X*fL)
Where:
SL = a parameter of the settings for the Stop Loss
TP = a parameter of the settings for the Take Profit
M = a parameter of the setting (it can be also a negative floating point number )
fL = initial lot to be inputed in the setting parameters
X = is a parameter of the setting (it can be also a negative floating point number )
Each time the order reaches SL the next Lot L will be L=fL that is the initial lot
And everithings starts again, till L reaches MaxLValue that is an input parameter and the next orders will start with L=fL
If the chek “insert orders only according to moving average” is not checked this EA will have to insert in the same moment:
- a sell order at market price with SL and TP to be fixed in the input settings with a lot L
- a buy order at market price with SL and TP to be fixed in the input settings with a lot L
the Sell orders and the buy orders will follow each the same logic I explained above and will working separately each other, so there will be always two differents orders (one sell and one buy) opened in the same moment.
It is a very very easy EA and I will only accept developers for 30$ and 1 day.