Session Highs

 

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

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