Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
I need an EA showing a panel with 2 buttons BUY, and SELL for immediate order. The orders have to be placed according to the input parameters.
Parameters of the EA :
1) For the DYNAMIC Take Profit level value, which is placed at a Moving Average current value :
-MA value (by default = 13)
-Timeframe the MA is calculated on (by default = H4)
-Type/Method of MA (by default = Simple)
-MA applied to (by default = Median Price = HL/2)
The idea is to have fixed Stop Loss but DYNAMIC Take Profit. So if the timeframe is H4, at each candle opening on a H4 timeframe, as the value of the Moving Average has changed, the Take Profit level is changing accordingly, following the Moving Average new value. The Stop Loss does not change, unless a breakeven occurs (see Breakeven parameters) or if changed manually. Correct me if I am wrong but I assume the Moving Average applied to Median Price is calculated on closed bars.
2) For the Stop Loss :
- Ratio for placing the Stop Loss at (by default = 100) in %, considering the distance from entry price to Take Profit value (Moving Average value at the moment the order is placed). 100 means Risk/Reward =1/1. If 0 is entered then no stop loss is placed. Values greater than 100 should be allowed.
3) For Money/Management (size of order calculated)
- % of deposit (by default = 0)
- Fixed lot (by default 0.01 lots). If the previous parameter is 0, the “fixed lot parameter” is activated. If “fixed lot” parameter is 0, “% of deposit” parameter is activated. No order is open if both values are 0 or both are positive.
4) Move to breakeven parameters
- Move to breakeven when price has reached % of target (if set to 0, no breakeven is applied) (By default = 0)
- % of distance “entry to take profit” at which the Stop Loss is placed (By default = 5, but this is activated only if previous parameters is not 0).
Question : at what frame/interval will the price be checked ? Frequency of checking must not slower the platform.
5) Make the SL and TP hidden (best would be visible but hidden for broker). Stop Loss must remain hidden even if modified manually after the order has been placed with the EA’s button.
6) Make the EA able to work on 4 and 5 digit accounts.
Kind Regards