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

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
Compile error: 'Buf_1' - some operator expected
before this word or at the end of the previous line you should ;
Is it before this word or at the end of the previous line should ;
Some obscure note appears: possible loss of data due to type conversion
Please tell me, what does it mean?
iVolume type long maximum value 9 223 372 036 854 775 807 is assigned to variable int maximum value 2 147 483 647. possible loss of data
iVolume type long maximum value 9 223 372 036 854 775 807 is assigned to variable int maximum value 2 147 483 647. Possible data loss
Thank you. I'll work on it. I didn't read anything about long type in the textbook for some reason.
Good afternoon.
Very much need your help. I am trying to describe the following logic for the indicator: If a tick is positive (bid-bid1), then the volume of this tick is added to the accumulated volume of all positive ticks for this bar. Volumes for negative ticks are added separately. A histogram is drawn where the accumulated volume of deals with positive ticks is set up and the volume of negative deals for each bar of the selected timeframe is set down.
This is how my code works:
However, it contains compilation errors:
'Buf_1' - some operator expected VolumeCounter.mq4
Something I don't understand at all.
Is this the kind of indicator you need?
I am training to write indicators. So far I am trying to write them without any trading benefit, just for the sake of writing them.
Gentlemen, do I understand correctly that iVolume returns the volume of trades made per tick?
https://docs.mql4.com/ru/series/ivolume
https://docs.mql4.com/ru/series/ivolume
That's what I read. I wanted to make sure I understood what was written correctly.
Gentlemen, do I understand correctly that iVolume returns the volume of trades made per tick?
That's what I read. I wanted to make sure I understood what was written correctly.
Gentlemen, do I understand correctly that iVolume returns the volume of trades made per tick?
read it again :-)"Returns the value of the tick volume of the bar (specified by the shift parameter) of the corresponding chart"