Hello,
How do I see the magic numbers in strategy tester on MT4 please?
These appear in live accounts but not when I backtest. I do not have the option to add in the comment column.
Thanks,
Matthew
Hi Matthew,
By 'appear', do you mean that you want to see the magic number in the journal?
If thats the case, I would use the 'Print' function.
Hi Thiezo,
Thank you - Im not getting anywhere with the print function. If I right click, there are no contextual menus which have the option to print - is this what you mean?
Cheers,
Matthew
Hi Thiezo,
Thank you - Im not getting anywhere with the print function. If I right click, there are no contextual menus which have the option to print - is this what you mean?
Cheers,
Matthew
See my simple ordersend code with comments that appear in the journal during backtestng.
You must try and use as much comments as possible during backtesting so that you can trace the EA activities. I hope I understand your requirement.
SellTicket_C = OrderSend(Symbol(),OP_SELL,LotSizeC,Bid,Slippage,0,C_Sell,"SellOrderC",3421,0,OrangeRed); { if(SellTicket_C < 0) Print("SellTicket 3421 failed. Error Code =",GetLastError()); else Print("SellTicket 3421 Successful."); } //Notice that I use 'C' and Magicnumber '3421' which I can view in the journal.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
How do I see the magic numbers in strategy tester on MT4 please?
These appear in live accounts but not when I backtest. I do not have the option to add in the comment column.
Thanks,
Matthew