Multi Timeframe Indicators - page 1187

 
Intrest1:
Hello. Please add MTF in the indicator
That indicator repaints
 
mwambaFX:

please mtf?

 

thankful  

Multi time frame version posted here : https://www.mql5.com/en/forum/179723/page83


 

can some one convert the following pine script code in to an mt4 indicator.. the indicator is a simple MTF ATR stop / volatilty stop indicator and it doesn't repaint, thanks in advance.. 

 

//@version=2

study(title='MTF Volatility Stop V0', shorttitle='mtfVS', overlay=true)

multiplier = input(title='True Range Multiplier', type=float, defval=1.618)

tf = input(title='Timeframe to pool ATR:', type=string, defval='D', confirm=false)

length = input(title='ATR Length', type=integer, defval=20, minval=1)

range = security(tickerid, tf, atr(length))


trend = na(trend[1]) ? +1 : close > vstop[1] ? +1 : close < vstop[1] ? -1 : trend[1]

max_close = change(trend) != 0 ? close : close >= max_close[1] ? close : max_close[1]

min_close = change(trend) != 0 ? close : close <= min_close[1] ? close : min_close[1]

vstop = na(vstop[1]) ? hl2 :

         change(trend) > 0 ? close - (multiplier * range) : 

         trend > 0 ? max(vstop[1], max_close - (multiplier * range)) :

         change(trend) < 0 ? close + (multiplier * range) : 

         trend < 0 ? min(vstop[1], min_close + (multiplier * range)) : 

         vstop[1]


plot(title='mtfVS', series=vstop, style=circles, color=close>=vstop?lime:red, transp=0, linewidth=2)

plot(title='mtfVS', series=vstop, style=line, color=black, transp=0, linewidth=1) 

 
I think you're asking for a lot with your coding request. You are probably better off learning to do it yourself
 

Multi time frame version of dds of momentum posted here : https://www.mql5.com/en/forum/177564/page19


 

JosOrange:
I think you're asking for a lot with your coding request. You are probably better off learning to do it yourself

 

I'm no good in scripting MT4.. so i'm asking help from the veterans of mt4.. 

 
buddingtrader:

can some one convert the following pine script code in to an mt4 indicator.. the indicator is a simple MTF ATR stop / volatilty stop indicator and it doesn't repaint, thanks in advance.. 

 

//@version=2

study(title='MTF Volatility Stop V0', shorttitle='mtfVS', overlay=true)

multiplier = input(title='True Range Multiplier', type=float, defval=1.618)

tf = input(title='Timeframe to pool ATR:', type=string, defval='D', confirm=false)

length = input(title='ATR Length', type=integer, defval=20, minval=1)

range = security(tickerid, tf, atr(length))


trend = na(trend[1]) ? +1 : close > vstop[1] ? +1 : close < vstop[1] ? -1 : trend[1]

max_close = change(trend) != 0 ? close : close >= max_close[1] ? close : max_close[1]

min_close = change(trend) != 0 ? close : close <= min_close[1] ? close : min_close[1]

vstop = na(vstop[1]) ? hl2 :

         change(trend) > 0 ? close - (multiplier * range) : 

         trend > 0 ? max(vstop[1], max_close - (multiplier * range)) :

         change(trend) < 0 ? close + (multiplier * range) : 

         trend < 0 ? min(vstop[1], min_close + (multiplier * range)) : 

         vstop[1]


plot(title='mtfVS', series=vstop, style=circles, color=close>=vstop?lime:red, transp=0, linewidth=2)

plot(title='mtfVS', series=vstop, style=line, color=black, transp=0, linewidth=1) 

Mladen Sir, I am aware of pine script but cannot code in  mt4.. PLease can you help..


this is how the script looks like. it does'nt repaint..

 
buddingtrader:

Mladen Sir, I am aware of pine script but cannot code in  mt4.. PLease can you help..


this is how the script looks like. it does'nt repaint..

You can use super trend instead of that (check here for start : https://www.mql5.com/en/forum/178757/page17 )
 
uzinterello:
Please help me add MTF and alert for this indicator

hi

this is very best indicator mr mladen add alert to this indicator . tnx

waiting

 
please add alert for this indicator