Download MetaTrader 5
To add comments, please log in or register
Code Base will help you in mastering your theoretical skills. Come and learn!
Eukalibis
10
Eukalibis 2014.09.04 13:00 

Hi,

Does anybody knows if there is a feature in MT4 that show the trades made in live trading on the chart as in backtesting (blue line for long position between the buy and the close and red line for short position) ?

Or do I have to program it myself in the EA by creating for each trade an object ? 

 Thank you in advance.

whroeder1
13610
whroeder1 2014.09.04 13:31  
Eukalibis: Or do I have to program it myself in the EA by creating for each trade an object ?  
Three objects, two arrows and the dotted line.
Arrow #TICKET sell LOTS PAIR at OOP close at OCP   GoldenRod   code=3 ltri
Arrow #TICKET sell LOTS PAIR at OOP                Blue        code=1 ur
tline #TICKET OOP -> OCP                           Blue/Red dotted
Alain Verleyen
Moderator
28558
Alain Verleyen 2014.09.04 14:51  
Eukalibis:

Hi,

Does anybody knows if there is a feature in MT4 that show the trades made in live trading on the chart as in backtesting (blue line for long position between the buy and the close and red line for short position) ?

Or do I have to program it myself in the EA by creating for each trade an object ? 

 Thank you in advance.

 

For historic trades, you can drag and drop trades from "Account history" tab to your chart(s).

For open trade, I think the only way is with code.

Eukalibis
10
Eukalibis 2014.09.08 07:37  
Thanks
/
To add comments, please log in or register