lmyyyks:
Hello guys,
I've made a printer ea to show the value of data of my indicator to see if they've got the correct number,
however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem..........
Can anyone help me correct the script? Thanks very much!
extern bool printer_active = 1;
datetime timeinminute;
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
return;
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
return;
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
if (printer_active == 1)
{
timeinminute = StrToTime(TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES));
Print("time: ",timeinminute);
Print(StrToTime(TimeToStr(TimeCurrent(),TIME_DATE)+" "+"09:00"));
}
//----
return(0);
//----
}
Hello guys,
I've made a printer ea to show the value of data of my indicator to see if they've got the correct number,
however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem..........
Can anyone help me correct the script? Thanks very much!
extern bool printer_active = 1;
datetime timeinminute;
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
return;
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
return;
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
if (printer_active == 1)
{
timeinminute = StrToTime(TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES));
Print("time: ",timeinminute);
Print(StrToTime(TimeToStr(TimeCurrent(),TIME_DATE)+" "+"09:00"));
}
//----
return(0);
//----
}
have you enabled your mt4 to allow expert advisors?
Oh, how stupid am I,
thank you very much jcadong5
thank you very much jcadong5
lmyyyks:
Hello guys,
I've made a printer ea to show the value of data of my indicator to see if they've got the correct number,
however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem..........
Can anyone help me correct the script? Thanks very much!
Hello guys,
I've made a printer ea to show the value of data of my indicator to see if they've got the correct number,
however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem..........
Can anyone help me correct the script? Thanks very much!
did you look in Expert tab in Terminal..
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
I've made a printer ea to show the value of data of my indicator to see if they've got the correct number,
however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem..........
Can anyone help me correct the script? Thanks very much!
extern bool printer_active = 1;
datetime timeinminute;
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
return;
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
return;
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
if (printer_active == 1)
{
timeinminute = StrToTime(TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES));
Print("time: ",timeinminute);
Print(StrToTime(TimeToStr(TimeCurrent(),TIME_DATE)+" "+"09:00"));
}
//----
return(0);
//----
}