Where is the line and the arrow(s)?

 

When testing my EA in MetaTrader4 I not only get the arrow to indicate where my pending order was placed on the graph, as well as another arrow where the order was fulfilled and a dotted line plus another arrow where the trade was closed.

But in running the EA on a live demo account I only get the arrow showing where the pending order was placed - BUT no arrow where the order was fulfilled/activated and no dotted line as well as arrow where the order was closed.

WHY?

Has this to do with the particular broker I use or is there something in the code that's missing, or perhaps a parameter that must be set?

(The code uses the normal OrderSend() operator)

 
ernest02:

WHY?

The Strategy Tester does it for you . . . if you want it on Demo/Live you either have to code it yourself or you can drag the order from the order history to the Chart and you will get some of the info . .