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 open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.