void SetIndexArrow(int index, int code)
Sets an arrow symbol for indicators line of the DRAW_ARROW type.
DRAW_ARROW 型のインディケータの線を矢印シンボルに設定します。
33〜255の範囲外の矢印コードは使用するこはできません。
Parameters:
パラメータ:
index - Line index. Must lie between 0 and 7.
ライン インデックス。0〜7の間である必要があります。
code - Symbol code from Wingdings font or Arrow constants.
Wingdings フォントあるいは矢印定数のシンボル コード。
Sample:
サンプル:
int init()
{
//---- 2 allocated indicator buffers
SetIndexBuffer(0,ExtUppperBuffer);
SetIndexBuffer(1,ExtLowerBuffer);
//---- drawing parameters setting
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,217);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,218);
//---- displaying in the DataWindow
SetIndexLabel(0,"Fractal Up");
SetIndexLabel(1,"Fractal Down");
//---- initialization done
return(0);
}
|