Is there a way to compare two arrays and get a double between 0 and 1 where 0 would be 90 degree difference between two arrays and 1 would be perfectly parallel? Something like this would be extremely useful for Bollinger Bands and other indicators with similar structure. Also is there a way to check flatness of an array? Couldn't find anything about this subject for some reason. Any help would be appreciated.
- Can anyone think of a solution for this?
- Questions from Beginners MQL5 MT5 MetaTrader 5
- Wishes for MQL5

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