xSilas

Godmode Oscillator, fresh bread generator, free to use!

Greetings Mates,

!!! If you want to use this tool for free you have to to following steps:

1) say thanks to LEGION who coded the first version.
2) say thanks to LAZYBEAR cause we ripped some code snippets from him.
3) say thanks to Ni6HTH4wK who coded the latest version.
4) say thanks to xSilas who gave the idea.

5) I know i said its a FREE Tool and you dont need to donate me cause i have Godmode :), but lets have a litte thought on all the people that are a bit poorer than us. It would be really great if we get some DOLLARS for a great charity action for children.

6) Feel free to spend some Bitcoins to this Address: 1BNjs1Prsux8YQawVWYfiYoxzoKzfReckX
(i start and going to spend 1 BTC ) (! the spended amount is revealed at the end!)

7) If you know said thankyou to everybody and may spend some dollars we can go on with Godmode trading.

8) Enjoy the Tool, merry Xmas and cheers for another great volatile bitcoin year :).
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
// Tradingview.com
// @author LazyBear, xSilas, Ni6HTH4wK
// Drop a line if you use or modify this code.
study(title="Godmode3.1")
n1 = input(9, "Channel Length")
n2 = input(26, "Average Length")
n3 = input(13, "Short length")
multi = input(type=bool, defval=false, title="Multi-exchange?")
src0 = hlc3 

src1 = security("BITFINEX:BTCUSD", period, src0), src2 = security("BTCE:BTCUSD", period, src0)
src3 = security("OKCOIN:BTCUSD", period, src0), src4 = security("HUOBI:BTCCNY", period, src0)

tci(src) => ema((src - ema(src, n1)) / (0.025 * ema(abs(src - ema(src, n1)), n1)), n2)+50
mf(src) => rsi(sum(volume * (change(src) <= 0 ? 0 : src), n3), sum(volume * (change(src) >= 0 ? 0 : src), n3))
willy(src) => 60 * (src - highest(src, n2)) / (highest(src, n2) - lowest(src, n2)) + 80
csi(src) => avg(rsi(src, n3),tsi(src0,n1,n2)*50+50)

godmode(src) => avg(tci(src),csi(src),mf(src),willy(src))
tradition(src) => avg(tci(src),mf(src),rsi(src, n3))

wt1 = multi?avg(godmode(src0),godmode(src1),godmode(src2),godmode(src3),godmode(src4)):tradition(src0)
wt2 = sma(wt1,6)

extended = wt2<20 ? wt2+5 : wt2>80 ? wt2-5 : na

plot(wt1, color=green)
plot(wt2, color=red)
plot(ema((wt1-wt2)*2+50,n3), color=aqua, style=area, transp=80, histbase=50)
plot(extended, title="Caution!", color=yellow, style=circles, linewidth=2)

hline(80)
hline(20)