- iHighest(symbol, timeframe, mode, LENGTH, 0) it's length not shift.
- Also you can't get bar zero of any other pair in the tester.
- See Kolier Market Sessions Indicator

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. My first post and new to mql4. Basically I'm trying to find the session high since the open of the current session (whether Asian, London, New York). Seems easy enough. The only problem is I'm trying to find the values over a range of currencies (GBPUSD, GBPEUR, GBPCHF etc ...) each to be displayed in a separate window. High[] coupled with iHighest() works for the current chart:
double cur_session_high=High[iHighest(curr_symbol,0,MODE_HIGH,shift,0)];
where curr_symbol is the symbol under consiferation
shift = bar relative to the current bar
but I cannot seem to get the values for pairs outside of the current chart. Any help? Cheers
Hutch