Multi Timeframe Indicators - page 56

sshhmmuueell
144
sshhmmuueell  
Pips4Profit
10
Pips4Profit  

To anyone that can possibly code one or more of these float indicators into a MTF one. I have been able to load a maximum of 3 on my chart(it doesn't like more than 2 at a time) and if I try to add more they start acting weird and changing inputs. But would like to be able to add more at the same time to be able to view different settings. Another thing that would help is to allow changing of the vertical red bar that goes thru price to different colors and thickness.

These are the best versions I have come across so far. Any and all help will be greatly appreciated.

Pips4Profit

Files:
floatdata.mq4  24 kb
00float2.mq4  9 kb
floatdata_2.mq4  13 kb
gfsound
18
gfsound  
Nybegynner
32
Nybegynner  

It's just a quicker way to find out if it repaints or not. As far as I have seen the color stays put after the bar closes, but can change back and forth several times during the period of a candle. When you switch timeframes, they can change color. This is because when you display eg the 1440 on the 60, it can be a red bar, but the 1440 end eg white. When you cange timeframe back and forth, then that wont show any more. Of course you have to wait for the candle to close to be sure that it stays put, and that make this look a lot better than it is when you slap eg 240 and 1440 on the 60 min and start scrolling back.

gfsound
18
gfsound  

Got it- now I see what it's doing. Like you still, still a useful indicator. Thanks for the explanation!

fxbs
3203
fxbs  

from Ishimoku thread

https://www.mql5.com/en/forum/172986/page14

MTF_Silver-channels

MTF_Silver-channelsH4

Silver-channels

Silver-channelsP[sw]

MTF_Ichimoku_v1ss

MTF_KijunTenkanS

MTF_KijunSenS

fxbs
3203
fxbs  

mtf supertrend Bar modified from FF 4tf HASBar; 4TFbar:current+3higherTF(autoswitch); top-bottom; M1-w/o lables

[Deleted]  

Excellent Indicator for MTF -- Anyone Help?

I believe this is a great indicator for MTF. Be aware to use only V3 of this indicator. The others out there (v1) don't refresh.

Would someone be so kind as to set up an MTF version of this and post it.

Thanks and great thread.

I'm having trouble uploading the file so I'll CnP the code.

---

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

//| T3_DPO-v3.mq4 |

//| ALPHA|

//| |

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

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 Green

#property indicator_color2 DarkViolet

//---- input parameters

extern int x_prd=0;

extern int t3_period=8;

extern double b=0.7;

extern int CountBars=400;

//---- buffers

double t3[];

double prise[];

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

//| Custom indicator initialization function |

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

int init()

{

//---- indicator line

IndicatorBuffers(2);

SetIndexBuffer(0,t3);

SetIndexBuffer(1,prise);

SetIndexStyle(0,DRAW_HISTOGRAM);

SetIndexStyle(1,DRAW_LINE);

//----

//----

return(0);

}

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

//| T3_DPO-v3 |

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

int start()

{

if (CountBars>Bars) CountBars=Bars;

SetIndexDrawBegin(0,Bars-CountBars+t3_period*3+1);

SetIndexDrawBegin(1,Bars-CountBars+t3_period*3+1);

int i,counted_bars=IndicatorCounted();

// if (CountBars>counted_bars) CountBars=counted_bars;

double e1,e2,e3,e4,e5,e6,c1,c2,c3,c4,n,w1,w2, b2,b3,dpo,Prise;

//----

if(Bars<=t3_period) return(0);

//---- initial zero

if(counted_bars<t3_period)

{

for(i=1;i<=t3_period;i++) prise=0.0;

for(i=1;i<=t3_period;i++) t3=0.0;

}

//----

b2=b*b;

b3=b2*b;

c1=-b3;

c2=(3*(b2+b3));

c3=-3*(2*b2+b+b3);

c4=(1+3*b+b3+3*b2);

n=t3_period;

if (n<1) n=1;

n = 1 + 0.5*(n-1);

w1 = 2 / (n + 1);

w2 = 1 - w1;

//----

i=CountBars-t3_period-1;

// if(counted_bars>=t3_period) i=Bars-counted_bars-1;

while(i>=0)

{

dpo=iMA(NULL,0,t3_period,0,MODE_SMA,PRICE_CLOSE,i);

e1 = w1*dpo + w2*e1;

e2 = w1*e1 + w2*e2;

e3 = w1*e2 + w2*e3;

e4 = w1*e3 + w2*e4;

e5 = w1*e4 + w2*e5;

e6 = w1*e5 + w2*e6;

t3 = c1*e6 + c2*e5 + c3*e4 + c4*e3;

prise=Close;

i--;

}

return(0);

}

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

saintmo
164
saintmo  

Lsma Ema

Can someone produce an MTF version of the LSMAEMA indicator?

If so thanks in advance.

stav01
161
stav01  

Mega Trend

Could anyone make a multi timeframe version of Mega Trend (to be presented in the same format as MTF HAS)?

Files: