Beginners Question. New comment Beekster 2019.05.11 17:16 Hi Guys, I'm trying to learn the basics in MQL5 coding, i'm trying to display the text "Hello" on the left side of my screen. This is the code i used: void OnTick() { // Say hello Comment ("Hello "); } When i load te EA, it doesn't display Hello on my screen. It only says hello when i start the strategy tester and select the EA. What im i doing wrong here? Thx in advance! Regards Beekster there are no trading operations EA problem - doesn`t trade void comment nicholish en 2019.05.11 17:19 #1 The market is closed and there are no ticks. If you want your code to work you can put it in the OnInit Beekster 2019.05.11 17:39 #2 Thx! It works. New comment
Hi Guys,
I'm trying to learn the basics in MQL5 coding, i'm trying to display the text "Hello" on the left side of my screen.
This is the code i used:
void OnTick()
{
// Say hello
Comment ("Hello ");
}
When i load te EA, it doesn't display Hello on my screen. It only says hello when i start the strategy tester and select the EA.
What im i doing wrong here?
Thx in advance!
Regards Beekster