Anybody has the code mt4 strategy tester uses to draw arrows and lines on trades?

 
I would like to include a similar type of object drawing on my charts for my EA so I can visually track when and where it opened and exited trades... anybody has or know where to find the code strategy tester is using?
 
You can use the code like you get from indicators, and I believe that the documentation has in it how to draw objects on the charts.
 

Just drag the trades from Account History onto the appropriate chart.

If you hold down the shift key as you do it, it will put them all on the chart together. 

 
honest_knave:

Just drag the trades from Account History onto the appropriate chart.

If you hold down the shift key as you do it, it will put them all on the chart together. 

nifty! thanks mate!
 
No problem
 
Anybody knows how to do that automatically in code??? 
 
ANDosc1704 #: Anybody knows how to do that automatically in code??? 

Look at my GUI/Trade Assistant EA Indicators: Money Manager Graphic Tool - Risk Management - Articles, Library comments - MQL5 programming forum - Page 8 #80 (2022.02.16).

Reason: