Always-In Indicator for TradingView

The Always-In indicator highlights bars on your chart to help determine context.

It looks for:

  • consecutive bars on the right side of the MA,
  • internal bar strength,
  • and bar-range (size)

It is based off the work from Dr Al Brooks in the Brooks Trading Course.

Even if you don’t use TradingView, you can see the source code. You can get AI to make it for your charting package for research and learning.

The purpose is to make it easier to see when the market is leaning long or leaning short. It does not generate trade entries.

Link here:

https://www.tradingview.com/script/k5OfAlBe-Zen-Always-In-v1/

Source code as usual is open for you.


1. Consecutive Bars in the Same Direction

The indicator looks for two consecutive bull bars or two consecutive bear bars.


2. Closing Position Relative to the Moving Average

Both bars in the sequence must close on the same side of a moving average:

  • Bullish condition: both bars close above the MA
  • Bearish condition: both bars close below the MA

You can choose EMA or SMA and adjust the length.


3. Internal Bar Strength (IBS)

IBS measures where the bar closes within its range.
The indicator checks that both bars meet the strength threshold:

  • Bullish: IBS > 65
  • Bearish: IBS < 35

This filters out bars that move directionally but close weakly.


4. Bar-Range Expansion

At least one of the two bars must have a range greater than the average bar range over a user-defined lookback.


5. Chart Output

When all conditions are met:

  • Bull sequences highlight the bars in green
  • Bear sequences highlight the bars in red
  • Optional arrows are drawn to mark the sequence
  • The moving average can be shown or hidden based on user settings

6. How Traders Typically Use It

The indicator helps with:

  • Identifying when the market is leaning Always-In long or Always-In short
  • Filtering weak countertrend ideas
  • Understanding whether recent movement has enough strength to expect follow-through
  • Training the eye to see bar sequences and bar quality in real time
  • Used on higher time frames for swing entries.

It works on any timeframe or instrument.


Summary

The indicator applies a simple set of rules:

  • Two consecutive bars in the same direction
  • Both closing on the correct side of a moving average
  • IBS confirming internal strength
  • At least one bar exceeding the average bar range

When these align, the bars are highlighted.
It’s a clean tool for reading short-term context and bar strength.


5 responses to “Always-In Indicator for TradingView”

  1. generously95a1743b49 Avatar
    generously95a1743b49

    Thanks very much.

    Liked by 2 people

  2. sweet1df884271c Avatar
    sweet1df884271c

    Thanks. That’s pretty much how I define AI! EMA is one of the best indicators for direction now combine it with some simple PA and BOOM 😀

    Liked by 1 person

  3. Ayat Avatar
    Ayat

    Hi tim

    Hope you’re doing well. Thank you so much for all the useful information you always share with us. Would it be possible for you to also provide the file of this indicator for NinjaTrader?

    Thanks in advance!

    Like

    1. Tim Fairweather Avatar

      Hi mate – thanks for your feedback – I dont have one for NT, but you can take the code and make it with AI I’m sure! T

      Like

Leave a comment

I’m Tim

Welcome to Zen Trading Tech.

I’m a Aussie day trader and I post trading tips, practice drills, and indicators that helped my trading get to a professional level.

Everything here is to help train the eyes and hands to trade better. If it helped me I’ll post it for others. Hope you enjoy!