int iHighest(string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)
 
Returns the shift of the maximum value over a specific number of periods depending on type.
特定のタイプに応じた期間数で、最大値の変移値を返します。
Parameters:
パラメータ:
| symbol | – | Symbol the data of which should be used to calculate indicator. NULL means the current symbol. インディケータの計算に使用するデータの通貨ペア名。NULL は、現在のシンボルを意味します。  |  | timeframe | – | 時間枠。時間枠の列挙値のいずれかを指定できます。0 は、現在のチャートの時間枠を意味します。  |  | type | – | 直列配列の識別子。直列配列識別子の列挙値のいずれかを指定できます。  |  | count | – | Number of periods (in direction from the start bar to the back one) on which the calculation is carried out. 計算が実行される(開始バーから過去への方向)期間の数  |  | start | – | Shift showing the bar, relative to the current bar, that the data should be taken from. 現在のバーを基準に、データを取得して変移値を表示するバー。  |  
  | 
 
Sample:
サンプル:
 |   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)];  | 
   0 people found this article useful 
 
  0 people found this article useful