19842008:
void OnTick()
{
//---
int TicketYear=TimeYear(TimeCurrent());
int TicketMonth=TimeMonth(TimeCurrent());
int TicketDay=TimeDay(TimeCurrent());
if(TicketYear==2013&&TicketMonth==7)
{
Print("My Year is",TicketYear);
}
PS: There is no print in log.
void OnTick() { //--- int TicketYear=TimeYear(TimeCurrent()); int TicketMonth=TimeMonth(TimeCurrent()); int TicketDay=TimeDay(TimeCurrent()); if(TicketYear==2013&&TicketMonth==7) { Print("My Year is",TicketYear); }Use SRC button....
Might be your broker is not living in juli 2013 ....
Because it is not July 2013
void OnTick() { //--- int TicketYear=TimeYear(TimeCurrent()); int TicketMonth=TimeMonth(TimeCurrent()); int TicketDay=TimeDay(TimeCurrent()); if(TicketYear==2013&&TicketMonth==7) { Print("My Year is",TicketYear); }
Change that to 2014.
Change ticket month too.
19842008:
Please don't double post. I have to remove your other topic.
void OnTick()
{
//---
int TicketYear=TimeYear(TimeCurrent());
int TicketMonth=TimeMonth(TimeCurrent());
int TicketDay=TimeDay(TimeCurrent());
if(TicketYear==2013&&TicketMonth==7)
{
Print("My Year is",TicketYear);
}
PS: There is no print in log.
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
}
PS: There is no print in log.