Hello everybody,
this is my very first message in this forum. Some weeks of trading. Some years of programming (pascal, basic and a little c).
But here, I attempt to attempt to .... But can not find no solution. So I tried with a tiny example from S. Kovalyov, Programming in Algorithmic Language , but this doesn't work also.
Here is a bit, modified code
-----------START-----------
//countiter.mq4
// The code should be used for eduional purpose only.
//--------------------------------------------------------------------
int init()
//--
Alert (Function init() triggered at beginning);// Alert
return; // Exit init()
//--
return(0);
int start() // Particular funct. Start()
int I, Count; // Declaring variables
for (I=1; ilt;=5; I ) // Prove for 5 ticks
Count=0; // Clearing counter
while(RefreshRates()==false) // Until...
//. . A brand new tick comes
Count = Count 1; // Iteration counter
Alert(Tick ,I,, loops ,Count); // Following each tick
return; // Exit beginning()
The only message that appears on the alert-window:
Function init() triggered at launch
and I anticipated something like
Tick 3 98622348
Tick 2 64534421
Tick 1 32343443
the chart is a simple EURUSD M1-chart without any other EA's or Indiors.
But it is a demo account.
Can anyone help me? This would be very kind of You