"God Mode" Indicator For ThinkOrSwim

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/


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:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

love the name but how does it work? looks like a MACD with dots? looks like its a better leading indicator than the MACD
 
Last edited:
When w2 goes above top or below bottom. IMO useless.

maybe replace def extended to this: and get your dots on w1

def extended = if wt1 < 20 then wt1 + 5 else if wt1 > 80 then wt1 - 5 else Double.NaN;
 
Last edited:

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
363 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top