TradingView
vosechu
Aug 29, 2017 8:59 PM

EMA Envelope Stepgain 

Crown / BitcoinBittrex

Description

This indicator shows a close approximation to what Gunbot would use in its GAIN and STEPGAIN strategies.

The middle two lines are the EMA(2h) and EMA(4h) lines. The inner two grey lines are BUYLVL2/SELLLVL2, the outer grey lines are just there to constrain the color bands. The green and red bands are indicators of where the candle has exceeded your setting and Gunbot would start considering buying or selling.

Release Notes

Switch to using bgcolor which feels a little nicer to me. Also, using `na` as the default background will prevent a hidden white overlay.

Release Notes

Set defaults that demonstrate the functionality better. Also, remove an extra indicator from the preview.

Part of a pack with:
EMA envelope: tradingview.com/script/nWpTN12k-EMA-Envelope/
Stepgain simulator: tradingview.com/script/gZLCg3Yq-EMA-Envelope-Stepgain/
Stepgain explorer: tradingview.com/script/sUnH5Dyu-EMA-Envelope-Stepgain-Explorer/
Bollinger bands explorer: tradingview.com/script/OZeGGswT-Bollinger-Bands-Explorer/
Comments
mrgr888n
Hey Maaannn))..
mrgr888n
is there a way to finetune this thing, make it more responsive? I mean it's awesome for big moves, like happened today, but there are less volatile days as well))
mrgr888n
why no indicators since 2017?)
lennyo
Very nice design! A question tho, any suggestion on how I could backtest this 'study'? Think it would require some modifications to do so?
More