マルチタイムフレーム・インディケーター - ページ 1022

 

いやいや、それは解決策ではありません

HMA版でt_maしたいです。

どうか私を助けてください

stonhomeに感謝します。

 
stonehome:
コードはこちら。

//+------------------------------------------------------------------+

//| t_ma.mq4

//| |

//+------------------------------------------------------------------+

#property コピーライト ""

#property リンク ""

#property indicator_chart_window インジケーターチャートウィンドウ

#property indicator_buffers 7 (インジケーターバッファー7)

#property indicator_color1 中ブルー

#property indicator_color2 ブルー

#property indicator_color3 ドジャーブルー

#property indicator_color4 ディープスカイブルー

#property indicator_color5 スカイブルー

#プロパティ indicator_color6 アクア

#property indicator_color7 アクアマリン

#プロパティ indicator_width1 1

#property indicator_width2 1

#プロパティ indicator_width3 1

#property indicator_width4 1 (プロパティインジケータ幅4)

#プロパティインジケータ_width5 1

#property indicator_width6 1 (プロパティインジケータ幅6)

#property indicator_width7 1//---- バッファ数

double ExtMapBuffer1[];

double ExtMapBuffer2[];double ExtMapBuffer3[];

double ExtMapBuffer4[];double ExtMapBuffer5[];

double ExtMapBuffer6[];double ExtMapBuffer7[];

extern int MA_Period=100;

extern int ad1 = 2;

extern int ad2 = 4; extern int ad2 = 4;

extern int ad3 = 6;

extern int ad4 = 8;

extern int ad5 = 10;

//+------------------------------------------------------------------+

//| カスタムインジケータ初期化関数

//+------------------------------------------------------------------+

int init()

{

//---- インジケータ

SetIndexStyle(0,DRAW_LINE)を設定します。

SetIndexBuffer(0,ExtMapBuffer1); //SetIndexStyle(0,DRAW_LINE)を設定します.

SetIndexStyle(1,DRAW_LINE)を設定します。

SetIndexBuffer(1,ExtMapBuffer2)を設定します。

SetIndexStyle(2,DRAW_LINE)を設定します。

SetIndexBuffer(2,ExtMapBuffer3).SetIndexStyle(2,DRAW_LINE)。

SetIndexStyle(3,DRAW_LINE)を設定します。

SetIndexBuffer(3,ExtMapBuffer4)を設定します。

SetIndexStyle(4,DRAW_LINE)を設定します。

SetIndexBuffer(4,ExtMapBuffer5).SetIndexStyle(4,DRAW_LINE)。

SetIndexStyle(5,DRAW_LINE)を設定します。

SetIndexBuffer(5,ExtMapBuffer6).SetIndexStyle(5,DRAW_LINE)。

SetIndexStyle(6,DRAW_LINE)を設定します。

SetIndexBuffer(6,ExtMapBuffer7)を設定します。

//----

return(0);

}

//+------------------------------------------------------------------+

//| カスタムインジケータ初期化関数

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

return(0);

}

//+------------------------------------------------------------------+

//| カスタムインジケーターイテレーション関数

//+------------------------------------------------------------------+

int start()

