Re: MT4 Indicator requests and ideas
3451Hello, can someone please add price option = HEIKIN ASHI OPEN in the attached indicator?
Added a zero cross color change, the alerts should work corresponding to whatever color change type you choose.TEAMTRADER wrote: Thu May 17, 2018 1:32 am The alerts on this indicator are not based on when the two ma's cross each other or cross level zero.
Could the alert be adapted to incorporate this facility?
It was specific to renko/range charts but appears to work well on timeframe charts too.
Thanks
TEAMTRADER
Would need the original source code, that is a decompiled version.Nurlan Karimov wrote: Thu May 17, 2018 7:05 am Mr Mladen or MrTools!
Be kind enough to add an alert to this indicator to reach a certain (setable) value
Added the prices and added the standard FS alerts and made the arrows a buffer now, so it should be a little less on the computer resources.shaileshm wrote: Wed May 16, 2018 3:11 am Hello mrtools and mladen,
is it possible to add additional price types to this indicator? Like you have with all other averages indicators? Right now it has only 4 type of prices to choose from.
Thanks and regards
Added the price options.camisa wrote: Wed May 16, 2018 8:32 pm Hello, can someone please add price option = HEIKIN ASHI OPEN in the attached indicator?
Code: Select all
//@version=3
// -------
// BB Lathe 2 by @sclark39
// Tip Jar ETH: 0xf8E0Ea503B5c833fD4546E7fa2c70EcE42A27C8A
// -------
study(shorttitle="BBLathe_FI", title="Bollinger Band Lathe w/ Elder's Force Index [sclark39]", overlay=false)
bollperiod = input(title="Bollinger Period", defval=20, minval=1)
signalperiod = input(title="BB Basis Signal Period", defval=9, minval=1)
fiperiod = input( title="Force Index EMA Period", defval=2, minval=1)
fisf = input( title="Force Index Scale Factor", defval = 0.5, minval=0.0 )
fi_asf_len = input( title="Force Index Auto-Scale Period", defval = 400, minval=1)
mult = input( title="BB STDEV", defval=2.0, minval=0.001, maxval=50)
multlow = input( title="BB STDEV Inner", defval=1.0, minval=0.001, maxval=50)
useemaforboll = input(title = 'Use EMA for BB?',defval=true, type=bool)
usemystdev = input(title = 'Use High Precision STDEV?',defval=true, type=bool)
invertshadow = input(title = 'Invert Shadow?',defval=false, type=bool)
fi_2col = input(title = '2-Color Force Index?',defval=false, type=bool)
src = input(close, title="Bollinger Source")
stdev2( mean, src, len ) => sqrt( sum( pow( src - mean, 2 ), len ) / ( len - 1 ) )
boll( src, len ) =>
sf = 0.0
sf := na( sf[1] ) ? src : sf[1]
src2 = src / sf // Increase precision, especially for low cryptocurrency
mean = useemaforboll ? ema( src2, len ) : sma( src2, len )
dev = usemystdev ? stdev2( mean, src2, len ) : stdev( src2, len )
[ mean * sf, dev * sf ]
[basis,dev] = boll( src, bollperiod )
hist = basis - ema(basis,signalperiod)
normprice = close - basis
forceindex = ( close - close[1] ) * volume / sma( volume, fi_asf_len ) * fisf
fi_ema = ema( forceindex, fiperiod )
fi_color = fi_2col ? fi_ema > 0 ? green : red : white
t2 = plot( 0 + dev * mult, title="Upper Band", transp = 100)
b2 = plot( 0 - dev * mult, title="Lower Band", transp = 100)
t1 = plot( 0 + dev * multlow, title="Upper Band Inner", transp = 100)
b1 = plot( 0 - dev * multlow, title="Lower Band Inner", transp = 100)
fill( t1, t2, title="Upper Band", transp = 70, color=gray )
fill( b1, b2, title="Lower Band", transp = 70, color=gray )
fill( t1, b1, title="Inner Band", transp = 95, color=gray )
plot( invertshadow ? hist : -hist, title="Basis Movement Shadow", style = area, color= hist > 0 ? green : red, transp=85 )
plot( normprice, title="Normalized Price", color = yellow, linewidth = 2 )
plot( fi_ema, title="Force Index", color=fi_color, style=histogram, linewidth= 1, transp = 0 )
plot( 0, title="Basis (Zero)", color = aqua )
Users browsing this forum: birpinar, ChatGPT [Bot], muhammadFarooq2k20 and 118 guests