No,
use High and iHighest to find the highest high of the required sequence of bars
Then compare with the high of the last bar.
GumRai:
No,
use High and iHighest to find the highest high of the required sequence of bars
Then compare with the high of the last bar.
Thank you. Is it possible to make such a function?
And in the sam way can we compare the last level of say an indicator like RSI to the past few levels? Or can we look back at say the highest high of the RSI in the last x number of bars?
Thank you.
![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
Is there a built in function that compares "a" bar to the last "x" number of bars? Example if high of last bar is higher than any high in bars 4 to 15.
Thank you.