工作已完成
指定
I want an EA that always trades. Can buy only, sell only, or buy and sell at the same time depending on my selection. It has 5 levels of grid settings. Each grid just contiues onto the next. Not a new grid each time, the settings to continue gridding changes. I have attached an excel file with examples which should be quite self explanatory.
INPUTS
Initial (first trade)
input double StartLot = 0.1; // Starting lot size
input double TakeProfit = 50; // Take profit in POINTS - This TP will be for all open positions irrespective of how many grids - based on ALL open positions AVERAGE COST
input double Max Spread = 50; // Max spread in POINTS for opening positions
Select option - BUY / SELL / BUY&SELL at the same time - I would like to either only open BUYS or SELLS or BOTH at the same time
Grids (subsequent trades)
input double Grid1_Multiplier = 2.0; // Lot multiplier for Grid 1
input double Grid1_Distance = 20; // Distance in POINTS to start multiplying for Grid 1
input int Grid1_MaxTrades = 5; // Max trades in Grid 1
input double Grid2_Multiplier = 2.5; // Lot multiplier for Grid 2
input double Grid2_Distance = 25; // Distance in POINTS to start multiplying for Grid 2
input int Grid2_MaxTrades = 5; // Max trades in Grid 2
input double Grid3_Multiplier = 3.0; // Lot multiplier for Grid 3
input double Grid3_Distance = 30; // Distance in POINTS to start multiplying for Grid 3
input int Grid3_MaxTrades = 5; // Max trades in Grid 3
input double Grid4_Multiplier = 3.5; // Lot multiplier for Grid 4
input double Grid4_Distance = 35; // Distance in POINTS to start multiplying for Grid 4
input int Grid4_MaxTrades = 5; // Max trades in Grid 4
input double Grid5_Multiplier = 4.0; // Lot multiplier for Grid 5
input double Grid5_Distance = 40; // Distance in POINTS to start multiplying for Grid 5
input int Grid5_MaxTrades = 5; // Max trades in Grid 5