Tyrone Chan:
Dear all,
I am new and try to learn MQL5.
I create class of moving average. However, maValue is always 0.0.
May I ask why.
BTW, any good tutorial websites or video teach MQL5?
Because you are creating the handle every time.
Do it once and keep it around. Return the handle when you destroy the object.

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
Dear all,
I am new and try to learn MQL5.
I create class of moving average. However, maValue is always 0.0.
May I ask why.
BTW, any good tutorial websites or video teach MQL5?