Multiple timeframes - page 2

 

lol my english.. what i mean is this its posible to change macd in the indicator window to look at daily chart while on intraday picture what i mean with the moving average is it posible to do the same ?

sailor

 

Im in litle doubt did u understand what i mean ( movingaverage) ?

Sailor

 

Roger thanks for the help..

Sailor

 
sailor:
Im in litle doubt did u understand what i mean ( movingaverage) ? Sailor

Yes I understand what you mean. But I could not make it.

I tried but could not. Sorry.

 
 

here is a possible way of doing it unless i am misunderstanding

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

//| PhatMultiMA

//| Lowphat © 2006

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

#property copyright "Lowphat © 2006"

#property link "https://www.forex-tsd.com/ "

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 Blue

#property indicator_color2 Yellow

extern double Chart1=15;

extern double Chart2=30;

extern double Per1=15;

extern double Per2=15;

double ExtMapBuffer1[];

double ExtMapBuffer2[];

int init()

{

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(1,ExtMapBuffer2);

return(0);

}

int deinit()

{

return(0);

}

int start()

{

int i,limit;

int counted_bars=IndicatorCounted();

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

for(i=0; i<limit; i++)

ExtMapBuffer1=iMA(NULL,Chart1,Per1,0,MODE_EMA,PRICE_CLOSE,i);

for(i=0; i<limit; i++)

ExtMapBuffer2=iMA(NULL,Chart2,Per2,0,MODE_EMA,PRICE_CLOSE,i);

return(0);

}

 

thanks.. looks like it is working

sailor

 

MTF Indicators

Hi all,

I just wanted to let you know that I started a new thread for Multi TimeFrame indicators. (Wasn't paying attention when I came to the site today. Probably could have just posted them here.) Anyway, I've posted 5 MTF indicators and you can use the code as a template to create any other MTF indicators you may want.

Multi-TimeFrame set 1 contains:

#MTF_MovingAverage.mq4

#MTF_PSar.mq4

#MTF_RSI.mq4

#MTF_MACD.mq4

#MTF_CCI.mq4

https://www.mql5.com/en/forum/173574

Keris

 

hey keris i did see great :-) i will join u

sailor

 

▼▼▼▼▼▼

╟╤╤╬═╧═╧╜

Reason: