Inline Institutional Bias

Trend identification indicator. Estimates (higher-timeframe) market state using the "Institutional Bias" MA relationship (9ema - 18ema, 1D timeframe). A "reference" MA (30sma - TRI's preferred MA for Trade Location) is then plotted, and colour-coded according to higher-timeframe market state.

NOTE: All MA lengths, types, and the timeframe to use are configurable, but default as above. All MAs are calculated using the "IB timeframe", even when zoomed in.
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?