Could someone point me in the right direction?

 

I'm trying to find out how you would show open orders on a chart. To show the point where and when they were opened. Can anyone point me in the right direction?

Tried several seaches, came up with nothing.

Thanks!

 
when you use default parameter for object in OrderSend() function, it automatically show a arrow for trade open and close.
 
caijs wrote >>
when you use default parameter for object in OrderSend() function, it automatically show a arrow for trade open and close.

Thanks for the reply. What about when your testing an EA and want to plot trades on a chart that are not actual trades?

 
Yellowbeard wrote >>

I'm trying to find out how you would show open orders on a chart. To show the point where and when they were opened. Can anyone point me in the right direction?

Tried several seaches, came up with nothing.

Thanks!

Use the parameter arrow_color in the OrderSend command.

 
Yellowbeard:

Thanks for the reply. What about when your testing an EA and want to plot trades on a chart that are not actual trades?

You just use the same EA (with the arrow colour parameter set in the OrderSend() function), but attach it to the chart when you're logged into a demo account.

Reason: