Comments

 
How can I Comment StopLoss and TakeProfit values on my chart using an EA?
 

Only the position (order) has a comment (unchangeable for the trader) but not SL & TP.

 

Thank you for your responce.

If I can not use it in my EA to display the StopLoss and TakeProfit on my chart can I maybe divise some sort of indicator that will show the StopLoss and TakeProfit on my chart?

 
Ian Macmillan #:

Thank you for your responce.

If I can not use it in my EA to display the StopLoss and TakeProfit on my chart can I maybe divise some sort of indicator that will show the StopLoss and TakeProfit on my chart?

You should:

1. Iterate all open orders/positions

2. read TP and SL values 

3. create object labels and texts on chart for display.

You may also create freelance orders for this task.

Reason: