Bobbydigital83
Member
Here is Syracusepro translation of LazyBear's Tradingview GodMode Indicator
I haven't seen this shared here so here it is but was also wondering if anyone is able to make a scanner for this?
https://ibb.co/NLkfNzj
explanation: https://www.tradingview.com/script/HL3vqXUM-Godmode-Oscillator-fresh-bread-generator-free-to-use/
I haven't seen this shared here so here it is but was also wondering if anyone is able to make a scanner for this?
https://ibb.co/NLkfNzj
explanation: https://www.tradingview.com/script/HL3vqXUM-Godmode-Oscillator-fresh-bread-generator-free-to-use/
Code:
#// Tradingview.com
#// @author LazyBear, xSilas, Ni6HTH4wK, SNOW_CITY
#// SNOW_CITY Remove BTCe added BITSTAMP, #Changed default varibles USE ON 1m, 5M, 15M charts
#study(title="Godmode3.1")
#----------------- God Mode VariableMA 3.1.4 ------------------#
#------------- Translated for TOS by Syracusepro --------------#
declare lower;
input n1 = 17; #Channel Length
input n2 = 6; #Average Length
input n3 = 4; #Short length
input multi = No; #Multi-exchange?
input src0 = hlc3;
def src1 = hlc3("BITFINEX:BTCUSD", period = getaggregationPeriod());
def src2 = hlc3("BITSTAMP:BTCUSD", period = getaggregationPeriod());
def src3 = hlc3("OKCOIN:BTCUSD", period = getaggregationPeriod());
def src4 = hlc3("HUOBI:BTCCNY", period = getaggregationPeriod());
script tci {
input src = hlc3;
input n1 = 17; #Channel Length
input n2 = 6; #Average Length
plot out = MovAvgExponential((src - MovAvgExponential(src, n1)) / (0.025 * MovAvgExponential(AbsValue(src - MovAvgExponential(src, n1)), n1)), n2) + 50;
}
script mf {
input src = hlc3;
input n3 = 4; #Short length
def step1 = Sum(if volume * Average(src) <= 0 then 0 else src);
def step2 = Sum(volume * (if Average(src) >= 0 then 0 else src));
plot out = reference RSI(n3, step1, step2);
}
script willy {
input src = hlc3;
input n2 = 6; #Average Length
plot return = 60 * (src - Highest(src, n2)) / (Highest(src, n2) - Lowest(src, n2)) + 80;
}
script csi {
input src = hlc3;
input src0 = hlc3;
input n1 = 17; #Channel Length
input n2 = 60; #Average Length
input n3 = 60; #Short length
plot out = ((reference RSI(n3, src) + TrueStrengthIndex(n1, n2)) * 50 + 50);
}
script godmode {
input src = hlc3;
plot out = (tci(src) + CSI(src) + mf(src) + willy(src)) / 4;
}
script tradition {
input src = hlc3;
input n3 = 6; #Short length
plot out = (tci() + mf(src) + reference RSI(n3)) / 3;
}
def wt1 = if multi then (godmode(src0) + godmode(src1) + godmode(src2) + godmode(src3) + godmode(src4)) / 4 else tradition(src0);
def wt2 = SimpleMovingAvg(wt1, 6);
def extended = if wt2 < 20 then wt2 + 5 else if wt2 > 80 then wt2 - 5 else Double.NaN;
plot w1 = wt1;
w1.SetDefaultColor(Color.GREEN);
plot w2 = wt2;
w2.SetDefaultColor(Color.RED);
#plot bs = movAvgExponential(((wt1 - wt2) * 2 + 50), n3);
#bs.SetDefaultColor(Color.WHITE);
#bs.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
plot ext = extended; #Caution!
ext.SetDefaultColor(Color.white);
ext.SetPaintingStrategy(PaintingStrategy.POINTS);
ext.SetLineWeight(2);
plot top = 80;
plot bottom = 20;
#----------- End Translated for TOS by Syracusepro ------------#
Last edited: