you can do this :
double CandleOpen[6]={}; double CandleClose[6]={}; double CandleBody[6]={};
you are also dividing the prices by the point of the chart not the point of the symbol you are querrying prices for
same for the digits in the normalize function
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
My patience is seriously wearing thin right now.
Why am constantly getting this stupid, bloody warning despite everything being correctly initialised?
Why is it only focusing on the on those variables with the second iteration, i.e.
CandleBody[2]
CandleOpen[2]
CandleClose[2]
I am seriously going to lose my temper. If I see that warning one more time, I will pick this computer up, and I will throw it against the wall. Tired of battling with non-existent warnings all the time.
It is NOT a "possible use of uninitialized variable", it's a correctly initialised variable, so why isn't my terminal seeing it as that?
Sometimes, I just wonder why I bother. I just get IT shoved in my face constantly, constant non-existent issue because evidently have a great big neon sign with an arrow that points to my head, that is only invisible to me, and it says "Please, make this guys life as difficult as possible to the point where he has a nervous breakdown"
Why is the MQL4 interpreter failing to see that everything is bloody initialised?!