ホーム テクニカル指標 投稿

MT5用のタイムゾーンインジケーターの使い方

添付ファイル
2193.zip (3.99 KB, ダウンロード 0回)

著者: アレハンドロ・ガリンド

このインジケーターは、1日の間に4本の縦のカラフルなラインを描画します。ラインのパラメータは、入力パラメータで設定可能です。

//+----------------------------------------------+ 
//| インジケーターの入力パラメータ                   |
//+----------------------------------------------+ 
//--- 共通設定
input string LinesSirname="タイムゾーン";   // ライン名
input uint WeeklyTotal=4;                // 過去の週の数
input uint FutureTotal=1;                // 将来のラインの数
//--- 日足バーの設定
input color Line_Color_D=clrRed;         // 日ラインの色
input STYLE Line_Style_D=SOLID_;         // 日ラインのスタイル
input ENUM_WIDTH Line_Width_D=w_3;      // 日ラインの幅
input bool SetBackground_D=true;        // 日ラインの背景表示
//--- インターデイバーGMTの設定
input Hour GMT=H02; //
input color Line_Color_D1=clrDodgerBlue; // GMTラインの色
input STYLE Line_Style_D1=SOLID_;        // GMTラインのスタイル
input ENUM_WIDTH Line_Width_D1=w_2;      // GMTラインの幅
input bool SetBackground_D1=true;        // GMTラインの背景表示
//--- インターデイバーMSTの設定
input Hour MST=H06; //
input color Line_Color_D2=clrLime;       // MSTラインの色
input STYLE Line_Style_D2=SOLID_;        // MSTラインのスタイル
input ENUM_WIDTH Line_Width_D2=w_2;      // MSTラインの幅
input bool SetBackground_D2=true        // MSTラインの背景表示
//--- インターデイバーESTの設定
input Hour EST=H07; //
input color Line_Color_D3=clrDarkOrchid; // ESTラインの色
input STYLE Line_Style_D3=SOLID_;        // ESTラインのスタイル
input ENUM_WIDTH Line_Width_D3=w_2;      // ESTラインの幅
input bool SetBackground_D3=true;        // ESTラインの背景表示

このインジケーターは元々MQL4で書かれ、2007年9月28日にmql4.comのコードベースに初めて公開されました。

 タイムゾーンインジケーターの画像

図1. タイムゾーンインジケーター

関連記事

コメント (0)