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);
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-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