Re: MT4 Indicator requests and ideas

3453
Greetings Mladen and Mr Tools,

Would it be possible to create an indicator that takes a screenshot whenever an alert is generated with the following user definable parameters
- the size of the screen shot (X and Y dimensions)
- the file extension (*.gif or *.png)
- the sub folder to store the screenshot in
- Optional (true / false) naming conventions for the screenshot to include
- the date and time of the alert
- the currency pair the alert appeared on
- the time frame of the chart
- the verbage of the alert as the last part of the name of the file.
- the name of the indicator that generated the alert (if that is possible).

I look forward to your response.
Thank you

Re: MT4 Indicator requests and ideas

3454
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
Added a zero cross color change, the alerts should work corresponding to whatever color change type you choose.
These users thanked the author mrtools for the post:
TEAMTRADER


Re: MT4 Indicator requests and ideas

3457
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 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.

Re: MT4 Indicator requests and ideas

3460
Hi guys!,
i have a small request, while browsing the tradingview platform i came across an indicator based on the force index, it`s called "BB Lathe 2" made it by @sclark39, but it`s written in Pine..i was wondering if is possible to re-write it for mt4, thanks guys i really appreciated..
here`s the pine source code:

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 )


and here`s how it should look like..




Who is online

Users browsing this forum: Abdi, Ahrefs [Bot], felixo, friend4you, kvak, Proximic [Bot], ssscary and 76 guests