??
カスタムインジケータの使用方法、または呼び出し方法については、非常に簡単です...「iCustom」を使用して、次のように関数を定義します。
double MyTrend=iCustom(NULL,0,"iTrend",0,0);
インジケータを "expert/indicator/"ディレクトリに置く。
他の値については、MetaEditor Libraryに全て記載されています。 その他、私の理解では、インジケータを関数のようにEAに組み込もうとするのは、時間とコンピュータ資源の 浪費です。別のファイルとして、それらは互いに競合することはありません。
if you are asking how to use, or call, a custom indicator, it's very simple... use the "iCustom" to define the function like this
place the indicator in the "expert/indicator/" directory... then there is no need to specify either the path, or use the .mq4 file extension.
everything you need to know about the other values is in the MetaEditor Library. Other than that, my understanding is that trying to build the indicator into your EA like a function is a waste of time and computer resources. you do not really gain anything, terminal handles indicators and EA's differently and the processing of the indicator would chew up availability of the EA to Terminal thread. As separate files they would not conflict with each other.
はい、可能です(記事「インジケータコードをExpert Advisorコードに転送 する」参照)。エキスパートアドバイザーとインジケータ関数の一般的な構造スキーム)。
おっしゃるとおりにしたのですが、コンパイルするとこのようなメッセージが出ます。
double MyTrend=iCustom(NULL,0,"iTrend",P1, P2, P3, P4, 0,0);
すべての入力パラメータを指定する必要がありますね。いくつあるんだ?
名前はiTrendなのかi_Trendなのか?
- 無料取引アプリ
- 8千を超えるシグナルをコピー
- 金融ニュースで金融マーケットを探索