Mahan1994:
Hi everybody.
I want to compare moving average of two points to check if moving average chart is ascending or not.
But the result is not correct!
Could you please help me to solve it?
Thank you in advance.
What do you mean? What result are you getting?
How do you know that it is not correct?
Is the variable
SlopeDirectiona string?
Mahan1994: But the result is not correct!
“Doesn't work” is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — meaningless.
How To Ask Questions The Smart Way. 2004
When asking about code
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi everybody.
I want to compare moving average of two points to check if moving average chart is ascending or not.
But the result is not correct!
Could you please help me to solve it?
Thank you in advance.