{

int counted_bars=IndicatorCounted();

if(counted_bars<0)リターン(-1)。

if(counted_bars>0) counted_bars--;

int limit = MathMin(Bars-counted_bars,Bars-1);

if (ad1<0) limit=MathMax(limit,-ad1);

if (ad2<0) limit=MathMax(limit,-ad2)。

if (ad3<0) limit=MathMax(limit,-ad3)。

if (ad4<0) limit=MathMax(limit,-ad4)。

if (ad5<0) limit=MathMax(limit,-ad5)。

for(int i=limit;i>=0;i--)

{

ExtMapBuffer1=iMA(NULL,0,MA_Period,0,MODE_LWMA,PRICE_OPEN,i).のようになります。

ExtMapBuffer2=(ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1)/6.0;

}

for( i=limit;i>=0;i--)

{

ExtMapBuffer3= ExtMapBuffer2; if (ExtMapBuffer3==0) ExtMapBuffer3=EMPTY_VALUE;

ExtMapBuffer4= ExtMapBuffer2; if (ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE.ExtMapBuffer4=EMPTY_VALUE;

ExtMapBuffer5= ExtMapBuffer2; if (ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE.ExtMapBuffer5=EMPTY_VALUE;

ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE。

ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE; ExtMapBuffer7=0。

}

//----

return(0);

//+------------------------------------------------------------------+

ストーンホーム

これは船体平均ではありません。これは、LWMAを多少平滑化し、その上でいくつかのシフトを行ったものです。

 

Mladenそれは大丈夫です。

しかし、私はちょうどあなたが私にこの指標(t_ma)を変更与えることができれば、書きたいと思った!!!!!!!!!!!!!!!!!!!!?

HMA(船体移動平均) - バージョンで

はそれを行うか、または行いません

あなたの努力のためにとにかくありがとう

ストーンホーム

 

マルチタイムフレームにしてもらえないでしょうか。

ファイル:
 

スーパートレンド volty like を更新しました。スーパートレンド ボルティライク2 nmc.mq4

元々はここに投稿されたものです :https://www.mql5.com/en/forum/173574/page333

ファイル:
 
stonehome:
コードはこちら。

//+------------------------------------------------------------------+

//| t_ma.mq4

//| |

//+------------------------------------------------------------------+

#property コピーライト ""

#property リンク ""

#property indicator_chart_window インジケーターチャートウィンドウ

#property indicator_buffers 7 (インジケーターバッファー7)

#property indicator_color1 中ブルー

#property indicator_color2 ブルー

#property indicator_color3 ドジャーブルー

#property indicator_color4 ディープスカイブルー

#property indicator_color5 スカイブルー

#プロパティ indicator_color6 アクア

#property indicator_color7 アクアマリン

#プロパティ indicator_width1 1

#property indicator_width2 1

#プロパティ indicator_width3 1

#property indicator_width4 1 (プロパティインジケータ幅4)

#プロパティインジケータ_width5 1

#property indicator_width6 1 (プロパティインジケータ幅6)

#property indicator_width7 1//---- バッファ数

double ExtMapBuffer1[];

double ExtMapBuffer2[];double ExtMapBuffer3[];

double ExtMapBuffer4[];double ExtMapBuffer5[];

double ExtMapBuffer6[];double ExtMapBuffer7[];

extern int MA_Period=100;

extern int ad1 = 2;

extern int ad2 = 4; extern int ad2 = 4;

extern int ad3 = 6;

extern int ad4 = 8;

extern int ad5 = 10;

//+------------------------------------------------------------------+

//| カスタムインジケータ初期化関数

//+------------------------------------------------------------------+

int init()

{

//---- インジケータ

SetIndexStyle(0,DRAW_LINE)を設定します。

SetIndexBuffer(0,ExtMapBuffer1); //SetIndexStyle(0,DRAW_LINE)を設定します.

SetIndexStyle(1,DRAW_LINE)を設定します。

SetIndexBuffer(1,ExtMapBuffer2)を設定します。

SetIndexStyle(2,DRAW_LINE)を設定します。

SetIndexBuffer(2,ExtMapBuffer3).SetIndexStyle(2,DRAW_LINE)。

SetIndexStyle(3,DRAW_LINE)を設定します。

SetIndexBuffer(3,ExtMapBuffer4)を設定します。

SetIndexStyle(4,DRAW_LINE)を設定します。

SetIndexBuffer(4,ExtMapBuffer5).SetIndexStyle(4,DRAW_LINE)。

SetIndexStyle(5,DRAW_LINE)を設定します。

SetIndexBuffer(5,ExtMapBuffer6).SetIndexStyle(5,DRAW_LINE)。

SetIndexStyle(6,DRAW_LINE)を設定します。

SetIndexBuffer(6,ExtMapBuffer7)を設定します。

//----

return(0);

}

//+------------------------------------------------------------------+

//| カスタムインジケータ初期化関数

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

return(0);

}

//+------------------------------------------------------------------+

//| カスタムインジケーターイテレーション関数

//+------------------------------------------------------------------+

int start()

{

int counted_bars=IndicatorCounted();

if(counted_bars<0)リターン(-1)。

if(counted_bars>0) counted_bars--;

int limit = MathMin(Bars-counted_bars,Bars-1);

if (ad1<0) limit=MathMax(limit,-ad1);

if (ad2<0) limit=MathMax(limit,-ad2)。

if (ad3<0) limit=MathMax(limit,-ad3)。

if (ad4<0) limit=MathMax(limit,-ad4)。

if (ad5<0) limit=MathMax(limit,-ad5)。

for(int i=limit;i>=0;i--)

{

ExtMapBuffer1=iMA(NULL,0,MA_Period,0,MODE_LWMA,PRICE_OPEN,i).のようになります。

ExtMapBuffer2=(ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1)/6.0;

}

for( i=limit;i>=0;i--)

{

ExtMapBuffer3= ExtMapBuffer2; if (ExtMapBuffer3==0) ExtMapBuffer3=EMPTY_VALUE;

ExtMapBuffer4= ExtMapBuffer2; if (ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE.ExtMapBuffer4=EMPTY_VALUE;

ExtMapBuffer5= ExtMapBuffer2; if (ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE.ExtMapBuffer5=EMPTY_VALUE;

ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE。

ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE; ExtMapBuffer7=0。

}

//----

return(0);

}

//+------------------------------------------------------------------+

ストーンホーム、Hma版を作りました。

t_hma.mq4

ファイル:
t_hma.mq4  4 kb
t_hma.png  73 kb
 

素晴らしい

mrtools氏に感謝します。

ジャック

 
mwambaFX:
こんにちはMladen ... このインディケータをチェックしてください... MTF機能が動作していません... ありがとうございます。

rk-kcv8-wmtf-txt-zo-trend_arrows.mq4

PS.私の投稿が削除されたようです。

こんにちはMrtoolsとMladenはこれで私を助けることができますか?MTF機能はとてもバグが多いのです。多くの感謝

 
mwambaFX:
こんにちは、Mladen ... このインディケータをチェックしてください... MTF機能が動作していません... ありがとうございます。

rk-kcv8-wmtf-txt-zo-trend_arrows.mq4

PS.私の投稿が削除されたようです。

MwambaFXは、このバージョンを作成し、mtfは動作しています、テキストについては、場所はvalueLocによって制御されます。

ケルトナー_チャンネル_アラート__テキスト_mtf.mq4

 
mrtools:

MwambaFXは、このバージョンを作り、mtfは動作しています、テキストの位置は、valueLocで制御されています。

ケルトナー_チャンネル_アラート__テキスト_mtf.mq4

神は私の兄弟を祝福しています。私はそれを深く意味します。

理由: