iHighest()
int iHighest( string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)
根据类型返回最大价值转移的一个具体数字。
参量:
symbol - 需应用到计算指标的商品数据 。NULL意味着当前商品。
timeframe - 期限。它可以是列举价值的任意期限。 0意味着当前图表的期限。
type - 系列数组的识别符。它可以是列举价值中任意系列数组的识别符。
count - 期间的数字。
start - 移动显示与当前相关的柱,采取数据。
例子:
double val;
// calculating the highest value on the 20 consequtive bars in the range
// from the 4th to the 23rd index inclusive on the current chart
val=High[iHighest(NULL,0,MODE_HIGH,20,4)];