Multi Timeframe Indicators - page 1023

 
 

This index can be modified into the MTF version please? thank you

Files:
 
cnsail:
This index can be modified into the MTF version please? thank you

cnsail

Easy trend is a renamed Hull moving average. Simply use any hull moving average that is already multi time frame (for example, you can use this one : https://www.mql5.com/en/forum/174961/page23 )

 

Can anyone change this in Indi MA Hull : t_ma.mq4

sorry for my english

stonehome

 

here the Code :

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

//| t_ma.mq4 |

//| |

//| |

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

#property copyright ""

#property link ""

#property indicator_chart_window

#property indicator_buffers 7

#property indicator_color1 MediumBlue

#property indicator_color2 Blue

#property indicator_color3 DodgerBlue

#property indicator_color4 DeepSkyBlue

#property indicator_color5 SkyBlue

#property indicator_color6 Aqua

#property indicator_color7 Aquamarine

#property indicator_width1 1

#property indicator_width2 1

#property indicator_width3 1

#property indicator_width4 1

#property indicator_width5 1

#property indicator_width6 1

#property indicator_width7 1//---- buffers

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 ad3 = 6;

extern int ad4 = 8;

extern int ad5 = 10;

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

//| Custom indicator initialization function |

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

int init()

{

//---- indicators

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);

}

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

//| Custom indicator deinitialization function |

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

int deinit()

{

//----

//----

return(0);

}

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

//| Custom indicator iteration function |

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

int start()

{

int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-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+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;

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

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

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

}

//----

return(0);

}

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

 
stonehome:
Can anyone change this in Indi MA Hull : t_ma.mq4

sorry for my english

stonehome

Hi stonehome,

what you want exactly with this indi.

t-ma.mq4

Files:
t-ma.mq4  4 kb
eurusdm1.png  45 kb
 

Hi Mladen ... please check this indicator.. the MTF function is not working... thank you

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

PS. I think my posts have been deleted.

 

hi mntiwana,

would like another MA; not the LWMA but the MA Hull (HMA)

if that would go which was really great

stonehome

 
stonehome:
hi mntiwana,

would like another MA; not the LWMA but the MA Hull (HMA)

if that would go which was really great

stonehome

Hi stonehome

as a alternative solution here is hull ribbon,a lot of adjustments you can play with,but if only that of your indicator is necessary then boss can better guide you.thanks.

Hull ribbon variation mtf nmc.mq4

 

No, no no, that is not the solution

I would like to t_ma in the HMA version

Please please help me

thank stonhome