You have no format flags. It looks like you just need to use Print()
Pronoe:
I tried but the software doesn't seem to know this function, first I don't get the auto completion when I type it, then when I type it, it doesn't change color like other functions and when I try to compile it I have an error : 'print' - function not defined
I tried but the software doesn't seem to know this function, first I don't get the auto completion when I type it, then when I type it, it doesn't change color like other functions and when I try to compile it I have an error : 'print' - function not defined
oooooh, didn't pay attention of the Capital p. thanks for your help guys it worked.
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
Hi guys,
I started fooling around with MetaEditor and I'm not able to do a simple printf. Here is my code
The code compile without error, I'm able to make it run in the Strategy Tester.
However when I'm looking at the journal this is all I can see over and over again.
2016.03.11 22:50:20.738 2016.03.10 19:28 test EURUSD,M5: slow=
2016.03.11 22:50:20.738 2016.03.10 19:28 test EURUSD,M5: fast=
2016.03.11 22:50:20.738 2016.03.10 19:28 test EURUSD,M5: slow=
2016.03.11 22:50:20.738 2016.03.10 19:28 test EURUSD,M5: fast=
2016.03.11 22:50:20.738 2016.03.10 19:28 test EURUSD,M5: slow=
2016.03.11 22:50:20.500 2016.03.10 17:44 test EURUSD,M5: fast=
2016.03.11 22:50:20.500 2016.03.10 17:44 test EURUSD,M5: slow=
What am I doing wrong?
Thanks in advance