カスタム テクニカルインディケータ(指標)


このコーナーでは、カスタム テクニカルインディケータ(指標)を紹介しています。
カスタムインディケータファイルは、掲示板に添付するか、このページの編集画面から添付できます。
画像は、掲示板に添付したURIを直接貼ってください。


   

参考になるサイト

カスタムテクニカル指標配布サイト

http://www.forexmt4.com/_MT4_Indicators/
http://www.forexmt4.com/_MT4_Experts/
http://www.forex-tsd.com/indicators-metatrader-4/2519-350-mt4-indicators-one-folder.html
https://www.mql5.com/en/code

ダウンロードした.mq4、ex4ファイルを下記の場所にコピーしてください。

・MT4を起動して、メニューバーのFile>Open Data Folder を選択 >MQL4>Indicators

一部業者が配布しているMT4と若干内部仕様の違いにより完全な互換性が取れていません。

InterbankFX社が配布しているMT4専用に開発されたテクニカル指標があります。

また一部のテクニカル指標において別途includeファイルやlibraryファイルを必要とするものがあります。
これらの大半はテンプレにあるフォーラムから入手出来ます。(完全無料)

カスタムインジケータ作成の参考になるサイト

公式リファレンス MQL4 Reference

ファイルについて

.ex4と.mq4のインストール方法

  • .ex4→C:\Program Files\MetaTrader 4\experts\indicators ディレクトリ にコピペでおk

最新のMT4では、
・MT4インストールディレクトリ>MQL4>Indicators
あるいは
・MT4を起動して、メニューバーのFile>Open Data Folder を選択>MQL4>Indicators
に変更されています。

  • .mq4はソースファイルなので、コンパイルをする必要がある。

(方法1)C:\Program Files\MetaTrader 4\experts\indicators に.mq4ファイルをコピー、
 →MetaTrader を起動すると、自動でコンパイルしてくれる。(.ex4ファイルが自動的に作成される)

最新のMT4では、
・MT4インストールディレクトリ>MQL4>Indicators
あるいは
・MT4を起動して、メニューバーのFile>Open Data Folder を選択>MQL4>Indicators
に変更されています。
 
(方法2)Tools > MetaQuotes Language Editor を開き、
File > Open でコンパイルしたい.mq4ファイルを開く。
んで、ツールバーのCompileをクリック

  • .ex4と.mq4の違い

.mq4をコンパイルしたものが.ex4ファイル。
.mq4だと、プログラムの中身が分かるので手直しが簡単。この形での配布を推奨。
中身を他人に知られたくない場合は.ex4で配布するといいかも。

カスタムインディケータとEAとの違い

Expert Advisor is a mechanical trading system (MTS) linked up to a certain chart. An Advisor starts to run with every incoming tick for a given symbol. The Advisor will not be launched for a new, tick if it is processing the previous one at this moment (i.e., the Advisor has not completed its operation yet). The Advisor can both inform you about a possibility to trade and trade at an account automatically sending orders directly to the trade server. Like most trading systems, the terminal supports testing strategies on history data with displaying trading in-and-out points in the chart.
Experts are stored in terminal_directory\experts.

Custom Indicator is a technical indicator written independently in addition to those already integrated into the client terminal. Like built-in indicators, they cannot trade automatically and are intended for implementing of analytical functions only.
Custom Indicators are stored in terminal_directory\experts\indicators.

投稿

 Heiken AshiH smoothed sw mtf.ex4 - シンバ タカシ (2009年07月10日 18時11分26秒)

サブプロで見られる平均足のインデケーターだそうですが、
indicatorsにコピーしましたが、画面上には、サブプロの枠は、確保されますが、平均足の表示がされません。
私の、設定・入力ミスかもしれませんが、わかりませんので教えてください、よろしくお願いします。

お名前: コメント:

 アリゲーター - テスト (2007年12月06日 22時46分39秒)

アリゲーター
http://bbs.fxtec.info/x/c-board/data/metatrader/file/Alligator.mq4

お名前: コメント: