from /articles/83 by Alexey
compiling with 375, i get these warnings:
ArrayResize(arrTime,countVal-1); : cannot be used for static allocated array (345,4)
ArrayResize(bars_tf,countVal-1); : cannot be used for static allocated array (346,4)
for(int i=0;i<period;i++) result+=price[position+i]; : declaration of "i" hides global declaration at line 90 (502,12)
color _color=Crimson; : possible loss of data due to type conversion (538,16)
Yes, you are right. But it is just warning.
Source code was saved as is. When this article was created there were no warnings or errors. Since that time MQL5 compiler has got new functionality so you are getting warnings now.
note: i post here because when i select "articles" i'm automaticaly logged off, so i never can post comment under "articles"
Are you connecting to Internet via proxy server? It seems like that. Try to press Ctrl+F5 when you get disconnected.
Yes, you are right. But it is just warning.
Source code was saved as is. When this article was created there were no warnings or errors. Since that time MQL5 compiler has got new functionality so you are getting warnings now.
Are you connecting to Internet via proxy server? It seems like that. Try to press Ctrl+F5 when you get disconnected.
about disconnect:
i'm connected directly on internet, no proxy. Just made an other try:
- select and open "articles"
- logon
- get dropped into "forum"
- ctrl+F5 log me on again (but stay into "forum"
- select and open "articles", get logoff, ctrl+F5 log me on again, and now , selecting "go to discussion", i see both choices: "complain | reply"
This issue is new (relatively) as i've , in the past, posted comments directly, so something (outside my profile) have changed.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
from /articles/83 by Alexey
compiling with 375, i get these warnings:
ArrayResize(arrTime,countVal-1); : cannot be used for static allocated array (345,4)
ArrayResize(bars_tf,countVal-1); : cannot be used for static allocated array (346,4)
for(int i=0;i<period;i++) result+=price[position+i]; : declaration of "i" hides global declaration at line 90 (502,12)
color _color=Crimson; : possible loss of data due to type conversion (538,16)
note: i post here because when i select "articles" i'm automaticaly logged off, so i never can post comment under "articles"