Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
I would like to do an EA on MT4 with a tradingview indicator.
I need several options :
- Manual trading (enable or disable) : allows manual trading without indicator signals
- SL (in pips) will only be valid for manual trading (I must be able to configure it on the chart before opening the trade)
- SL MINI : example if this number is 2 pips, if signal has a SL < 2 pips, EA put SL of 2 pips
- SL MAX : if signal has a SL greater than this number of pips = don’t open the trade
Example if SL MAX is 7 pips = EA doesn't open trade if SL > 7 pips. And if 0 = no limit
- BE (in pips or % of profit)
- Trailing stop (in pips or % of profit)
- Automatic calculation of lot size RISK per trade (in € or % compared to the SL according to the risk per trade)
For a big account, if lot size is >100 lots = divide with 2 trades of 50 lots (because lot size max per trade is 100 lots)
- Goal profit per trade (% or €)
- Daily goal profit (% or €) when daily goal reached = stop activity and wait the next day
- Daily MAX losses = stop activity for this day if reached. If 0 = no limit
- Trading hours
- Trading days
- Confirmation candle mode (enable or disable)
- Goal mode with losses (enable or disable) previous losses are added to the goal by trades. Once the trade reaches the goal covering losses it resets to 0 for the next trade
Example: Trade 1 = -1% Goal per trade = +1%
Trade 2 = -1% Goal mode with losses = enable
Trade 3 = close at + 3% because -1% (trade 1) + -1% (trade 2) + 1%
General :
SL must include the wicks and must be placed on the signal candle by adding the broker's spread
Goals must include broker fees
BE must take into account broker's fees and spread to close at 0 without negative