インディケータ: NonLagMA_v5

 

NonLagMA_v5:

これは、減衰正弦波が線形加重平均(LWMA)の式における係数の比率を定義することによって位相差の効果が軽減された移動です。

図1 NonLagMA_v5指標

作者: Nikolay Kositsin

 

nonLagMAの古いMQL4バージョンを更新し、それをMQL5に翻訳するのに1日費やした:"https://www.mql5.com/ja/code/7022"。

コピー・バッファについて質問があります:

if(CopyBuffer(RawImahandle, 0、0, to_copy, indiStruct[RAW_IMA_IDX].indiBuff)<0)

//int CopyBuffer( int indicator_handle, int buffer_num, int start_pos, int count, double buffer[] );

buffer_numパラメータは何を参照しているのでしょうか? 今日見たすべてのコード例では、それは常にゼロであり、そこに宛先バッファ番号(double buffer[]パラメータのバッファインデックス)を入れてもうまくいきません...。

--- double buffer[]は "コピー先の配列 "と記述されていますが、常に "コピー先の配列 "として使われているようです。

NonLagMA_v5
NonLagMA_v5
  • www.mql5.com
Simple dollar index indicator Special aspects: "holidays problem" is solved (problems arising due to absence of ticks). Mass_Index The Mass Index is intended for detection of trend turns based on changes in the bandwidth between the highest and the lowest prices. NonLagMA_v5_HTF The NonLagMA_v5 indicator with the timeframe selection...
ファイル:
nonLagMA.mq5  31 kb
NonLagMA.mq4  26 kb
 
LukeB:


二重投稿はしないでください。

あなたの他のトピックは削除 されました。

 
Keith Watford:

二重投稿はしないでください。

あなたの他のトピックは削除されました。

削除を押しても削除されなかったので、その投稿を編集してここを参照するようにした(編集はうまくいったようだ)。

それにしても、CopyBufferのゼロが何を意味するのか、答えがない...。