Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
I need an EA to trade BM&F Bovespa and forex index and dollar, on the Mt5 platform. I need a Grid-based EA
The Expert Advisor must have buttons centered at the top to close all orders, close only sales orders, only buy orders, only pending orders, close only orders with positive balances and to disable the grid.
Load the EA in any chart and time period
Trading Direction: It can be long, short or bidirectional.
A grid position will only be reset after reaching the take profit.
The EA must have the following customizable parameters:
INTITIAL TRADE SETTING |
||||||||||||||||||||||||
INITIAL SETTINGS / GRIDS SETTINGS |
||||||||||||||||||||||||
Active // paper |
||||||||||||||||||||||||
Opening time |
(HH: MM) |
|||||||||||||||||||||||
Closing Time |
(HH: MM) |
|||||||||||||||||||||||
Trader Direction |
Buy trader only (Buy) |
Sell trader only |
Both Side (Buy & Sell) |
|||||||||||||||||||||
Initial batch |
||||||||||||||||||||||||
Take Profit |
||||||||||||||||||||||||
Stop Loss |
||||||||||||||||||||||||
Grid Spacing |
||||||||||||||||||||||||
Reposition order after Take Profit |
true |
false |
||||||||||||||||||||||
PROFIT / LOSS MANAGEMENT |
||||||||||||||||||||||||
Sell position limit |
0 |
2000 |
||||||||||||||||||||||
Buy position limit |
0 |
2000 |
||||||||||||||||||||||
Daily Gain target (R $) |
R$ |
|||||||||||||||||||||||
Daily Loss Target (R $) |
R$ |
|||||||||||||||||||||||
Cost per Operation R $ |
R$ |
|||||||||||||||||||||||
POSITION INCREASE SECTION |
||||||||||||||||||||||||
Batch Increment |
True |
False |
||||||||||||||||||||||
Lot quantity to be Incremented |
01-02-03 |
|||||||||||||||||||||||
Nivés |
5-10-15-20 |
|||||||||||||||||||||||
Custom Lots (For Purchase Volume) (Brazilian market) |
[0-20] = 1, [21-60] = 2, [61-120] = 3, [121-200] = 4, [201-300] = 5, [301-420] = 6, [421 -560] = 7, [561-720] = 8, [721-900] = 9, [901-1100] = 10 |
|||||||||||||||||||||||
Custom Lots (For Purchase Volume) (Forex) |
[0-20] = 0.01, [21-60] = 0.02, [61-120] = 0.03, [121-200] = 0.04, [201-300] = 0.05, [301-420] = 0.06, [421-560] = 0.07, [561-720] = 0.08, [721-900] = 0.09, [901-1100] = 0.1 |
|||||||||||||||||||||||
Custom Lots (For Purchase Volume) (Brazilian market) |
[0-20] = 1, [21-60] = 2, [61-120] = 3, [121-200] = 4, [201-300] = 5, [301-420] = 6, [421 -560] = 7, [561-720] = 8, [721-900] = 9, [901-1100] = 10 |
|||||||||||||||||||||||
Custom Lots (For Purchase Volume) (Forex) |
[0-20] = 0.01, [21-60] = 0.02, [61-120] = 0.03, [121-200] = 0.04, [201-300] = 0.05, [301-420] = 0.06, [421-560] = 0.07, [561-720] = 0.08, [721-900] = 0.09, [901-1100] = 0.1 |