多时间框架指标 - 页 1022 1...101510161017101810191020102110221023102410251026102710281029...1223 新评论 mntiwana 2015.10.23 17:22 #10211 stonehome: 嗨,mntiwana。希望有另一个MA;不是LWMA而是MA Hull(HMA)。 如果那会去,那真的很好 石家庄 你好,石家庄 作为一个替代的解决方案,这里是船体丝带,很多调整你可以玩,但如果只有你的指标是必要的,那么老板可以更好地指导你,谢谢。 船体色带变化MTF nmc.mq4 附加的文件: eurusdm1_1.png 33 kb hull_ribbon_variation_mtf_nmc.mq4 8 kb Rita Gradwohl 2015.10.23 20:10 #10212 不,不,不,这不是解决方案 我想在HMA版本中使用t_ma。 请帮助我 谢谢石家庄 Mladen Rakic 2015.10.23 20:57 #10213 stonehome: 这里的代码。//+------------------------------------------------------------------+ //| t_ma.mq4 || //| | //| | //+------------------------------------------------------------------+ #财产版权"" #property link "" #属性 indicator_chart_window #属性 indicator_buffers 7 #属性 indicator_color1 中蓝 #属性 indicator_color2 蓝色 #属性 indicator_color3 DodgerBlue #属性指示器_color4 DeepSkyBlue #属性指示器_color5 天蓝 #属性指示器_color6 水蓝 #属性指示器_color7 海蓝 #属性指示器宽度1 1 #属性指示器宽度2 1 #属性指示器_width3 1 #属性指示器_width4 1 #财产指示器宽度5 1 #属性指示器宽度6 1 #perty indicator_width7 1//---- buffers double ExtMapBuffer1[]。 double ExtMapBuffer2[];double ExtMapBuffer3[]。 double ExtMapBuffer4[];double ExtMapBuffer5[]。 双倍ExtMapBuffer6[];双倍ExtMapBuffer7[]。 extern int MA_Period=100; extern int ad1 = 2; 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(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_LINE); SetIndexBuffer(3,ExtMapBuffer4); SetIndexStyle(4,DRAW_LINE); SetIndexBuffer(4,ExtMapBuffer5); SetIndexStyle(5,DRAW_LINE); SetIndexBuffer(5,ExtMapBuffer6); SetIndexStyle(6,DRAW_LINE); SetIndexBuffer(6,ExtMapBuffer7)。 //---- return(0); } //+------------------------------------------------------------------+ //|自定义指标去初始化函数| //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //|自定义指标迭代函数| //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted()。 if(counted_bars<0) return(-1); 如果(counted_bars>0) counted_bars--。 int limit = MathMin(Bars-counted_bars,Bars-1); 如果(ad1<0) limit=MathMax(limit,-ad1); 如果(ad2<0)limit=MathMax(limit,-ad2); 如果(ad3<0)limit=MathMax(limit,-ad3); 如果(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; 如果(ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE; ExtMapBuffer5= ExtMapBuffer2; 如果(ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE; ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE; ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE; } //---- return(0); } //+------------------------------------------------------------------+ 石家庄 这不是船体的平均值。这是一些平滑的lwma,上面做了一些移位。 Rita Gradwohl 2015.10.24 08:22 #10214 Mladen,这是确定的。 但我只是想写,如果你能给我改变这个指标(t_ma)!!!!! 在一个HMA(赫尔移动平均线) - 版本 它或将不做 谢谢你的努力 石家庄 Michael Hand 2015.10.24 17:23 #10215 能否将其做成多时间框架? 附加的文件: blubbb_zlines_mz_rev5.mq4 9 kb Mladen Rakic 2015.10.24 21:48 #10216 更新的超级趋势volty like :SuperTrend volty like 2 nmc.mq4 最初它被张贴在这里 :https://www.mql5.com/en/forum/173574/page333 附加的文件: supertrend_volty_like_2_nmc.mq4 8 kb image_164387.gif 74 kb William Snyder 2015.10.24 22:09 #10217 stonehome: 这里的代码。//+------------------------------------------------------------------+ //| t_ma.mq4 || //| | //| | //+------------------------------------------------------------------+ #财产版权"" #property link "" #属性 indicator_chart_window #属性 indicator_buffers 7 #属性 indicator_color1 中蓝 #属性 indicator_color2 蓝色 #属性 indicator_color3 DodgerBlue #属性指示器_color4 DeepSkyBlue #属性指示器_color5 天蓝 #属性指示器_color6 水蓝 #属性指示器_color7 海蓝 #属性指示器宽度1 1 #属性指示器宽度2 1 #属性指示器_width3 1 #属性指示器_width4 1 #财产指示器宽度5 1 #属性指示器宽度6 1 #perty indicator_width7 1//---- buffers double ExtMapBuffer1[]。 double ExtMapBuffer2[];double ExtMapBuffer3[]。 double ExtMapBuffer4[];double ExtMapBuffer5[]。 双倍ExtMapBuffer6[];双倍ExtMapBuffer7[]。 extern int MA_Period=100; extern int ad1 = 2; 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(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_LINE); SetIndexBuffer(3,ExtMapBuffer4); SetIndexStyle(4,DRAW_LINE); SetIndexBuffer(4,ExtMapBuffer5); SetIndexStyle(5,DRAW_LINE); SetIndexBuffer(5,ExtMapBuffer6); SetIndexStyle(6,DRAW_LINE); SetIndexBuffer(6,ExtMapBuffer7)。 //---- return(0); } //+------------------------------------------------------------------+ //|自定义指标去初始化函数| //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //|自定义指标迭代函数| //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted()。 if(counted_bars<0) return(-1); 如果(counted_bars>0) counted_bars--。 int limit = MathMin(Bars-counted_bars,Bars-1); 如果(ad1<0) limit=MathMax(limit,-ad1); 如果(ad2<0)limit=MathMax(limit,-ad2); 如果(ad3<0)limit=MathMax(limit,-ad3); 如果(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; 如果(ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE; ExtMapBuffer5= ExtMapBuffer2; 如果(ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE; ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE; ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE; } //---- return(0); } //+------------------------------------------------------------------+ 石家庄,做了一个Hma版本。 t_hma.mq4 附加的文件: t_hma.mq4 4 kb t_hma.png 73 kb Rita Gradwohl 2015.10.25 08:57 #10218 精彩 非常感谢Mr.mrtools 杰克 Osiris 2015.10.25 16:00 #10219 mwambaFX: 嗨,Mladen ...请检查这个指标...MTF功能不工作...谢谢你rk-kcv8-wmtf-txt-zo-trend_arrows.mq4 PS.我想我的帖子已经被删除了。 嗨,Mrtools和Mladen能帮我解决这个问题吗?MTF功能是如此的错误。非常感谢 附加的文件: rk-kcv8-wmtf-txt-zo-trend_arrows.mq4 9 kb William Snyder 2015.10.25 16:44 #10220 mwambaFX: 嗨,Mladen ...请检查这个指标...MTF功能不工作...谢谢你rk-kcv8-wmtf-txt-zo-trend_arrows.mq4 PS.我想我的帖子已经被删除了。 MwambaFX,做了这个版本,mtf是工作的,对于文本,它的位置是由valueLoc控制。 keltner_channels_alerts__text_mtf.mq4 附加的文件: keltner_channels_alerts__text_mtf.mq4 11 kb kelt_values.png 37 kb 1...101510161017101810191020102110221023102410251026102710281029...1223 新评论 您错过了交易机会: 免费交易应用程序 8,000+信号可供复制 探索金融市场的经济新闻 注册 登录 拉丁字符(不带空格) 密码将被发送至该邮箱 发生错误 使用 Google 登录 您同意网站政策和使用条款 如果您没有帐号,请注册 可以使用cookies登录MQL5.com网站。 请在您的浏览器中启用必要的设置,否则您将无法登录。 忘记您的登录名/密码? 使用 Google 登录
嗨,mntiwana。
希望有另一个MA;不是LWMA而是MA Hull(HMA)。
如果那会去,那真的很好
石家庄
你好,石家庄
作为一个替代的解决方案,这里是船体丝带,很多调整你可以玩,但如果只有你的指标是必要的,那么老板可以更好地指导你,谢谢。
船体色带变化MTF nmc.mq4
不,不,不,这不是解决方案
我想在HMA版本中使用t_ma。
请帮助我
谢谢石家庄
这里的代码。
//+------------------------------------------------------------------+
//| t_ma.mq4 ||
//| |
//| |
//+------------------------------------------------------------------+
#财产版权""
#property link ""
#属性 indicator_chart_window
#属性 indicator_buffers 7
#属性 indicator_color1 中蓝
#属性 indicator_color2 蓝色
#属性 indicator_color3 DodgerBlue
#属性指示器_color4 DeepSkyBlue
#属性指示器_color5 天蓝
#属性指示器_color6 水蓝
#属性指示器_color7 海蓝
#属性指示器宽度1 1
#属性指示器宽度2 1
#属性指示器_width3 1
#属性指示器_width4 1
#财产指示器宽度5 1
#属性指示器宽度6 1
#perty indicator_width7 1//---- buffers
double ExtMapBuffer1[]。
double ExtMapBuffer2[];double ExtMapBuffer3[]。
double ExtMapBuffer4[];double ExtMapBuffer5[]。
双倍ExtMapBuffer6[];双倍ExtMapBuffer7[]。
extern int MA_Period=100;
extern int ad1 = 2;
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(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,ExtMapBuffer4);
SetIndexStyle(4,DRAW_LINE);
SetIndexBuffer(4,ExtMapBuffer5);
SetIndexStyle(5,DRAW_LINE);
SetIndexBuffer(5,ExtMapBuffer6);
SetIndexStyle(6,DRAW_LINE);
SetIndexBuffer(6,ExtMapBuffer7)。
//----
return(0);
}
//+------------------------------------------------------------------+
//|自定义指标去初始化函数|
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//|自定义指标迭代函数|
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted()。
if(counted_bars<0) return(-1);
如果(counted_bars>0) counted_bars--。
int limit = MathMin(Bars-counted_bars,Bars-1);
如果(ad1<0) limit=MathMax(limit,-ad1);
如果(ad2<0)limit=MathMax(limit,-ad2);
如果(ad3<0)limit=MathMax(limit,-ad3);
如果(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; 如果(ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE;
ExtMapBuffer5= ExtMapBuffer2; 如果(ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE;
ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE;
ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE;
}
//----
return(0);
}
//+------------------------------------------------------------------+石家庄
这不是船体的平均值。这是一些平滑的lwma,上面做了一些移位。
Mladen,这是确定的。
但我只是想写,如果你能给我改变这个指标(t_ma)!!!!!
在一个HMA(赫尔移动平均线) - 版本
它或将不做
谢谢你的努力
石家庄
能否将其做成多时间框架?
更新的超级趋势volty like :SuperTrend volty like 2 nmc.mq4
最初它被张贴在这里 :https://www.mql5.com/en/forum/173574/page333
这里的代码。
//+------------------------------------------------------------------+
//| t_ma.mq4 ||
//| |
//| |
//+------------------------------------------------------------------+
#财产版权""
#property link ""
#属性 indicator_chart_window
#属性 indicator_buffers 7
#属性 indicator_color1 中蓝
#属性 indicator_color2 蓝色
#属性 indicator_color3 DodgerBlue
#属性指示器_color4 DeepSkyBlue
#属性指示器_color5 天蓝
#属性指示器_color6 水蓝
#属性指示器_color7 海蓝
#属性指示器宽度1 1
#属性指示器宽度2 1
#属性指示器_width3 1
#属性指示器_width4 1
#财产指示器宽度5 1
#属性指示器宽度6 1
#perty indicator_width7 1//---- buffers
double ExtMapBuffer1[]。
double ExtMapBuffer2[];double ExtMapBuffer3[]。
double ExtMapBuffer4[];double ExtMapBuffer5[]。
双倍ExtMapBuffer6[];双倍ExtMapBuffer7[]。
extern int MA_Period=100;
extern int ad1 = 2;
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(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,ExtMapBuffer4);
SetIndexStyle(4,DRAW_LINE);
SetIndexBuffer(4,ExtMapBuffer5);
SetIndexStyle(5,DRAW_LINE);
SetIndexBuffer(5,ExtMapBuffer6);
SetIndexStyle(6,DRAW_LINE);
SetIndexBuffer(6,ExtMapBuffer7)。
//----
return(0);
}
//+------------------------------------------------------------------+
//|自定义指标去初始化函数|
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//|自定义指标迭代函数|
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted()。
if(counted_bars<0) return(-1);
如果(counted_bars>0) counted_bars--。
int limit = MathMin(Bars-counted_bars,Bars-1);
如果(ad1<0) limit=MathMax(limit,-ad1);
如果(ad2<0)limit=MathMax(limit,-ad2);
如果(ad3<0)limit=MathMax(limit,-ad3);
如果(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; 如果(ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE;
ExtMapBuffer5= ExtMapBuffer2; 如果(ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE;
ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE;
ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE;
}
//----
return(0);
}
//+------------------------------------------------------------------+石家庄,做了一个Hma版本。
t_hma.mq4
精彩
非常感谢Mr.mrtools
杰克
嗨,Mladen ...请检查这个指标...MTF功能不工作...谢谢你
rk-kcv8-wmtf-txt-zo-trend_arrows.mq4
PS.我想我的帖子已经被删除了。嗨,Mrtools和Mladen能帮我解决这个问题吗?MTF功能是如此的错误。非常感谢
嗨,Mladen ...请检查这个指标...MTF功能不工作...谢谢你
rk-kcv8-wmtf-txt-zo-trend_arrows.mq4
PS.我想我的帖子已经被删除了。MwambaFX,做了这个版本,mtf是工作的,对于文本,它的位置是由valueLoc控制。
keltner_channels_alerts__text_mtf.mq4