記事についてのディスカッション

 

新しい記事「DoEasyライブラリの時系列(第54部): 抽象基本指標の子孫クラス」はパブリッシュされました:

本稿では、基本抽象指標の子孫オブジェクトのクラスの作成について検討しています。このようなオブジェクトは、指標EAを作成し、さまざまな指標と価格のデータ値統計を収集および取得する機能へのアクセスを備えています。また、プログラムで作成された各指標のプロパティとデータにアクセスできる指標オブジェクトコレクションを作成します。

テストには、変更を加えない前の記事の指標が必要です。
単に新しい\MQL5\Indicators\TestDoEasy\Part54\フォルダでTestDoEasyPart54.mq5として保存します。

指標をコンパイルして、チャート上で起動します。
操作ログには作成された指標Accelerator Oscillatorのすべてのパラメータその簡単な説明が表示されます。

Account 8550475: Artyom Trishkin (MetaQuotes Software Corp.) 10425.23 USD, 1:100, Hedge, Demo account MetaTrader 5
--- Initializing "DoEasy" library ---
Working with the current symbol only. Number of used symbols: 1
"EURUSD"
Working with the specified timeframe list:
"H4" "H1"
EURUSD symbol timeseries: 
- "EURUSD" H1 timeseries: Requested: 1000, Actually: 0, Created: 0, On the server: 0
- "EURUSD" H4 timeseries: Requested: 1000, Actually: 1000, Created: 1000, On the server: 6231
Time of library initializing: 00:00:00.156
 
============= Beginning of the parameter list: "Standard indicator" =============
Indicator status: Standard indicator
Indicator type: AC
Indicator timeframe: H4
Indicator handle: 10
Indicator group: Oscillator 
------
Empty value for plotting where nothing will be drawn: EMPTY_VALUE
------
Indicator symbol: EURUSD
Indicator name: "Accelerator Oscillator"
Indicator short name: "AC(EURUSD,H4)"
================== End of the parameter list: "Standard indicator" ==================
 
Standard indicator Accelerator Oscillator EURUSD H4
Buffer (P0/B0/C1): Histogram from zero line EURUSD H4
Buffer [P0/B2/C2]: Calculated buffer
"EURUSD" H1 timeseries created successfully:
- "EURUSD" H1 timeseries: Requested: 1000, Actually: 1000, Created: 1000, On the server: 6256

作者: Artyom Trishkin

 
こんにちは - ライブラリを使ってカスタム タイプのインジケータを作成する ことは可能ですか?
 
Dima Diall:
こんにちは - ライブラリを使ってカスタム タイプのインジケータを作成する ことは可能ですか?

もちろんです。

 
Artyom Trishkin:

ああ、もちろんだ。

例を見せていただけますか?

 
Dima Diall:

例を示していただけますか?

第40条以降
 
Artyom Trishkin:
第40条以降

なぜこんなに少ないのか?最初から始めなければならない。そうしないと誤解が生じるかもしれない。

 
Alexey Viktorov:

なぜそんなに少ないのか?最初から始めなければならない。そうしないと誤解が生じるかもしれない。

この人は図書館全体を徹底的に研究している。君と違ってね(笑)。

 
Artyom Trishkin:
記事40以降

誤解していたかもしれませんが、今のところ、DoEasyライブラリを使用して独自のインディケータを作成するつもりはありません。私が言いたかったのは、IND_CUSTOMタイプの既存のインディケータ、例えばIndicators/ZigZag.mq4や Indicators/Examples/ZigZag.mq5を ロードするインディケータ・オブジェクトを作成すること です

MQL5 Code Base: Indicators
MQL5 Code Base: Indicators
  • www.mql5.com
This indicator shows the amount of price movement within a certain time, compared to the actual price movement range. Good to detect consolidation areas, as well as new trends being formed If you can't watch your statistics and your game plan at all time, your emotions will take control and you will start taking ENTRIES such as revenge trade...
 
Dima Diall:

もしかしたら誤解していたかもしれませんが、今のところ、DoEasyライブラリ(記事40から)を使って独自のインディケータを書きたくはないのですが...。私が言いたかったのは、IND_CUSTOMタイプの既存のインジケータ、例えばIndicators/ZigZag.mq4や Indicators/Examples/ZigZag.mq5を ロードするインジケータ・オブジェクトを作成すること です

ロジャー。はい、次の記事(#56)に掲載します。