OPEN-SOURCE SCRIPT
Zen Always-In v1

# **Zen Always-In v1**
**A clean Always-In detector built for discretionary price-action traders.**
This tool highlights moments when the market is moving strongly enough to justify a directional “Always-In” bias — based on consecutive bar strength, position relative to a moving average, internal bar strength (IBS), and bar-range expansion.
---
## **How it Works**
The indicator identifies two types of sequences:
### **1. Bullish Always-In**
Triggered when:
* Two consecutive bull bars
* Both closing above the selected moving average (EMA or SMA)
* IBS on both bars is **above a user-defined threshold** (default 65)
* At least **one** of the two bars has a range larger than the average bar range
Bars are highlighted **green**, and an optional **triangle-up** marker is displayed.
---
### **2. Bearish Always-In**
Triggered when:
* Two consecutive bear bars
* Both closing below the moving average
* IBS on both bars is **below a user-defined threshold** (default 35)
* At least one bar exceeds the average bar range
Bars are highlighted **red**, and an optional **triangle-down** marker is displayed.
---
## **Inputs**
### **Trend Filter**
* **MA Length**
* **MA Source**
* **Use EMA or SMA**
### **Strength Filters**
* **Bull IBS Minimum**
* **Bear IBS Maximum**
* **Average Range Lookback**
### **Display Options**
* **Show Bar Colours**
* **Show Arrows**
* **Show Moving Average**
---
## **Why It’s Useful**
This tool is designed for traders who want a simple, rule-based way to identify when the market is likely Always-In long or Always-In short.
It gives fast visual confirmation of:
* Strength relative to a trend
* Bar expansion beyond typical volatility
* Internal strength/weakness inside each bar
* Momentum that’s strong enough to matter for scalps, swings, or Always-In framing
It does **not** generate trade signals or mechanical entries.
It’s a visual decision aid for traders who already understand price action behaviour.
---
## **Notes**
* Works on any timeframe and instrument
* Designed for real-time discretionary use
* Highlights only *clear* sequences — no “maybe” signals
* All thresholds are fully user-adjustable
**A clean Always-In detector built for discretionary price-action traders.**
This tool highlights moments when the market is moving strongly enough to justify a directional “Always-In” bias — based on consecutive bar strength, position relative to a moving average, internal bar strength (IBS), and bar-range expansion.
---
## **How it Works**
The indicator identifies two types of sequences:
### **1. Bullish Always-In**
Triggered when:
* Two consecutive bull bars
* Both closing above the selected moving average (EMA or SMA)
* IBS on both bars is **above a user-defined threshold** (default 65)
* At least **one** of the two bars has a range larger than the average bar range
Bars are highlighted **green**, and an optional **triangle-up** marker is displayed.
---
### **2. Bearish Always-In**
Triggered when:
* Two consecutive bear bars
* Both closing below the moving average
* IBS on both bars is **below a user-defined threshold** (default 35)
* At least one bar exceeds the average bar range
Bars are highlighted **red**, and an optional **triangle-down** marker is displayed.
---
## **Inputs**
### **Trend Filter**
* **MA Length**
* **MA Source**
* **Use EMA or SMA**
### **Strength Filters**
* **Bull IBS Minimum**
* **Bear IBS Maximum**
* **Average Range Lookback**
### **Display Options**
* **Show Bar Colours**
* **Show Arrows**
* **Show Moving Average**
---
## **Why It’s Useful**
This tool is designed for traders who want a simple, rule-based way to identify when the market is likely Always-In long or Always-In short.
It gives fast visual confirmation of:
* Strength relative to a trend
* Bar expansion beyond typical volatility
* Internal strength/weakness inside each bar
* Momentum that’s strong enough to matter for scalps, swings, or Always-In framing
It does **not** generate trade signals or mechanical entries.
It’s a visual decision aid for traders who already understand price action behaviour.
---
## **Notes**
* Works on any timeframe and instrument
* Designed for real-time discretionary use
* Highlights only *clear* sequences — no “maybe” signals
* All thresholds are fully user-adjustable
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.