Custom shift time

 

Is-it possible to do the following :


For example, on a GBPUSD H1 chart, instead of 13:00 to 14:00 bars, I would like to have 13:02 to 14:02, etc...


How can I set up a shift like this ?


Thanks

 
grab the one minute values from the one minute chart and find the limits
int bar1302    = iBarShift(Symbol(), PERIOD_M1, Time.from);
int bar1402    = iBarShift(Symbol(), PERIOD_M1, Time.to);
int barHighest = Highest(  Symbol(), PERIOD_M1, MODE_HIGH, bar1302-bar1402+1, bar1402 );
double HH      = iHigh(    Symbol(), PERIOD_M1, barHighest);