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
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.