Remember when one changed (time.I1,) remember when the other did (time.I2.)
datetime delta.min=mathAbs(time.I1 - time.I2)/60;
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
I want to compare 2 indicator values in an EA if they fall within X minutes of each other. As an example, comparing when a Schaff Trend Indicator line turns vertical with the move of another type of indicator if they are within x many minutes of each other.
How could this be accomplished?