Trabajo finalizado
Tarea técnica
Hello,
i need an EA in MQl5 which do this:
- 5 grey buttons on the Screen and one Input field:
1 Button: Automatic Mode (Button changes the color to green that i know is was triggered)
Creation of a Limit order at BB lines (Upper Band = Sell; Lower band = Buy)
- Pending order price will be changed directly with the BB prices (not by closed candle [even if price just touches he bands])
- SL and TP can be changed with mouse after filling (order exectution)
- SL is set based on ATR indicator with a multiplier function (automatically)
- TP is the other side of the BB line (can be moved by mouse)
- If a Pending order has been filled, the EA goes automatically in Manual Mode (no further orders, SL and TP are not locked and can be changed with mouse)
- Breakeven: SL will moved to open price once after price hits the middle BB
2 Button: Manual Mode (Button changes the color to green that i know is was triggered, automatic mode will go off and back to grey)
- Automatic mode will change the color back to grey
- EA will create no orders
3 Button: Open (push)
- Opens a order based on Risk percentage and SL based on ATR (SL - TP ratio will be 1:1)
4 Button: Close (push)
- Close of all positions
5 Button: Partial Close (push)
- 25% of Position Size will be closed by push
#Input field: Risk Percentage
General MoneyManagement: Lot size based on Risk percentage of Capital from SL (SL as described on top with ATR and multiplier)
(If Capital is 1000USD, RR% = 1%, ATR is 10 and Multiplier 1 --> the SL is 10 and the Position Size will be as describe as much to loose 10USD)
Input Variables:
BB Period
BB Deviation
ATR Period
ATR Multiplier
Default Risk Percentage
Y Offset of Buttons
X Offset of Buttons