start() is not being called

 

Hi everybody, I'm puzzled. I think my EA's are not being called at every tick, so I wrote a test program:

int init()
  {
   Print("Ask is "+Ask);
   return;
  }
//+------------------------------------------------------------------+
int start()
  {
   Print("Ask is "+Ask);
   return;
  }

The init() Print() works properly, but after successful initialization, nothing happens.

I am definitely using an active chart. Can anybody tell me what I'm missing here?

Thank you,

Eirik

 
Your functions return ints . . . try return(0);
 
RaptorUK:
Your functions return ints . . . try return(0);

Tried it, no avail.
 

And you compiled it with success ??

/*this -->*/ Print("Ask is "+Ask); /*should be-->*/ Print("Ask is " , Ask);
/* or */ string sprnt="Ask is "+Ask; Print(sprnt);
 
rfb:

And you compiled it with success ??

/*this -->*/ Print("Ask is "+Ask); /*should be-->*/ Print("Ask is " , Ask);

doesn't matter
 
rfb:

And you compiled it with success ??


Yes, it compiled correctly.

The Print function is fine as it is, it prints properly at init().

It can't be the EA, it must be something with my terminal. New ticks are not calling start() for any EA I try to use.

Is this a simple settings problem? I'm still stuck :(

 
eirikarvey:

Hi everybody, I'm puzzled. I think my EA's are not being called at every tick, so I wrote a test program:

The init() Print() works properly, but after successful initialization, nothing happens.

I am definitely using an active chart. Can anybody tell me what I'm missing here?

Thank you,

Eirik


ok, figured it out. I just needed to enable ea's in the settings. ridiculous
Reason: