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, I just made some EA with simple function, but I have a problem.
The settings of my EA is when 2 EMA crossed the numbers within the DX variable will change.
For example
Dx = 10
If fast EMA crossing up Dx += 1 that mean Dx = 11
If fast EMA crossing Down Dx -=1 that mean Dx = 9
But, when EMA crossing up or down the number was changed for few second and changed back to 10. I don't want that to happen. Can I make the variable constant?