อินดิเคเตอร์ Pine Script®
วัฏจักร
M5 PRO SCALPING HIGH ACCURACY gainer indicatorM5 Pro Scalping – High Accuracy is a precision-built intraday trading indicator designed specifically for 5-minute charts, focusing on early momentum shifts inside active market trends.
Unlike over-filtered indicators that rarely trigger, this script is optimized to actually generate clear BUY and SELL signals in real market conditions, making it suitable for scalping and short-term intraday trading.
อินดิเคเตอร์ Pine Script®
Liquidity Sweeps + MSS (Valid / Ignored)//@version=5
indicator("Liquidity Sweeps + MSS (Valid / Ignored)", overlay=true, max_labels_count=200, max_lines_count=200)
//──────────────────────────────────────────────────────────────
// Inputs
structureLookback = input.int(20, "Structure Lookback (recent highs/lows)", minval=10)
rangeLookback = input.int(80, "Range Lookback (to define extremes)", minval=30)
extremeZonePct = input.float(0.25, "Extreme Zone % (0.25 = top/bottom 25%)", minval=0.05, maxval=0.45, step=0.05)
useCloseReentry = input.bool(true, "Require close back inside level (reentry)")
// MSS / Swings
pivotLeft = input.int(3, "Swing Pivot Left", minval=1)
pivotRight = input.int(3, "Swing Pivot Right", minval=1)
mssMode = input.string("Close", "MSS Break uses", options= ) // Close = stricter
useImpulseFilter = input.bool(true, "Filter strong impulse candles")
impulseATRmult = input.float(1.0, "Max body size (ATR multiple)", minval=0.3, maxval=3.0, step=0.1)
atrLen = input.int(14, "ATR Length", minval=5)
showOnlyValid = input.bool(true, "Show only VALID signals")
showPending = input.bool(true, "Show PENDING label")
plotStructureLvls = input.bool(false, "Plot recent structure levels")
plotMssLevel = input.bool(true, "Plot MSS level while pending")
//──────────────────────────────────────────────────────────────
// Helpers
atr = ta.atr(atrLen)
body = math.abs(close - open)
// Recent structure (dynamic)
recentHigh = ta.highest(high, structureLookback)
recentLow = ta.lowest(low, structureLookback)
// Bigger “range” to determine if we are at extremes vs middle
rngHigh = ta.highest(high, rangeLookback)
rngLow = ta.lowest(low, rangeLookback)
rng = math.max(rngHigh - rngLow, syminfo.mintick)
pos = (close - rngLow) / rng // 0..1
isTopExtreme = pos >= (1.0 - extremeZonePct)
isBotExtreme = pos <= extremeZonePct
impulseOk = not useImpulseFilter or (body <= atr * impulseATRmult)
//──────────────────────────────────────────────────────────────
// Swings for MSS (pivot-based)
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
var float lastSwingHigh = na
var float lastSwingLow = na
// Update latest confirmed swing points (they appear pivotRight bars late, that's fine)
if not na(ph)
lastSwingHigh := ph
if not na(pl)
lastSwingLow := pl
// Optional: plot structure levels
plot(plotStructureLvls ? recentHigh : na, "Recent High", color=color.new(color.red, 70), style=plot.style_linebr, linewidth=2)
plot(plotStructureLvls ? recentLow : na, "Recent Low", color=color.new(color.lime,70), style=plot.style_linebr, linewidth=2)
//──────────────────────────────────────────────────────────────
// Raw sweeps (wick through recent level + optional close reentry)
rawSweepHigh = high > recentHigh and (useCloseReentry ? close < recentHigh : true)
rawSweepLow = low < recentLow and (useCloseReentry ? close > recentLow : true)
// Location filter
preValidHigh = rawSweepHigh and isTopExtreme and impulseOk
preValidLow = rawSweepLow and isBotExtreme and impulseOk
//──────────────────────────────────────────────────────────────
// State machine: PENDING → VALID/IGNORED based on MSS break
var int pendingDir = 0 // 1 = high sweep pending, -1 = low sweep pending, 0 = none
var int pendingStartBar = na
var float pendingMssLevel = na
var label pendingLabel = na
// MSS break condition
breakDown = mssMode == "Close" ? close < pendingMssLevel : low < pendingMssLevel
breakUp = mssMode == "Close" ? close > pendingMssLevel : high > pendingMssLevel
confirmMSSHigh = pendingDir == 1 and not na(pendingMssLevel) and breakDown
confirmMSSLow = pendingDir == -1 and not na(pendingMssLevel) and breakUp
// If no MSS level exists at sweep time, we will ignore (strict = fewer signals)
noMssLevel = pendingDir != 0 and na(pendingMssLevel)
// Pending visualization of MSS level
plot(plotMssLevel and pendingDir != 0 ? pendingMssLevel : na, "Pending MSS Level", color=color.new(color.yellow, 0), style=plot.style_linebr, linewidth=2)
//──────────────────────────────────────────────────────────────
// Label helpers
makeIgnoredLabel(_isHigh, _reason) =>
if not showOnlyValid
float y = _isHigh ? high : low
labelStyle = _isHigh ? label.style_label_down : label.style_label_up
label.new(bar_index, y, "SWEEP IGNORED " + _reason, style=labelStyle, color=color.new(color.gray, 0), textcolor=color.white)
makePendingLabel(_isHigh, _mss) =>
if showPending
float y = _isHigh ? high : low
labelStyle = _isHigh ? label.style_label_down : label.style_label_up
string txt = "SWEEP PENDING MSS: " + (na(_mss) ? "na" : str.tostring(_mss, format.mintick))
label.new(bar_index, y, txt, style=labelStyle, color=color.new(color.orange, 0), textcolor=color.white)
else
na
setValidLabel(_lbl, _isHigh) =>
if not na(_lbl)
label.set_text(_lbl, "SWEEP VALID (MSS)")
label.set_color(_lbl, _isHigh ? color.new(color.red, 0) : color.new(color.lime, 0))
label.set_textcolor(_lbl, color.white)
//──────────────────────────────────────────────────────────────
// Main flow
if pendingDir == 0
// New HIGH sweep candidate
if rawSweepHigh
if preValidHigh
pendingDir := 1
pendingStartBar := bar_index
// MSS level for HIGH sweep = lastSwingLow (the low we want to break)
pendingMssLevel := lastSwingLow
pendingLabel := makePendingLabel(true, pendingMssLevel)
// If we cannot define MSS level => ignore (strict)
if na(pendingMssLevel)
makeIgnoredLabel(true, "no swing low (MSS) yet")
if not na(pendingLabel)
label.delete(pendingLabel)
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else
makeIgnoredLabel(true, "filters (location/impulse/reentry)")
// New LOW sweep candidate (only if no pending created above)
if rawSweepLow and pendingDir == 0
if preValidLow
pendingDir := -1
pendingStartBar := bar_index
// MSS level for LOW sweep = lastSwingHigh (the high we want to break)
pendingMssLevel := lastSwingHigh
pendingLabel := makePendingLabel(false, pendingMssLevel)
if na(pendingMssLevel)
makeIgnoredLabel(false, "no swing high (MSS) yet")
if not na(pendingLabel)
label.delete(pendingLabel)
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else
makeIgnoredLabel(false, "filters (location/impulse/reentry)")
else
// Pending: confirm with MSS
if confirmMSSHigh
setValidLabel(pendingLabel, true)
// Reset
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else if confirmMSSLow
setValidLabel(pendingLabel, false)
// Reset
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
// Alerts only on VALID MSS
alertcondition(confirmMSSHigh, "Sweep VALID High (MSS)", "VALID liquidity sweep HIGH confirmed by MSS")
alertcondition(confirmMSSLow, "Sweep VALID Low (MSS)", "VALID liquidity sweep LOW confirmed by MSS")
อินดิเคเตอร์ Pine Script®
Daily Market Bias Highlight
This indicator is designed for Pine Script (TradingView) to automate your daily market bias assessment and highlight the critical execution window just before the New York open.
Core Functionality
15-Minute Pre-Market Window: Specifically highlights the background of your chart from 08:15 to 08:30 CT (America/Chicago), providing a visual countdown to the market open.
Daily Bias Logic: Automatically calculates whether the current sentiment is Bullish or Bearish based on price action from the previous two days.
Dealing Range Analysis: Uses a customizable lookback (defaulting to 20 days) to identify the "Equilibrium" (50% level) of the current price range.
Bias Rules
The indicator evaluates the daily trend using the following logic:
🟢 Bullish Bias: Triggered if price swept below the previous day's low and closed back inside (reclamation), or if the market simply closed above the previous day's high.
🔴 Bearish Bias: Triggered if price swept above the previous day's high and closed back inside (rejection), or if the market closed below the previous day's low.
Visual Elements
Background Highlight: Changes color during the pre-market window (Green for Bullish, Red for Bearish).
Range Markers: Plots the Range High, Range Low, and Equilibrium levels to show where price is sitting relative to the broader 20-day "Dealing Range".
อินดิเคเตอร์ Pine Script®
Lil B's: Time based Liquidity + IFVG AlertsThis indicator identifies key time-based liquidity levels and maps their interaction with ICT-style Fair Value Gaps (FVGs) to highlight high-probability trade entry opportunities across all timeframes.
It automatically tracks the Asia session high/low, London session high/low, and previous day high/low, extending these levels forward until price reaches and sweeps them. Once a sweep occurs, the indicator monitors for a true 3-candle ICT Fair Value Gap. When that FVG inverts, a clear, color-coded IFVG OK label is printed to signal a potential entry.
Each level operates independently and is day-safe, preventing invalid sweeps or overlapping logic across sessions. Multiple confirmation, timeout, and visual-cleaning options are included to keep charts readable while allowing traders to control signal strictness.
This tool is designed for traders who focus on liquidity, displacement, and precise execution, and works best as a confluence-based entry model rather than a standalone signal.
อินดิเคเตอร์ Pine Script®
PoW Floor Pricing ModelThis model was proposed by @paulewaulpaul as an attempt to model the cost of BTC production using Difficulty (input) and Issuance (output) as the key parameters. The following is paraphrased from the original research piece:
Difficulty D is taken as the estimated number of hashes required to mine a block (denoted in raw hashes). This is proportional to the energy consumption and the energy efficiency and reflects the demand. We use difficulty to estimate production costs. As mining becomes more efficient over time, hash rate becomes cheaper. Therefore we add a damping coefficient k and a scaling factor a (the cost per unit of adjusted difficulty). To get the value per coin, we divide by the issuance I. We get the values for a and k by fitting the function to price. For this we use the lows of the last two halving cycles, deep in the bear market when only the most efficient mining was profitable.
The PoW Floor Model is thus calculated as follows: PoW Floor Pricing Model = 2/3 * (sma(D,180)^0.41 / sum(I,180))
The damping coefficient is k = 0.41 and scaling factor a = 2/3. Statistically, this means that doubling the difficulty increases the estimated production cost by ~33%. We use a moving average for the difficulty and look at a 180 day period. For the upper bands we use the 1.41 and 2 multiples where the factor of 2 estimates the cost of production after the next halving event (assuming constant difficulty).
Coined By
kuntah in Bitcoin: Difficulty per Issuance - A PoW Pricing Model, Oct 2022
อินดิเคเตอร์ Pine Script®
EMA System **EMA System V6 (9/21/50/200) — Context, Pullback & Volume**
This indicator turns the classic 9/21/50/200 EMA stack into a simple, rule-based “trend + pullback” framework.
It’s designed to help you trade with **context**, not chase candles.
### Core idea
Price doesn’t “respect” indicators — but moving averages can act like a **map of participation** over time.
Different EMAs represent different horizons, and when they align, trends tend to behave cleaner.
### What it plots
* **EMA 9** (short-term momentum)
* **EMA 21** (pullback / re-entry zone)
* **EMA 50** (trend structure)
* **EMA 200** (macro filter / regime)
### Trend filter (high-probability context)
The script highlights a “trend-friendly” environment when:
* **Price is above EMA 200** → *Long bias / long-only mode*
* **EMA 21 is above EMA 50** → *Trend is considered valid*
* **Price is not below EMA 50** → *Avoid buying in weak structure*
### Pullback & Volume conditions
It then looks for trend continuation opportunities by checking:
* **Price pulls back near EMA 21**
(proximity is configurable by **ATR distance** or **% distance**)
* **Volume dries up during the pullback**
(volume must be below its SMA by a configurable factor)
### Signals
* **SET** = All filters are aligned and the pullback conditions are met (setup is ready)
* **BUY** = A bullish candle confirms the setup near EMA 21
(bullish candle definition is configurable)
### Built-in status panel
A small panel shows the current state:
* Long-only ON/OFF (EMA200)
* Trend valid / not valid (21 vs 50)
* Pullback near/far (EMA21 proximity)
* Volume dries up / not
* Buys OK / No buys (relative to EMA50)
### Notes
* This is an **indicator**, not a complete trading strategy.
* Signals are meant to be used with proper risk management and market structure.
* Works on any asset (crypto, forex, stocks) — best results typically appear in **clean trending markets**.
---
If you want, I can also add a short “one-liner” summary for the first line of the description (more marketing style), or a more technical version for serious quants.
อินดิเคเตอร์ Pine Script®
GNHVibezHigh and low between chinese opening market and new york opening. With buy and sell signals according to the Bollinger bands.
อินดิเคเตอร์ Pine Script®
Game Theory Strategic Indicator - Archery & Horse Riding Model# Game Theory Strategic Indicator - Archery & Horse Riding Model
## Overview
This indicator applies rigorous game theory mathematics to market analysis, modeling price action as a strategic two-player game between buyers and sellers. The methodology draws from economic game theory, evolutionary dynamics, and zero-sum game optimization.
## Theoretical Foundation
The indicator implements five core game theory concepts:
**1. Expected Utility (Mixed Strategies)**
Calculates E = p×U₁ + (1-p)×U₂ where:
- p = probability distribution based on volume dynamics
- U₁, U₂ = utility payoffs for aggressive vs defensive strategies
- Uses RSI momentum and ATR volatility to quantify payoffs
**2. Nash Equilibrium Detection**
Identifies market states where ui(σᵢ*, σ₋ᵢ*) ≥ ui(σᵢ, σ₋ᵢ*):
- Measures when no participant can improve by changing strategy
- Highlighted with yellow background zones
- Signals reduced edge environments (avoid trading)
**3. Replicator Dynamics**
Models evolutionary strategy adaptation: dx/dt = x(f(x) - φ(x))
- Tracks frequency changes in bullish vs bearish strategies
- Shows which approach is gaining evolutionary fitness
- Purple line indicates strategy evolution trend
**4. Minimax Algorithm**
Implements zero-sum game optimal strategy L(x,y):
- Calculates win/loss ratio over lookback period
- Values > 1.0 suggest favorable risk/reward
- Orange line shows deviation from neutral state
**5. Best Response Function**
Determines optimal action maximizing ui(aᵢ, a₋ᵢ):
- Compares buyer vs seller expected utilities
- Generates primary long/short signals
- Confidence weighted by utility differential
## Visual Elements
**Chart Plots:**
- **Blue Line (Utility Differential)**: Buyer utility minus seller utility. Positive favors longs, negative favors shorts
- **Purple Line (Replicator Dynamics)**: Rate of strategy evolution. Rising = bullish strategies gaining fitness
- **Orange Line (Minimax Deviation)**: Zero-sum game value. Above zero = favorable conditions
- **Pink Area (Mixed Strategy Bias)**: Probability-weighted strategy preference
- **Yellow Background**: Nash equilibrium zones where no player has edge
**Signals:**
- **Green Triangle Up**: Long signal - buyer utility dominates outside equilibrium
- **Red Triangle Down**: Short signal - seller utility dominates outside equilibrium
- **Yellow Diamond**: Equilibrium warning - reduced edge state
**Info Table (Top Right):**
- EU Buyer/Seller: Current expected utilities
- Nash Score: Equilibrium strength (>0.65 = equilibrium)
- Mix Prob: Volume-based probability distribution
- Minimax: Win/loss ratio indicator
## Strategy Metaphors
**Archery (Buyer Strategy)**: Represents precision attacks - targeted entries at optimal risk/reward points, high accuracy required
**Horse Riding (Seller Strategy)**: Represents mobile defense - flexible positioning, quick exits, adaptive to changing terrain
## Parameters
- **Strategy Period (14)**: Lookback for RSI and ATR calculations
- **Mixed Strategy Length (21)**: Period for minimax win/loss analysis
- **Nash Equilibrium Threshold (0.65)**: Minimum score to identify equilibrium (0.5-0.9)
- **Show Trade Signals**: Toggle buy/sell arrows
- **Show Equilibrium Zones**: Toggle background highlighting
## How to Use
1. **Trend Trading**: Take long signals when utility differential (blue) is rising and no equilibrium zone present
2. **Counter-Trend**: Take signals when replicator dynamics (purple) diverges from price
3. **Risk Management**: Avoid trading during yellow equilibrium zones - market has no clear edge
4. **Confirmation**: Best signals occur when minimax > 1.0 and best response aligns with utility differential
5. **Monitoring**: Watch info table for real-time utility balance and equilibrium status
## Alerts
Three alert conditions available:
- **GT Long Signal**: Buyer utility dominates, composite score > 0.5
- **GT Short Signal**: Seller utility dominates, composite score < -0.5
- **Nash Equilibrium**: Market reaches balanced state, avoid new entries
## Mathematical Rigor
All calculations use proper game theory formulations:
- Payoff functions normalized by volatility
- Probability distributions bounded
- Zero-division protection implemented
- Utilities properly weighted in composite score
## Originality Statement
This indicator is original work implementing classical game theory mathematics in a novel market analysis framework. The code, calculations, and interpretation methodology are entirely my own creation. No external scripts were copied or modified.
## Disclaimer
This indicator is for educational purposes. Game theory provides a framework for analyzing strategic interaction but does not guarantee profitable trading. Always use proper risk management, test thoroughly, and understand that past performance does not indicate future results.
---
**Educational Resource**: For deeper understanding of game theory in economics, see Nash (1950) "Equilibrium Points in N-Person Games" and Maynard Smith (1982) "Evolution and the Theory of Games"
```
---
อินดิเคเตอร์ Pine Script®
Strat Numbers Daily Weekly and Monthly Levels plus 50% RuleTheSTRAT, a niche yet popular trading strategy, was developed by Rob Smith over his 30-year career in the financial markets. The method is praised for its objectivity and systematic approach, while its complexity and unique perspective make it less widely understood. TheSTRAT is a multi-timeframe strategy that focuses on three primary components: Inside Bars, Directional Bars, and Outside Bars. The approach also emphasizes several key principles, including Full Time Frame Continuity, Broadening Formations, and the significance of Inside Bars.
อินดิเคเตอร์ Pine Script®
Hybrid FVG: Active & Historical (Yairo).Hybrid FVG: Active & Historical (Quarterly Theory Ready)
Description: This indicator is designed for traders who follow Price Action and The Quarterly Theory. It identifies Fair Value Gaps (FVG) with high precision while maintaining a clutter-free chart.
Key Features:
Dynamic Midline (Mean Threshold): Each FVG includes a prominent midline. In institutional trading, the 50% level of a gap is a critical sensitivity point for price reversals or continuations.
Hybrid Visualization: All boxes are fixed between the origin candles (3-bar width). This allows you to track historical institutional footprints without long boxes obstructing your view.
Quarterly Theory Compatibility: Perfectly suited for identifying imbalances during specific time cycles or "Quarterly" shifts. Use the clean, short boxes to mark liquidity gaps that occur within key timing windows.
Smart Status Updates: * Blue/Red: Active Bullish/Bearish gaps.
Cyan (Light Blue): Mitigated/Filled gaps. The script automatically changes the color and removes the label once the price touches the gap, providing an instant visual cue of addressed liquidity.
Timeframe Labels: Automatically identifies and labels the timeframe of the gap (e.g., FVG 1H, FVG 4H).
How to Use: Focus on the Midline as a key reaction level. Use the color-coding to quickly distinguish between fresh liquidity and mitigated zones, especially when aligning with your Quarterly Theory cycles.
FVG, QuarterlyTheory, SMC, PriceAction, Liquidity, SmartMoney, ICT, Gap, OrderFlow, InstitutionalTrading
อินดิเคเตอร์ Pine Script®
MTF+ QuantMTF+ Quant - User Guide
📊 Overview
MTF+ Quant Enhanced is a professional-grade technical indicator that combines correlation analysis with advanced market microstructure metrics. It's designed for traders who want institutional-level insights into trend strength, market regime, and order flow dynamics.
🎯 What It Measures
Core Components
Three Correlation Lines (Fast/Medium/Slow)
Measures statistical correlation between price and time
Values range from -1.0 to +1.0
Positive values = Uptrend (price rising over time)
Negative values = Downtrend (price falling over time)
Near zero = No clear trend / choppy market
Microstructure Indicators
Volume Profile (purple circles): Price deviation from volume-weighted average
Order Flow Imbalance (orange stepped line): Buy vs sell pressure
Autocorrelation: Measures momentum persistence
Amplitude Overlay (blue line)
Volume-weighted momentum indicator
Shows price acceleration/deceleration
Leads the correlation lines
Regime Detection (background color)
Green background: Low volatility regime (trending favorable)
Red background: High volatility regime (caution)
No color: Normal volatility
Metrics Table (top right)
Real-time quantitative measurements
Order Flow, Vol Profile, Autocorrelation values
Hurst Exponent (if enabled)
Current volatility regime
📈 How to Read the Indicator
Signal Zones
+0.8 ═══════ EXTREME ZONE (overbought/exhaustion risk)
+0.4 ─────── STRONG UPTREND ZONE
+0.2 ······· SOFT UPTREND ZONE
0.0 ═══════ NEUTRAL (trend transition)
-0.2 ······· SOFT DOWNTREND ZONE
-0.4 ─────── STRONG DOWNTREND ZONE
-0.8 ═══════ EXTREME ZONE (oversold/exhaustion risk)
Line Interpretation
Fast Line (tan/beige): Short-term trend (12 bars)
Medium Line (cyan): Intermediate trend (24 bars)
Slow Line (white): Long-term trend (36 bars)
🚀 Trading Strategies
1. Trend Following (Recommended)
Entry Signals:
✅ All three lines above +0.2 and rising = Strong uptrend
✅ Fast crosses above Medium with both above zero = Buy signal
✅ Order Flow > 0.2 confirms buying pressure
Exit Signals:
🛑 Fast line reaches +0.8 (extreme zone) = Take profits
🛑 Fast crosses below Medium = Exit longs
🛑 Order Flow turns negative while Fast > +0.6 = Divergence warning
Example Trade:
Setup: Fast (0.35) > Medium (0.28) > Slow (0.15)
Order Flow: +0.25
Vol Profile: +0.18
Action: Enter long, target Fast = 0.7, stop below 0.0
2. Mean Reversion (Counter-Trend)
Entry Signals:
✅ Fast > +0.8 with Order Flow < 0 = Exhaustion, short opportunity
✅ Fast < -0.8 with Order Flow > 0 = Capitulation, long opportunity
✅ Hurst Exponent < 0.45 confirms mean-reverting market
Exit Signals:
🛑 Fast returns to zero line
🛑 Order Flow aligns with direction (divergence resolved)
Example Trade:
Setup: Fast = +0.85, Order Flow = -0.15
Autocorr: -0.3 (mean reversion mode)
Action: Short, target Fast = +0.2, tight stop
3. Regime-Based Trading
High Volatility Regime (red background):
Reduce position size 50%
Widen stops
Avoid breakout trades
Focus on support/resistance
Low Volatility Regime (green background):
Standard position sizing
Trend following works best
Breakouts more reliable
Normal Regime (no color):
Standard strategies apply
🔧 Configuration Guide
For Day Trading (scalping/intraday)
Fast: 8
Medium: 16
Slow: 24
Order Flow Window: 5
Vol Profile Window: 10
For Swing Trading (default - recommended)
Fast: 12
Medium: 24
Slow: 36
Order Flow Window: 10
Vol Profile Window: 20
For Position Trading (long-term)
Fast: 24
Medium: 50
Slow: 100
Order Flow Window: 20
Vol Profile Window: 50
📊 Advanced Features
Hurst Exponent (Enable in settings)
H > 0.55: Market is trending - use trend following
H = 0.45-0.55: Random walk - be cautious
H < 0.45: Mean reverting - use counter-trend strategies
Z-Score Normalization
When enabled, correlations are standardized across time periods. This helps identify truly extreme conditions vs normal volatility.
⚠️ Important Warnings
Extreme zones (±0.8) are NOT automatic reversal signals
Markets can stay extreme for extended periods
Always confirm with Order Flow divergence
Use multiple timeframes
Check higher timeframe (4H/Daily) for major trend
Use this indicator on your trading timeframe
Volume matters
Low volume signals are less reliable
Order Flow needs volume to be meaningful
Not a standalone system
Combine with support/resistance
Use proper risk management
Consider market context (news, events)
🎓 Practical Examples
Example 1: Perfect Bull Setup
Fast: +0.45 (rising)
Medium: +0.35 (rising)
Slow: +0.22 (rising)
Order Flow: +0.30
Vol Profile: +0.15
Amplitude: Rising
Background: Green (low vol)
Interpretation: Strong confirmed uptrend
Action: Hold longs, add on pullbacks to +0.3
Example 2: Exhaustion Warning
Fast: +0.82 (flattening)
Medium: +0.65 (still rising)
Slow: +0.48 (rising)
Order Flow: -0.10 (negative!)
Amplitude: Declining
Interpretation: Buyers exhausted despite high correlation
Action: Take profits, prepare for reversal
Example 3: Choppy Market
Fast: +0.15 → -0.10 → +0.05 (oscillating)
Medium: -0.05 (near zero)
Slow: +0.08 (near zero)
Autocorr: -0.25 (mean reverting)
Background: Red (high vol)
Interpretation: No clear trend, range-bound
Action: Avoid trend trades, wait for clarity
อินดิเคเตอร์ Pine Script®
Market Structure HH HL LH LLShow market structure using pivot high and pivot low which shows HH HL LH LL above/below the candles
อินดิเคเตอร์ Pine Script®
Ema200 Fractals + Dynamic ORB ZoneBasically and ema200 with the williams Fractales plus the opening range breakout which it will signal depending if it breaks to the upside or no
อินดิเคเตอร์ Pine Script®
HTRHere is the step-by-step process:
Copy the Code: Scroll up to the last block of code I provided (the "Final: Sessions + Days + Loopbacks (Replay Fixed)" version) and click the "Copy" button in the top right corner of the code block.
Open Pine Editor:
Go to your TradingView chart.
Look at the very bottom of the screen. You will see a tab labeled "Pine Editor". Click it to open the panel.
Paste the Code:
If there is already code in there (like a default script), delete everything so the editor is completely blank.
Paste the code you just copied (Ctrl+V or Cmd+V).
Save the Script:
Click the "Save" button (or "Untitled Script") in the top right of the Pine Editor panel.
Give it a name, for example: My Custom Session & Days.
Click Save.
Add to Chart:
Click the "Add to Chart" button (next to the Save button
อินดิเคเตอร์ Pine Script®
PoW Floor OscillatorThis model was proposed by @paulewaulpaul as an attempt to model the cost of BTC production using Difficulty (input) and Issuance (output) as the key parameters. The following is paraphrased from the original research piece:
Difficulty D is taken as the estimated number of hashes required to mine a block (denoted in raw hashes). This is proportional to the energy consumption and the energy efficiency and reflects the demand. We use difficulty to estimate production costs. As mining becomes more efficient over time, hash rate becomes cheaper. Therefore we add a damping coefficient k and a scaling factor a (the cost per unit of adjusted difficulty). To get the value per coin, we divide by the issuance I. We get the values for a and k by fitting the function to price. For this we use the lows of the last two halving cycles, deep in the bear market when only the most efficient mining was profitable.
The PoW Floor Model is thus calculated as follows: PoW Floor Pricing Model = 2/3 * (sma(D,180)^0.41 / sum(I,180))
The damping coefficient is k = 0.41 and scaling factor a = 2/3. Statistically, this means that doubling the difficulty increases the estimated production cost by ~33%. We use a moving average for the difficulty and look at a 180 day period. For the upper bands we use the 1.41 and 2 multiples where the factor of 2 estimates the cost of production after the next halving event (assuming constant difficulty).
Coined By
kuntah in Bitcoin: Difficulty per Issuance - A PoW Pricing Model, Oct 2022
อินดิเคเตอร์ Pine Script®
Supertrend Elite Trend System🏆 SUPERTREND ELITE TREND SYSTEM (SETS)
A sophisticated multi-indicator voting system designed for crypto trending markets, combining 10 powerful technical indicators with weighted scoring and trend confirmation.
📊 BACKTESTED PERFORMANCE (2018-2026):
- Total Return: +2,170%
- Win Rate: 30.23%
- Profit Factor: 2.4
- Max Drawdown: 41.72%
- Total Trades: 43
🎯 HOW IT WORKS:
The system uses 10 carefully selected indicators that "vote" on market direction:
1. Supertrend - Trend following baseline
2. ALMA - Smooth trend detection (Weight: 2)
3. CTI - Correlation Trend Indicator
4. STC - Sebastine Trend Catcher (Weight: 2)
5. GUNXO - Dual EMA trend sniper
6. DEMA DMI - Combined momentum & trend (Weight: 2)
7. MM - Market momentum indicator
8. DMI Loop - Directional movement analysis
9. Trend Oscillator - Fast/slow EMA divergence
10. Stochastic - Overbought/oversold conditions
Each indicator votes BULL (+1 or +2) or BEAR (-1 or -2), creating a weighted score out of 13 possible points.
🔥 SIGNAL GENERATION:
- STRONG BULL: Score difference > +4 (sustained 2 bars)
- WEAK BULL: Score difference > +1 (sustained 2 bars)
- WEAK BEAR: Score difference < -1 (sustained 2 bars)
- STRONG BEAR: Score difference < -4 (sustained 2 bars)
The 2-bar confirmation requirement filters out false signals and reduces whipsaws.
💎 BEST FOR:
- Crypto markets (BTC, ETH, major altcoins)
- 4H to Daily timeframes
- Trending markets (bull or bear)
- Long-term position holders
⚠️ NOT RECOMMENDED FOR:
- Ranging/sideways markets
- Scalping or day trading
- Low-volume altcoins
- High-frequency trading
📈 VISUAL FEATURES:
- Color-coded trend line below price (Green = Bull, Red = Bear)
- Real-time score dashboard showing bull/bear votes
- Clear action signals (BUY/HOLD, CAUTION, REDUCE, SELL/EXIT)
- Built-in alerts for trend changes
💡 STRATEGY:
The system is designed for "buy and hold during uptrends" approach. Enter on STRONG BULL or WEAK BULL signals, exit on WEAK BEAR or STRONG BEAR signals. Works best when combined with proper risk management and position sizing.
📱 ALERTS AVAILABLE:
- Strong Buy Signal
- Strong Sell Signal
- Trend Weakening Warning
- Bearish Turn Warning
Created and backtested by advanced algorithmic trading research. Not financial advice - always do your own research and never risk more than you can afford to lose.
กลยุทธ์ Pine Script®
ICT Macro Clock - Real-Time + Alerts⏰ ICT Macro Clock - Real-Time Alert Indicator
What It Does
Real-time clock indicator with automatic visual alerts for ICT Macro time windows (xx:50 to xx:15). Designed for traders following Inner Circle Trader methodology and Smart Money Concepts.
Key Features
🔔 Macro Window Detection
Automatically detects ICT Macro periods: xx:50 to xx:15 (26 minutes)
Visual blinking alert alternates colors every second
Clock enlarges to huge size during active windows
TradingView alerts trigger at xx:50
⏰ Real-Time Clock
Displays current time in H:M format
Adjustable GMT offset for any timezone
Compatible with Bar Replay mode
Updates every second in real-time
🎨 Full Customization
9 screen positions (top/middle/bottom × left/center/right)
Custom colors for normal, blink, and macro text
Adjustable text sizes
Customizable macro text template using {start} and {end} placeholders
Optional table borders
📱 TradingView Alerts
Get notified when each Macro window starts
Configure alerts for app, email, sound, or webhook
24 alerts per day (one per hour)
ICT Macro Windows Explained
In ICT methodology, Macro windows are 26-minute periods when institutional algorithms are most active:
High probability for liquidity sweeps
Optimal timing for Fair Value Gap formations
Increased volatility and displacement moves
Smart Money order execution periods
Perfect for:
Silver Bullet setups
Order block activations
Killzone trading
News release alignment
Settings Overview
⚙️ General Settings
GMT offset, table position, text sizes, borders, alerts
📝 Text Settings
Macro text template, text alignment
🎨 Clock Colors
Normal display colors
Blink alert colors
Macro text colors
Usage
Add indicator to your chart
Set your GMT offset (e.g., -5 for NY, +0 for London)
Choose table position
Customize colors to match your theme
Enable TradingView alerts if desired
Watch for visual alerts at xx:50
Example Template Formats
{start} - {end} - Macro → 14:50 - 15:15 - Macro
🔔 ICT {start}-{end} → 🔔 ICT 14:50-15:15
Macro: {start} to {end} → Macro: 14:50 to 15:15
Technical Details
Pine Script v5
Optimized performance (uses var and barstate.islast)
Works on all timeframes and markets
No repainting
Bar Replay compatible
Perfect For
✅ ICT traders
✅ Smart Money Concepts followers
✅ Forex and futures traders
✅ Intraday scalpers
✅ Anyone tracking institutional timing
Note: This is a timing tool, not a trading signal. Always use proper risk management and combine with your own analysis.
If you find this helpful, please leave a rating and share with fellow ICT traders! 🚀
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
Forex Renko LeaderboardForex Warlord: Kinetic Velocity Leaderboard
This indicator is a specialized dashboard designed to rank the 7 Major Forex pairs based on their real-time "Kinetic Velocity" and acceleration. Unlike standard strength meters that measure relative price change, the Warlord Engine calculates exactly how fast a pair is generating net profits per second, accounting for the "Physics" of the market: drag (spread costs) and inertia (lag).
It is designed specifically for momentum traders who need to know not just which pair is moving, but which pair is moving fast enough to overcome the cost of the spread and generate immediate net return.
HOW IT WORKS
The script runs a "Virtual Renko" simulation on your time-based chart (works best on 1-second or 1-minute timeframes). It tracks price movement in "Bricks" and calculates a standardized "Score" for each pair.
The Score represents "Net Pips per Second."
-- A positive score (> 0.00) means the price is moving fast enough to clear the spread and generate profit.
-- A negative score (< 0.00) means the price is moving too slowly, and the spread cost is eating the volatility.
The system then applies a "Smart Decay" penalty. If a pair is moving fast but starting to decelerate (slowing down), its score is penalized to prevent you from buying the top.
HOW TO USE IT
1. Attach the indicator to any chart (EURUSD, 1-Second or 1-Minute recommended for high-speed scalping).
2. Look at the Dashboard on the right side of the screen.
3. Identify the Rank #1 Pair. This is the currency currently moving with the highest velocity.
4. Check the "Action" Column:
-- TRADE (Green): The pair is Rank #1 AND its velocity is high enough to be profitable.
-- NO TRADE (Red): The pair is moving too slowly, or the spread cost is too high relative to the move.
-- SPREAD > MAX (Red): The calculated move does not clear your specified "Max Broker Cost."
-- NO TRADE (ZONE) (Red): The market is in the "Dead Zone" (typically 17:00-18:00 EST), where spreads widen and liquidity vanishes.
5. Check the "State" Icon:
-- Rocket: The pair is accelerating. This is the ideal entry signal.
-- Warning: The pair is decelerating. Caution is advised as momentum is fading.
ALERTS
The indicator features a built-in alert system. You can create an alert in TradingView to notify you specifically when the "Renko Leaderboard Ranking" changes. This allows you to wait for the market to tell you which pair is taking the lead without staring at the screen.
INPUTS & SETTINGS
-- Renko Brick Size (Pips): The most critical tuning knob. Determines the sensitivity of the engine. Smaller bricks (e.g., 2-3 pips) make it hyper-sensitive for scalping. Larger bricks (e.g., 10 pips) tune it for swing trends. Changing this instantly recalculates the entire board.
-- Max Broker Cost (Pips): Your "Hurdle Rate." If a pair's projected profit does not clear this cost (default 1.0 pip), the dashboard will forbid the trade.
-- Dead Zone Start/End (Hour): Hard-coded risk management. By default, it blocks all signals between 17:00 and 18:00 EST (New York Close) to protect you from high-spread rollover hours.
-- HMA Time Dilation: A smoothing factor to prevent noise on 1-second charts.
DISCLAIMER
This tool is for informational purposes only. It measures past velocity to rank current momentum. Past performance is not indicative of future results. Always verify the actual bid/ask spread on your broker before executing, as the script uses a fixed spread calculation.
อินดิเคเตอร์ Pine Script®
BTC vs M2 Global Index[MIT]Indicator Name:
M2 Global Liquidity Index vs BTC (Normalized + Deviation)
Description:
This powerful macro indicator compares the Global M2 Liquidity Index (USD-denominated broad money supply from major economies) with Bitcoin price, both normalized to the same scale.
It displays:
Normalized Global M2 (yellow line) — adjusted for its own 200-period moving average
Normalized BTC (white line) — adjusted for its own 200-period moving average
Deviation Bar (green/red columns) — shows how much M2 liquidity is leading or lagging BTC
Key Features:
Optional 108-day or 78-day forward offset on M2 data
Toggle between Base (5 major economies) and Extended (13 economies) versions
Clear deviation visualization: Positive (green) = M2 is outperforming BTC → bullish for risk assets; Negative (red) = M2 is lagging → caution or potential correction
Clean, professional layout in a separate pane
Best Use Cases:
Identify when global liquidity is expanding faster than BTC (early bull signal)
Spot liquidity divergences before major BTC tops or bottoms
Macro timing for Bitcoin, altcoins, and risk-on assets
A must-have tool for macro-driven BTC traders and liquidity cycle analysts.
中文版本
指标名称:
全球M2流动性指数 vs BTC 归一化偏差指标
指标介绍:
这是一个专为宏观交易者设计的专业级指标,通过将全球M2广义货币供应量(以美元计价)和比特币价格进行归一化处理,实现两者趋势的直观对比与偏差分析。
核心显示内容:
归一化全球M2曲线(黄色粗线)
归一化BTC价格曲线(白色线)
M2相对BTC的偏差柱状图(绿色/红色柱子)
主要功能:
支持 M2 数据前移 108 天或 78 天(领先显示)
可切换基础版(中美欧日英)与扩展版(13个主要经济体)
偏差柱清晰展示:绿色正偏差 = M2 流动性强于 BTC(利好风险资产);红色负偏差 = M2 滞后于 BTC(需警惕调整)
采用 200 周期归一化,使两者处于同一数量级,便于直接对比趋势强弱
อินดิเคเตอร์ Pine Script®
Unified Field: Clean FVG + Session POCTry it free. No guarantees. I find it useful for scalping. My ai wrote the code for it albeit, my idea. : )
อินดิเคเตอร์ Pine Script®






















