Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1629

 
Yriy_73 ,PERIOD_M5,1), " iVolumes=", iVolumes(Symbol(),PERIOD_M5,1));

It gives out 10 and 10 all the time. Please advise what to do.

Read the help because the request is not written correctly

double  iATR( 
1)   string       symbol,     // имя символа 
2)   int          timeframe,  // таймфрейм 
3)   int          period,     // период 
4)   int          shift       // сдвиг 
   );
you only have 3
 
MakarFX #:

A lot of mistakes were due to inattention

Now there are no mistakes.

There are still mistakes, but thanks anyway.

 
EVGENII SHELIPOV #:

Makar, there are still errors, but thanks anyway.

 
EVGENII SHELIPOV #:

Makar, there are still errors, but thanks anyway.

What language do you use, mql4 or mql5?
 
Alexey Viktorov #:
Is it no secret what language you write in, mql4 or mql5?
4
 
MakarFX ,PERIOD_M5,1), " iVolumes=", iVolumes(Symbol(),PERIOD_M5,1));

It gives out 10 and 10 all the time. Please tell me what to do.

 
Alexey Viktorov #:

Where is it written? If it ALWAYS gets 10, it looks very much like a handled indicator.


You asked the wrong person and I gave the wrong answer.))
 
MakarFX #:
You asked the wrong person and I gave the wrong answer)))

Oh¡¤¡¤¡¤¡¤

Maybe he will see, understand and answer...

 
Alexey Viktorov #:

Oh¡¤¡¤¡¤¡¤

Maybe he'll see, understand and answer...

You're right, it's 5, as iVolumes is not in 4
 
MakarFX #:
You're right, it's 5, as iVolumes is not in 4

How not?


Reason: