Thread: How to code?
View Single Post
  #1056 (permalink)  
Old 06-30-2008, 10:31 AM
IN10TION's Avatar
IN10TION IN10TION is online now
Senior Member
 
Join Date: Mar 2007
Posts: 657
Blog Entries: 1
IN10TION is on a distinguished road
:: iBarShift will find for you the bar that start on that day/hour... or also the end bar for that day:hour... (depends what timeframe or chart you want to start to find your high/low).

int iBarShift( string symbol, int timeframe, datetime time, bool exact=false)

next...

:: use those bar positions to find the results of iHighest and iLowest

int iHighest( string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)
int iLowest( string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)


:: results & done , don't use any loops in this!
__________________
NEW UPDate! 04 Nov. 09 IN10TION newsReader v09.98 Lite - the best forex news reader on your chart
Reply With Quote