ernest02:
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 . .
WHY?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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)