工作已完成
指定
Hello,
TO DO: Write an Indicator/EA that writes in a .csv that gives me a better overview about how my trades from my EA´s are executed in terms of slippage and spread
at the time the trade was processed.It can also be some lines of code that is inserted in every EA sperately (which I then will do by myself). It is not sufficient to read out the order history here!
The information that is written to the .csv:
for BUY/SELL- Trades:
ID ; OpenTime(Date_Time with seconds) ; Typ ; Volume ; Symbol ; OpenPrice ; SL; TP; Comment; Magic Number; MaxSlippage(OrderSend()); Slippage in pips; Execution Duration in ms; Spread;
the same if BUY/SELL is stopped out/closed manually/close by EA:
ID ; CloseTime(Date_Time with seconds) ; Typ ; Volume ; Symbol ; ClosePrice ; SL; TP; Comment; Magic Number; MaxSlippage(OrderClose()); Slippage in pips; Execution Duration in ms; Spread;
for BUYSTOP/SELLSTOP Orders:
the entry in the .csv is only made if the order was executed (best make a new .csv for this reason)
ID ; OpenTimeofORDER(Date_Time with seconds) ; Typ ; Volume ; Symbol ; ORDERPrice ; SL; TP; Comment; Magic Number; MaxSlippage(in Pending Order); so I Can see on which price my order was placed
ID ; OpenTimeofPOSITION(Date_Time with seconds) ; Typ ; Volume ; Symbol ; OpenPrice ; SL; TP; Comment; Magic Number; Slippage; Spread so I can see at which price my order was executed and what slippage I a had.
delivery with full source code.