Job finished
Specification
The Expert Advisor places a market order then ONE STOP and x numbers of LIMIT ORDERS with the specified step in account currency.
Orders have the take profit level set at the distance of grid step + x in account currency.
Once a position opened by EA becomes profitable of x$ (specified in the settings) close that position by opening a pending one to replace that closed position.eg: SELL 0.05 EURUSD opened @1.17600 and closed at 1.17500, the replacing pending one must be set at 1.17600 + 0.00050 : 1.17650... and so one...
No more that x numbers of markets orders at the same time in the terminal...
EA must work even the terminal is set OFF...
Set maximum number of trades; set maximum lot size...
INPUTS PARAMETERS:
Lots - use fixed lot size
EA_Comment - ANDRESS_SMART_EA
MAGIC - magic number, it is set for each currency pair by default
Max_Spread - maximum spread allowed to open an order according to BROKERS'S SPREAD FOR THAT CURRENCY
MaxLot : Maximum lot size.
TakeProfit - Take profit value of each order in account currency
GridTakeProfit - Take profit value for all grid in account currency
StopLoss - stoploss value of each order in account currency
Distance - the distance between the pending order in account currency not in points nor price
TrailStop - the trailing stop level of an existing order in account currency
Show_Info - turn on/off the info panel on the chart
DisplayPanel
Select direction in inputs parameters
ONLY SELL LIMIT
ONLY BUY LIMIT
ONLY SELL STOP
ONLY BUY STOP
Trail only positions opened by this EA. Don't manage other positions even in the same currency pair...
ProfitTrailing = trail when a certain profit level is reached in account currency.
TrailingStop = profit value, at which trailing enables breakeven.
UseSound = trailing sound.
UseSound = closed, opened...
EXTRA SETTINGS:
Display panel of currencies and FUTURES having positive SWAP in the terminal
All the orders opened by the EA must appear in a panel info where i can manage them...
Allow manual trading also...
Please find attached screenshot of some features i want to add in this EA,
Just like this but adding breakeven price for each basket,