|
2008-03-15 Sat 19:14
前置き #property indicator_...
↓ 指標バッファ double ... ↓ パラメータ extern ... ↓ 初期化関数 int init () {...} ↓ 指標関数処理 int start () {...} ↓ return (0) おしまい //////////////////// 前置き; #property indicator_chart_window // メインかサブどちらのウインドウに表示するか #property indicator_buffers 4 // 指標の数 #property indicator_color1 Blue // 0ではなく1から始まる、セミコロン不要、に注意 指標バッファ; int init()から始まり、 double BufBuy[]; パラメータ; extern int MA_Period = 10; // externで後で変更可能に 初期化関数; SetIndexBufer(0, BufBuy); // 指標バッファの割り当て SetIndexLabel(0, "BuySignal"); // 指標ラベルの設定 +と+で囲むとパラメータ表示 SetIndexStyle(2, DRAW_ARROW, STYLE_SOLID, 1, Blue); // 指標スタイルの設定 SetIndexArrow(2, 233); // 矢印アイコンの選択 指標処理関数; int start()から始まり、 指標の計算式、オーダー条件を書く→RANKING GFTのDealBook360で自動売買を検証しています。 口座開設はこちらから |
|
|
||
| 管理者だけに閲覧 | ||
|
|
||
