Programmatic Horizontal Levels (price:text)Trading view does not support drawing multiple horizontal lines programmatically.
This indicator accepts line coordinates in the format given below.
line1_price:line1_label,line2_price:line2_label
comma separated price:label
Example:
I want to add 5 lines with some labels.
1418.3:R1,1384.9:R2,1377.1:R3,1372.2:R4,1510.2:R5
指标和策略
BP Strategy MalisaGet money and get rich for free fkc yeah hdhdhsissohdhrhebdnskskskshdd
Bdhsisjsowjdheiekenndhxuxux
HMA ZXZ//@version=5
// 显式指定 scale 绑定到价格轴
indicator("HMA 趋势提醒指标 - 织心者优化版", overlay=true, scale=scale.none)
// --- 输入参数 ---
hma_length = input.int(20, "HMA 周期长度", minval=1)
src = input(close, "价格源")
show_labels = input.bool(true, "显示买卖标签")
// --- HMA 核心算法 ---
hma_func(source, length) =>
wma_1 = ta.wma(source, math.floor(length / 2))
wma_2 = ta.wma(source, length)
ta.wma(2 * wma_1 - wma_2, math.floor(math.sqrt(length)))
hma_value = hma_func(src, hma_length)
// --- 趋势与颜色判断 ---
is_up = hma_value > hma_value
line_color = is_up ? color.new(#00ff08, 0) : color.new(#ff0055, 0)
// 绘制 HMA 主线
plot(hma_value, title="HMA 主线", color=line_color, linewidth=3)
// --- 信号逻辑 ---
long_signal = is_up and not (hma_value > hma_value )
short_signal = not is_up and (hma_value > hma_value )
// --- 视觉标注 ---
plotshape(long_signal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="看多拐点")
plotshape(short_signal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="看空拐点")
if show_labels
if long_signal
label.new(bar_index, low, "B", color=color.green, textcolor=color.white, style=label.style_label_up, size=size.tiny)
if short_signal
label.new(bar_index, high, "S", color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
// 警报
alertcondition(long_signal, title="HMA 向上", message="HMA 转多")
alertcondition(short_signal, title="HMA 向下", message="HMA 转空")
Early Pullback Watchlist FlagAn alert across multiple symbols by adding to chart creating alert using indicator as apply to all symbols in watchlist with real time notification
Early Pullback Screener ColumnContinuation of Deep Pull Back indicator - this give a custom column screen of early potential continuation pullbacks
Stocks: QQQ Daily ATR% + Premarket Range (% of ATR)## Stocks/ETFs: QQQ Premarket Range (% of Daily ATR) — ORB Trading Guide
### What this indicator does
This indicator is built for **stocks and ETFs** like **QQQ** and is meant to support **Opening Range Breakout (ORB)** trading.
It measures the **Premarket Range** from **04:00 to 09:30** (exchange time), then compares that move to QQQ’s **typical full-day movement** using **Daily ATR(14)**.
The goal is simple:
> **Before the open, decide whether the day is more likely to behave like a “chop day” or an “expansion day,” and then choose the ORB style that matches.**
---
## Key terms (plain English)
### Daily ATR(14)
ATR stands for **Average True Range**.
On the **daily** timeframe, ATR(14) estimates QQQ’s **typical daily movement** over the last 14 trading days.
Think of it as:
> “On a normal day, QQQ tends to move about *X* dollars.”
---
### ATR% (vs Daily Close)
This converts ATR into a percent of price so you can compare volatility over time:
Think of it as:
> “QQQ’s typical daily move is about *X%* of its price.”
---
### Premarket Range (04:00–09:30)
This is the distance between the **premarket high** and **premarket low** during the session window:
**04:00 → 09:30**
Think of it as:
> “How much QQQ already moved before the bell.”
---
### Premarket Range % of ATR
This is the core measurement:
It answers:
> “How much of a normal day’s movement already happened before the open?”
Examples:
* **20%** = quiet premarket (small move)
* **60%** = active premarket (big move already happened)
---
## How to interpret the Regime label
This script classifies the day into one of three “regimes”:
### **CHOP-LEANING** (Premarket Range < 25% of Daily ATR)
Premarket was quiet. The open is more likely to be:
* range-bound
* full of fakeouts
* slower follow-through
### **NEUTRAL** (25%–50%)
Normal premarket activity. Either outcome is possible:
* trend or chop
* you must let the open confirm it
### **EXPANSION-LEANING** (Premarket Range > 50%)
Premarket was very active. The open is more likely to:
* move faster
* expand range quickly
* have stronger directional pushes (or sharp swings)
**Important:** Expansion does not guarantee a clean trend. It means **movement is more likely**.
---
# How I use this indicator with ORB (my rules)
This indicator is not a buy/sell signal by itself.
I use it to decide **which ORB style to trade**.
## Step 1 — Check the “Regime” before the open
* If the indicator reads **EXPANSION-LEANING**, I treat it like a momentum environment.
* If the indicator reads **CHOP-LEANING**, I treat it like a confirmation environment.
* If it reads **NEUTRAL**, I stay selective and let price action confirm.
---
## Step 2 — ORB Execution Rules
### ✅ If **EXPANSION-LEANING** (momentum day)
**Goal:** Catch the move early and avoid missing the breakout.
**My ORB plan:**
* Build my opening range using the **5-minute ORB**
* Enter on a **break of the ORB level**
* Use the **1-minute timeframe** for the actual entry trigger
**How I confirm the break:**
* I want a clean break through the ORB level (not just a wick touch)
* If price snaps immediately back inside the ORB, I avoid chasing
This approach fits expansion days because QQQ can move fast after the open and waiting for perfect retests can cause you to miss the push.
---
### ✅ If **CHOP-LEANING** (confirmation day)
**Goal:** Avoid fakeouts and only enter when the break proves itself.
**My ORB plan:**
* Build my opening range using a **15-minute ORB**
* I do **not** enter on the first break
* I wait for a **break and retest**
* Then I use the **5-minute timeframe** to confirm the retest holds before entry
This fits chop days because breaks fail more often, so I require confirmation before committing.
---
### ✅ If **NEUTRAL**
**Goal:** Reduce low-quality trades.
**My ORB plan:**
* Treat it as “wait and see”
* Only take the break if price shows strong conviction (hold outside ORB)
* If price is whipping in and out of the range, I skip the trade
---
## Best practices
* Works best on **1m / 5m / 15m charts** so the premarket high/low is captured accurately.
* Premarket session time uses the symbol’s **exchange time**.
* Use proper risk management—QQQ can move fast, especially on expansion days.
---
## Disclaimer
This script is for educational purposes only and is not financial advice. Trading involves risk. Always use risk management and test any approach before trading live.
Deep Early Pullback ScannerIdentifies high-probability early entry setups in trending stocks. It high lights small-bodied red pullback candles within an uptrend, signaling potential continuation moves before conventional UT Bot buy signal triggers
Futures: NQ Overnight Range (% of Daily ATR)## Futures: NQ Overnight Range (% of Daily ATR) — ORB Trading Guide
### What this indicator does
This indicator is built for **NQ / MNQ futures** and is meant to support **Opening Range Breakout (ORB)** trading.
Because futures trade nearly 24 hours, a lot of important movement happens during **Asia + London**. This script measures the **Overnight Range** from **18:00 to 09:30** (exchange time), then compares it to the market’s **typical full-day movement** using **Daily ATR(14)**.
The goal is simple:
> **Before the open, decide whether the day is more likely to behave like a “chop day” or an “expansion day,” and then choose the ORB style that matches.**
---
## Key terms (plain English)
### Daily ATR(14)
ATR is the average daily movement over the last 14 days.
Think of it as:
> “On a normal day, NQ tends to move about *X* points.”
---
### Overnight Range (18:00–09:30)
This is the distance between the **overnight high** and **overnight low** from 18:00 to 09:30.
Think of it as:
> “How much NQ already moved before the cash open.”
---
### Overnight Range % of ATR
This is the “volatility meter” for the day:
It answers:
> “How much of a normal day’s movement already happened overnight?”
---
## How to interpret the Regime label
This script classifies the day into one of three “regimes”:
### **CHOP-LEANING** (Overnight Range < 25% of Daily ATR)
Overnight was quiet. The open is more likely to be:
* range-bound
* full of fakeouts
* slower follow-through
### **NEUTRAL** (25%–50%)
Normal overnight activity. Either outcome is possible:
* trend or chop
* you must let the open confirm it
### **EXPANSION-LEANING** (Overnight Range > 50%)
Overnight was very active. The open is more likely to:
* move faster
* expand range quickly
* have stronger directional pushes (or sharp swings)
**Important:** Expansion does not guarantee a clean trend. It means **movement is more likely**.
---
# How I use this indicator with ORB (my rules)
This indicator is not a buy/sell signal by itself.
I use it to decide **which ORB style to trade**.
## Step 1 — Check the “Regime” before the open
* If the indicator reads **EXPANSION-LEANING**, I treat it like a momentum environment.
* If the indicator reads **CHOP-LEANING**, I treat it like a confirmation environment.
* If it reads **NEUTRAL**, I stay selective and let price action confirm.
---
## Step 2 — ORB Execution Rules
### ✅ If **EXPANSION-LEANING** (momentum day)
**Goal:** Catch the move early and avoid missing the breakout.
**My ORB plan:**
* Build my opening range using the **5-minute ORB**
* Enter on a **break of the ORB level**
* Use the **1-minute timeframe** for the actual entry trigger
**How I confirm the break:**
* I want a clean break through the ORB level (not just a wick touch)
* If price snaps immediately back inside the ORB, I avoid chasing
This approach fits expansion days because the market can move quickly and waiting for perfect retests can cause you to miss the push.
---
### ✅ If **CHOP-LEANING** (confirmation day)
**Goal:** Avoid fakeouts and only enter when the break proves itself.
**My ORB plan:**
* Build my opening range using a **15-minute ORB**
* I do **not** enter on the first break
* I wait for a **break and retest**
* Then I use the **5-minute timeframe** to confirm the retest holds before entry
This fits chop days because breaks fail more often, so I require confirmation before committing.
---
### ✅ If **NEUTRAL**
**Goal:** Reduce low-quality trades.
**My ORB plan:**
* Treat it as “wait and see”
* Only take the break if price shows strong conviction (hold outside ORB)
* If price is whipping in and out of the range, I skip the trade
---
## Best practices
* This indicator works best on **1m / 5m / 15m charts** so the overnight high/low is captured accurately.
* Times are based on the symbol’s **exchange time**.
* Use proper risk management—futures can move fast, especially on expansion days.
---
## Disclaimer
This script is for educational purposes only and is not financial advice. Futures trading carries significant risk. Always use risk management and test any approach before trading live.
---
Anh Nga 6.0 Split (Dynamic + MACD + PC)The script **Anh Nga 6.0 Split** is a professional-grade TradingView strategy designed for high-precision trading (specifically optimized for Gold/XAUUSD). It combines trend-following, momentum oscillators, and multi-timeframe analysis with a built-in automation bridge for **PineConnector** (MT4/MT5).
Here is a breakdown of how the strategy works for users.
---
## 1. Core Logic: How it Triggers
The strategy uses a "filter-first" approach, meaning it only looks for trades when multiple conditions align:
* **Primary Signal:** Uses the **Wave Trend (WT)** oscillator. It looks for "Gold Crosses" (long) or "Death Crosses" (short) when momentum is at extreme levels.
* **Trend Filter:** A dual Moving Average system (Fast 70 / Slow 140). It only buys if the price is above both and sells if below both.
* **MACD MTF Filter:** A "Big Brother" check. It looks at the MACD histogram on the **15-minute** and **30-minute** timeframes to ensure you aren't trading against the higher-timeframe momentum.
* **Overextension Guard:** It calculates the distance from the Fast MA using **ATR**. If the price has "run too far" from the average, it skips the trade to avoid buying the top or selling the bottom.
---
## 2. The "Split" Execution (Advanced Sizing)
The strategy classifies trades into two quality tiers based on **Bollinger Band Zones**:
| Trade Type | Condition | Position Size |
| --- | --- | --- |
| **AAA Zone** | Price is close to the Basis (Mean) | **100%** of your base lot |
| **B Zone** | Price is slightly stretched | **80%** of your base lot |
**Automated Partial Exits:**
When a trade is entered, it splits the position into two orders:
1. **Partial Runner (65%):** Aimed at a closer "TP1" to lock in profits early.
2. **Final Runner (35%):** Aimed at the full Risk:Reward target.
* **Break-Even Logic:** Once the first target is hit, the script automatically sends a command to move the Stop Loss to the entry price (BE).
---
## 3. Risk Management & Guards
* **Reversal Guard:** Prevents "revenge trading" by enforcing a cooldown period (default 5 bars) after an exit before you can trade in the opposite direction.
* **Dynamic Stop Loss:** Uses a **Bollinger Band Multiplier (1.7x)** to place stops outside of immediate market noise.
* **Max SL Filter:** If the market is too volatile and the calculated Stop Loss is larger than your "Max SL Dollars" (e.g., $35), the strategy will skip the trade entirely.
---
## 4. PineConnector Automation
The script is pre-configured to talk to MetaTrader 4/5 via **PineConnector**.
* It generates formatted alert messages containing your **License ID**, **Magic Number**, and **Volume**.
* It handles `buy`, `sell`, `modify` (for Break-Even), and `closeall` commands automatically.
### Visual Guide
* **Teal Line:** Fast Moving Average ().
* **White Line:** Slow Moving Average ().
* **Green/Red Zones:** Visual "AAA" and "B" zones for entry quality.
* **Red/Green Lines:** Active Stop Loss and Take Profit levels currently being tracked.
---
Dynamic Wick PriceAdvanced Line Chart, which plots Highs + Lows
which was missing in traditional line chart
Bar Count & EMA & PatternsA clean and practical charting tool designed for intraday traders, inspired by Al Brooks' Price Action methodology.
Key Features:
📊 Bar Count
Displays only during RTH (08:30-15:00)
Supports 3-minute and 5-minute charts
Shows bar 1 and multiples of 3 (3, 6, 9, 12...)
Key levels highlighted: 18, 48, 81 (red), multiples of 12 (sky blue), bar 6 (light green)
Optimized for China Securities Index Futures — 3-minute chart displays all 81 bars within RTH
📈 EMA
Default 20-period EMA
Customizable length, source, and color
🔍 Pattern Recognition
Auto-detects Inside Bar (i) and Outside Bar (o)
Supports complex patterns: II, OO, IOI, OIO
Consecutive patterns extend automatically (e.g., iii, ooo)
Design Philosophy: Inspired by Al Brooks' Price Action concepts, this indicator reduces chart noise and displays only essential information to support clearer trading decisions.
Brahmastra Moving Average ADX🔱 BRAHMASTRA MOVING AVERAGE ADX 🔱
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A precision trend detection system that fuses the Average Directional Index (ADX) with a dynamic Weighted Moving Average (WMA) to deliver crystal-clear trend signals.
█ HOW IT WORKS
━━━━━━━━━━━━━━
This indicator analyzes both TREND STRENGTH (via ADX) and TREND DIRECTION (via +DI/-DI) to color-code the moving average:
🟢 GREEN MA = Strong Uptrend (ADX > threshold + Bullish bias)
🔴 RED MA = Strong Downtrend (ADX > threshold + Bearish bias)
⚫ GRAY MA = Ranging/Weak Trend (ADX below threshold)
█ KEY FEATURES
━━━━━━━━━━━━━━
✅ ADX-Based Trend Confirmation - Only signals when trend strength is confirmed
✅ Color-Coded WMA - Instantly identify trend direction at a glance
✅ Buy/Sell Signals - Visual markers on trend reversals
✅ Real-Time Info Panel - Live ADX, +DI/-DI values, and trend status
✅ Customizable Visuals - Adjust colors, line width, and fill zones
✅ Built-In Alerts - Get notified on trend changes
█ SETTINGS
━━━━━━━━━━
- DI Length (default: 14) - Period for +DI/-DI calculation
- ADX Smoothing (default: 14) - Smoothing period for ADX
- ADX Trend Threshold (default: 18) - Minimum ADX to confirm trend
- MA Length (default: 9) - Period for the Weighted Moving Average
█ HOW TO USE
━━━━━━━━━━━━
1. TREND TRADING: Enter long when MA turns GREEN, short when RED
2. RANGE FILTER: Avoid trades when MA is GRAY (ranging market)
3. CONFIRMATION: Use the info panel to verify ADX strength before entry
4. ALERTS: Set up alerts to catch trend changes automatically
█ BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━
Works on all timeframes. Recommended: 15M, 1H, 4H, Daily
█ CREDITS
━━━━━━━━━
Developed by Brahmastra Trading Systems
Inspired by the legendary ADX indicator by J. Welles Wilder Jr.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Like & Follow for more premium indicators!
Nokor Traders CRTThis indicator combines three powerful tools in one to improve market analysis and trading decisions:
• Higher Timeframe Candlestick View – Helps traders understand overall market structure, momentum, and key price behavior from larger timeframes.
• Asia, London, and New York Killzone Sessions – Highlights major market trading sessions to help identify high-liquidity periods and potential volatility opportunities.
• Heikin Ashi Trend Line – Assists in detecting trend direction and potential reversal points with smoother price visualization.
This all-in-one indicator is designed to help traders identify market bias, session volatility, and trend changes more clearly and efficiently.
Admin t.me
Arpoom//@version=5
indicator("Volume & Body Spike Multiplier", overlay=true)
// 1. คำนวณค่าเฉลี่ย 20 แท่ง
avgVol = ta.sma(volume, 20)
currentBody = math.abs(close - open) // ใช้ math.abs เพื่อให้ค่าเป็นบวกเสมอ
avgBody = ta.sma(currentBody, 20)
// 2. คำนวณ Multipliers
volMultiplier = volume / avgVol
bodyMultiplier = currentBody / avgBody
// 3. กำหนดเงื่อนไข
// วอลุ่มมากกว่า 2 เท่า และ เนื้อเทียนยาวกว่าค่าเฉลี่ยเนื้อเทียน 20 แท่ง
volCondition = volume > (avgVol * 2)
bodyCondition = currentBody > avgBody
longCondition = volCondition and bodyCondition and close > open
shortCondition = volCondition and bodyCondition and close <= open
// 4. วาดลูกศร
plotshape(longCondition, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Long Body Spike")
plotshape(shortCondition, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Short Body Spike")
// 5. แสดงตัวเลขบน Label (V = Volume x, B = Body x)
if longCondition
label.new(bar_index, low, str.format("V: {0,number,#.#}x B: {1,number,#.#}x", volMultiplier, bodyMultiplier), yloc=yloc.belowbar, color=color.new(color.green, 20), textcolor=color.white, style=label.style_label_up, size=size.small)
if shortCondition
label.new(bar_index, high, str.format("V: {0,number,#.#}x B: {1,number,#.#}x", volMultiplier, bodyMultiplier), yloc=yloc.abovebar, color=color.new(color.red, 20), textcolor=color.white, style=label.style_label_down, size=size.small)
// 6. ระบบแจ้งเตือน (Alerts)
alertcondition(longCondition, title="Buy Spike (Vol & Body)", message="Body Spike Up! Vol: {{plot_0}}x, Body: {{plot_1}}x")
alertcondition(shortCondition, title="Sell Spike (Vol & Body)", message="Body Spike Down! Vol: {{plot_0}}x, Body: {{plot_1}}x")
// ส่งค่าออกเพื่อให้ Alert ดึงไปใช้
plot(volMultiplier, "Vol Mult", display=display.none)
plot(bodyMultiplier, "Body Mult", display=display.none)
Breakout Targets [AlgoAlpha]🟠 OVERVIEW
This script identifies consolidation zones and provides automated breakout targets with risk management levels. It focuses on finding periods where price action compresses and then tracks the subsequent breakout from these ranges. When a price breakout is confirmed, the script automatically projects three take-profit (TP) levels and a stop-loss (SL) based on current market volatility. This helps traders move from identifying a range to executing a trade with predefined exit points without manual calculation.
🟠 CONCEPTS
The script uses a relationship between Weighted Moving Averages (WMA) and Exponential Moving Averages (EMA) of price ranges to detect consolidation. When these moving averages cross, it triggers the detection of recent pivot highs and lows to draw a visual "box" or channel. This channel represents the current trading range. Once price closes outside this box, the script uses the Average True Range (ATR) to determine the volatility-adjusted distance for the stop loss. The take-profit levels are then calculated as multiples of this risk distance, ensuring a consistent reward-to-risk approach.
🟠 FEATURES
Dynamic box drawing that highlights potential supply and demand zones within the range.
Real-time breakout signals with bullish (green) and bearish (red) markers.
Automated trade projection including Entry, SL, and three TP levels.
Integrated alert system for breakouts and hits on any profit or loss target.
🟠 USAGE
Setup : Add the script to your chart and adjust the "Range Detection Period." A higher period will find larger, more significant ranges, while a lower period will find smaller, short-term consolidation zones.
Read the chart : Look for the grey boxes on your chart; these represent areas where the market is "coiling." A green arrow label indicates a bullish breakout from the top of the box, while a red arrow indicates a bearish breakout from the bottom. Once a breakout occurs, follow the projected horizontal levels for your trade management.
Settings that matter : The Stop Loss ATR Multiplier is the most critical setting for risk; increasing it will give the trade more room to breathe but will also push your TP levels further away. The Prevent Overlap toggle is useful for keeping the chart clean by ensuring the script doesn't draw new boxes until the current range has been resolved.
CLLibrary "CL"
Common Library
method updateRealBodyPrices(candle)
Namespace types: TCandle
Parameters:
candle (TCandle)
method indexOfBarIndex(candle_array, barIndex)
Namespace types: array
Parameters:
candle_array (array)
barIndex (int)
method getCandleByBarIndex(candle_array, barIndex)
Namespace types: array
Parameters:
candle_array (array)
barIndex (int)
newCandleSet(tickerid, timeframe)
Parameters:
tickerid (string)
timeframe (string)
method copyTo(src, dest)
Namespace types: TPivot
Parameters:
src (TPivot)
dest (TPivot)
method copyTo(src, dest)
Namespace types: TTrendReversalPoint
Parameters:
src (TTrendReversalPoint)
dest (TTrendReversalPoint)
method copyPivotHL_LHtoFirst(trp)
Namespace types: TTrendReversalPoint
Parameters:
trp (TTrendReversalPoint)
newPoolManager()
method newCandleFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newPivotFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPointFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPoint(poolManager, trendDirection, barIndex, barIndex_ctf, time_reversal)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
trendDirection (int)
barIndex (int)
barIndex_ctf (int)
time_reversal (int)
TCandle
Fields:
barIndex (series int)
timeOpen (series int)
timeClose (series int)
open (series float)
high (series float)
low (series float)
close (series float)
isFixed (series bool)
realBodyUpperPrice (series float)
realBodyLowerPrice (series float)
barIndex_ctf (series int)
TCandleSet
Fields:
tickerid (series string)
timeframe (series string)
currentCandle (TCandle)
lastFixedCandle (TCandle)
candleArray (array)
minBarIndex (series int)
minCandleCount (series int)
TPivot
Fields:
barIndex (series int)
price (series float)
isHigh (series bool)
isFixed (series bool)
barIndex_ctf (series int)
timeOpen (series int)
TTrendReversalPoint
Fields:
id (series int)
trendDirection (series int)
barIndex (series int)
price_Highest (series float)
barIndex_Highest (series int)
barIndex_ctf_Highest (series int)
price_Lowest (series float)
barIndex_Lowest (series int)
barIndex_ctf_Lowest (series int)
price_HigherLow (series float)
barIndex_HigherLow (series int)
barIndex_ctf_HigherLow (series int)
price_LowerHigh (series float)
barIndex_LowerHigh (series int)
barIndex_ctf_LowerHigh (series int)
price_FirstHigherLow (series float)
barIndex_FirstHigherLow (series int)
barIndex_ctf_FirstHigherLow (series int)
price_FirstLowerHigh (series float)
barIndex_FirstLowerHigh (series int)
barIndex_ctf_FirstLowerHigh (series int)
isDeleted (series bool)
barIndex_Created_ctf (series int)
barIndex_Deleted_ctf (series int)
barIndex_ctf (series int)
timeReversal (series int)
barIndexValid (series int)
barIndexSnapshotValid (series int)
TPoolManager
Fields:
all_candle (array)
pool_candle (array)
all_pivot (array)
pool_pivot (array)
all_trp (array)
pool_trp (array)
BB% of RSI + MFIThis indicator is a modified version of LazyBear’s BB% of RSI.
It plots RSI with Bollinger Bands applied to the RSI itself, highlighting volatility extremes.
A Money Flow Index (MFI) line is added for visual comparison only.
The original RSI and Bollinger Band logic remains unchanged.
MFI can be toggled ON/OFF from the settings.
Useful for identifying overbought/oversold conditions and momentum shifts.
Cyberpunk Neural Flux■ Core Concept: The "Cyberpunk Neural Flux" is engineered based on the "Trend Template" logic favored by institutional growth investors and hedge funds.
It monitors the interaction between the 150 MA (The Institutional Baseline) and the 15 MA (High-Frequency Momentum). Large players often use the 150 MA as the "line in the sand" for a healthy trend. This indicator visualizes when short-term momentum aligns with this critical institutional baseline, while the "Noise Gate" filters out choppy price action that traps retail traders.
■ Visual Decoding (Candle Colors)
1. ⚪ WHITE (Reversal BUY)
・Context: Downtrend (Magenta Background).
・Trigger: Price breaks ABOVE the Upper Gate (Fast MA + ATR).
・Meaning: Strong momentum has overcome the downtrend resistance.
2. 🟡 GOLD (Reversal SELL)
・Context: Uptrend (Cyan Background).
・Trigger: Price breaks BELOW the Lower Gate (Fast MA - ATR).
・Meaning: Support has collapsed with strong momentum.
3. 🌑 GRAY (Neutral / Noise)
・Trigger: Price is trapped inside the "Noise Gate" (between Upper & Lower bands).
・Meaning: DO NOT TRADE. The market is indecisive or consolidating.
4. 🟦 CYAN / 🟪 MAGENTA (Trend Follow)
・Meaning: Trend is healthy and continuing outside the noise gate.
■ コンセプト: 「Cyberpunk Neural Flux」は、ヘッジファンドや機関投資家が重視する「トレンド・テンプレート」のロジックに基づいて設計されています。
彼らが「中期トレンドの生命線」として防衛する 150MA(ベースライン)と、短期アルゴリズムが反応する 15MA(モメンタム)の相互作用を監視します。大口投資家が意識するトレンド方向と、短期的な勢いが合致した瞬間のみを可視化し、「ノイズゲート」機能によって個人投資家が狩られやすいレンジ相場を徹底的に排除します。
■ 色の読み方(ローソク足)
1. ⚪ WHITE / 白(反転 - 買い)
・状況: 背景がマゼンタ(下落中)。
・条件: 価格が「15MA + ノイズ幅」を上抜いた。
・意味: 単なるMAタッチではなく、明確な反発エネルギーが確認された状態。
2. 🟡 GOLD / 金(反転 - 売り)
・状況: 背景がシアン(上昇中)。
・条件: 価格が「15MA - ノイズ幅」を下抜いた。
・意味: 単なる押し目ではなく、サポートラインが明確に決壊した状態。
3. 🌑 GRAY / グレー(ノイズ - 待機)
・条件: 価格がゲートの内側(15MA付近)で推移している。
・意味: 「手出し無用」。方向感がなく、エネルギーを溜めている状態です。
4. 🟦 シアン / 🟪 マゼンタ(順張り)
・意味: トレンドが健全に継続中。
Central Bank Liquidity Gap IndicatorThis indicator measures the gap between global liquidity growth and stock market growth to identify potential buying opportunities.
Liquidity drives markets. When central banks print money, that liquidity eventually flows into stocks and other assets. If we spot when liquidity growth is outpacing market growth, we can spot moments when the market is "due" to catch up.
I like this quote:
Earnings don't move the overall market; it's the Federal Reserve Board... focus on the central banks and focus on the movement of liquidity."
- Stanley Druckenmiller
How Central Bank Liquidity Gap Indicator Works
The indicator calculates a simple divergence:
Divergence = Liquidity Growth % − S&P 500 Growth %
Green bars = Liquidity is growing faster than the market (bullish)
Red bars = Market is growing faster than liquidity (less bullish)
Multi-Country M2 Money Supply
Unlike basic M2 indicators, this one lets you combine money supply data from multiple economies, including US, UK, Canada, China, Eurozone, Switzerland and Japan.
Each country's M2 is automatically weighted by its actual size (converted to USD). Larger economies have more influence on the global liquidity picture.
I've added a discount for China. China's M2 weight is reduced by 50% to account for capital controls that limit how much Chinese liquidity flows into global markets and into the US market.
Fed Net Liquidity
You can also blend in Fed Net Liquidity for a more precise US liquidity measure:
Net Liquidity = Fed Balance Sheet − Treasury General Account − Reverse Repo
This captures the actual liquidity the Fed has injected into financial markets, not just the broad money supply.
How To Read It
The Buy Zone (5%+ Divergence)
When the divergence exceeds +5%, the indicator enters the "Buy Zone" (highlighted with green background). This means liquidity is significantly outpacing market growth — historically a good buy signal.
The Support Table
The info table shows:
Component weights: How much each country's M2 contributes
Corr w/ SPX: Current correlation between liquidity and SPX (are they moving together?)
Leads SPX by X: Does past liquidity predict future SPX moves? (higher = more predictive)
Divergence %: Current divergence value
Signal
Correlation Stats
Corr w/ SPX: Measures if liquidity and SPX are moving in sync right now
Leads SPX: Measures if liquidity changes predict future SPX moves. A positive value here suggests liquidity is a leading indicator.
Potential Use Cases
Long-term investing: Wait for 5%+ divergence (buy zone) to accumulate index funds, ETFs, or stocks
Leveraged ETFs: Use buy zone signals to time entries into UPRO, TQQQ, SSO (higher risk, higher reward)
Crypto: Bitcoin and crypto markets also correlate with global liquidity — use this for BTC accumulation timing
Risk management: Avoid adding positions when divergence is deeply negative
Important Notes
This is a long-term indicator and not for daytrading. It works best used on Daily/Weekly timeframes
It identifies accumulation zones and not precise bottoms
Truly yours, Henrique Centieiro
Inspired by the relationship between M2 money supply and market performance, enhanced with multi-country liquidity tracking and Fed balance sheet analysis.
Let me know if you have questions/suggestions.
Smooth Accelarating RSISmooth Accelerating RSI (SA RSI) | MisinkoMaster
Smooth Accelerating RSI is a refined long-term momentum oscillator designed to deliver smoother RSI behavior while preserving the ability to react when momentum begins to accelerate. The indicator focuses on reducing noise typically found in standard RSI calculations while maintaining responsiveness during meaningful trend transitions.
This makes it particularly suitable for traders who prefer longer-term structure analysis or want cleaner signals across volatile markets.
Key Features
Smoother, longer-term RSI behavior compared to standard RSI
Momentum acceleration component for faster reaction to trend changes
Multiple moving average types supported for flexible smoothing behavior
Configurable trend and value-zone thresholds
Visual trend labeling and colored candles for intuitive reading
Divergence-style momentum histogram for shift detection
Adaptive smoothing to balance responsiveness and stability
How It Works
The indicator builds on traditional RSI logic but introduces layered smoothing and acceleration techniques to improve stability while preserving responsiveness.
Instead of relying on a single smoothing pass, the oscillator blends multiple smoothing layers and applies adaptive acceleration logic. This allows the RSI to remain calm during consolidation yet react quickly when momentum begins to expand.
An additional momentum change component highlights acceleration or deceleration phases, helping traders detect potential trend continuation or exhaustion.
The result is an RSI variant that behaves more smoothly over longer horizons while still adapting when market momentum shifts.
Inputs Overview
Source — Selects the price source used in RSI calculations
RSI Length — Controls the primary RSI calculation period
Smooth Accelerating Length — Controls final smoothing and acceleration responsiveness
MA Type — Selects which moving average method is applied throughout calculations
ALMA Offset & Sigma — Parameters used only when ALMA smoothing is selected
Upper Threshold — Level signaling bullish trend bias
Lower Threshold — Level signaling bearish trend bias
Overbought Threshold — Defines potential exhaustion zones on the upside
Oversold Threshold — Defines potential exhaustion zones on the downside
Usage Notes
Designed for smoother, longer-term momentum tracking
Suitable for traders preferring fewer but more stable signals
Momentum histogram helps identify acceleration or weakening trends
Threshold crossings can indicate directional shifts
Overbought and oversold zones may help locate pullback opportunities
Works best when combined with price action or confirmation tools
Always test parameters according to asset volatility and timeframe
Summary
Smooth Accelerating RSI provides a calmer and more structured alternative to standard RSI while preserving the ability to detect meaningful momentum changes. It is well suited for traders seeking cleaner long-term signals without losing awareness of emerging trend acceleration.
GoldenCube HMA FlowThis indicator builds a six‑line HMA system from a single base integer you enter. Each subsequent HMA period is generated by multiplying the previous period by φ³ ≈ 4.23606797749979 and rounding. The six HMAs are plotted on the chart, colored by slope, and grouped into three pairs with filled areas and an optional alignment alert.
Sequence Generation
Input: one integer called Base number (example: 55).
Sequence rule: next = round(previous × φ³).
Example: .
The script computes these six integer lengths automatically and uses them as HMA periods.
HMA Calculation and Timeframe Handling
Standard HMA: each HMA is on the chart timeframe.
Large-length handling: if HMA length > 5000 and the chart is intraday, the indicator computes that HMA on a timeframe that is 3× the current intraday period (for example 1m → 3m) using , then brings that higher‑TF HMA back onto the current chart. This avoids impractical minute‑level smoothing for extremely large periods.
Visuals and Coloring
Per-line coloring: each HMA line is colored green when its slope (current value − previous bar value) is non‑negative and red when negative.
Plots: six HMA lines are plotted with fixed titles (HMA 1 … HMA 6).
Label: a status label on the last bar shows the six lengths and each group’s bullish/bearish state.
Group Logic and Alerts
Groups: HMAs are paired into three groups — Group 1 = HMA1 & HMA2, Group 2 = HMA3 & HMA4, Group 3 = HMA5 & HMA6.
Bull/Bear definition: a group is bullish when the first HMA in the pair is above the second, bearish otherwise.
Fills: the area between each pair is filled green when bullish and red when bearish; fill colors are configurable.
Alignment alert: an input toggle enables an alert condition that fires when Group 2 and Group 3 share the same trend direction (both bullish or both bearish). The script defines the alert condition; TradingView’s Alerts dialog is used to create notifications.






















