Ribbon LinesMA Ribbon Lines Indicator
Description
The MA Ribbon Lines indicator creates a visually intuitive moving average ribbon between two customizable moving averages. It plots 5 evenly spaced lines between the two main MAs, forming a gradient ribbon that helps visualize the relationship and convergence/divergence between the moving averages.
Key Features:
Dual Moving Average System: Configure two moving averages with customizable types (EMA, SMA, WMA, etc.), lengths, and sources
Visual Ribbon Display: Shows 5 colored lines between the MAs, creating a gradient effect that makes trend transitions easy to identify
Color-Coded Visualization:
Lines gradually transition from green (#056656) near MA #1 to red (#b22833) near MA #2
Central line in neutral gray (#363a45) for clear separation
Opacity levels highlight proximity to each MA
Global Offset Control: Adjust all lines simultaneously forward or backward in time
Clean Interface: Simple settings with no color inputs for a streamlined user experience
How to Use:
Trend Identification: Ribbon expansion indicates strong trend momentum, while ribbon contraction suggests potential trend change
Support/Resistance: The ribbon lines can act as dynamic support/resistance levels
Crossover Confirmation: Visualize the space between MAs to anticipate crossovers
Default Settings: EMA 50 (green) and EMA 100 (red) with 10-bar forward offset
Best For:
Trend following strategies
Visualizing moving average relationships
Identifying trend strength and potential reversals
Multi-timeframe analysis
The indicator provides a clean, professional visualization of moving average dynamics without cluttering the chart, making it ideal for traders who prefer visual analysis of trend relationships.
Chỉ báo và chiến lược
Intraday Session BehaviorThis indicator was built to study how price behaves throughout the trading day, from pre-London session to the New York close.
The goal was simple: identify recurring intraday tendencies, reversals, and consolidation phases based on time, not indicators.
I created this script to visually segment key intraday windows and then ran 100 manual backtests to observe where price most frequently shifts direction or changes behavior.
Key observation:
Across multiple samples, 8:00 AM NY time showed the highest frequency of reversals, often aligning with positioning ahead of the New York open.
This tool is not a signal generator. It’s designed for context, study, and confluence — especially for traders focused on session-based trading, liquidity behavior, and intraday structure.
Use it as a framework to:
Study session transitions
Refine time-based playbooks
Combine with your own strategy, structure, and risk management
Built the old-school way: observe, test, repeat.
[COG] Platypus Platypus
Overview
Platypus is a volume momentum indicator that combines price action, volume analysis, and multi-timeframe confirmation to generate trade signals. Unlike traditional volume indicators, Platypus reconstructs volume momentum by factoring in price velocity, volatility adjustment, and market structure to identify true institutional momentum shifts.
The indicator features a comprehensive filtering system including EMA alignment, background state confirmation, and optional multi-timeframe filters to eliminate false signals and ensure you only trade with the strongest momentum.
Key Features
✅ Volume Momentum Calculation
Volatility-Adjusted Volume: Normalizes volume relative to recent volatility periods
Quiet Market Filtering: Reduces noise during low-activity periods
Spike Detection: Identifies abnormal volume surges with boosted weighting
Momentum Smoothing: EMA-based smoothing prevents erratic signals
✅ Entry Pattern Detection
3-Bar Pattern Requirement: RED → GREEN → GREEN for buys (opposite for sells)
State Management: Prevents consecutive signals in same direction without reset
Background Confirmation: Must align with bullish/bearish market state
EMA Alignment Filter: Ensures trend structure supports the trade direction
✅ Multi-Timeframe Filtering System
HTF Closed Bar Filter: Confirms last closed higher timeframe bar matches direction (no repaint)
HTF Momentum Filter: Requires current HTF bar to match direction (live, prevents delayed entries)
Dual-Filter Capability: Use both filters for maximum precision
✅ Dashboard
Real-time Status Monitoring: Volume trend, background state, EMA order, trade state
Filter Status Display: Shows HTF filter conditions and signal permission
Pattern Detection: Indicates when 3-bar entry pattern is forming
✅ On-Chart Integration
50/100/200 EMAs: Automatically plotted on price chart with customizable colors
Visual Entry Markers: Triangle signals appear on price chart at entry points
Signal Alerts: Built-in alert conditions for all signal types
📚 Core Settings Explained
signalPeriod = input.int(8, "Signal Period", minval=1, group="Core Settings")
Signal Period (Default: 8): Controls the smoothing of the signal line (blue line). Lower values = more responsive, higher values = smoother but slower to react.
volatilityPeriod = input.int(20, "Volatility Period", minval=1, group="Core Settings")
Volatility Period (Default: 20): Lookback period for volume and price range calculations. This period is used to normalize volume relative to recent market conditions.
priceFilterLength = input.int(200, "Price Filter MA Length", minval=1, group="Core Settings")
Price Filter MA Length (Default: 200): The SMA period used for background state determination. Price must be above this MA for bullish background, below for bearish background.
Advanced Settings
momentumMultiplier = input.float(50.0, "Momentum Multiplier", minval=20.0, maxval=80.0, step=2.0, group="Advanced")
Momentum Multiplier (Default: 50.0): Scales the final momentum score. Higher values = larger histogram bars and more sensitivity. Adjust based on your instrument's volatility.
momentumSmoothing = input.int(4, "Momentum Smoothing", minval=1, maxval=15, group="Advanced")
Momentum Smoothing (Default: 4): EMA period applied to raw momentum before normalization. Higher values reduce noise but add lag.
quietThreshold = input.float(0.3, "Quiet Market Filter", minval=0.0, maxval=1.0, step=0.05, group="Advanced")
Quiet Market Filter (Default: 0.3): During low-volume periods, this applies exponential dampening to momentum. Higher values = more aggressive filtering of weak moves.
volStrengthFactor = volRatio < (1.0 + quietThreshold) ? math.pow(volRatio, 2) : volRatio
When volume is less than average + threshold, it squares the ratio (dampening), otherwise uses linear scaling.
RMA vs EMA Comparison ToolIf you're looking for a quick entry point to follow a trend, it's best to look at the EMA.
If you need confirmation of a long-term trend change or are working with oscillators (like the RSI), use the RMA.
What to look for on the chart:
Reaction speed: You'll notice that the EMA (red line) adheres much more closely to the price. It reacts more quickly to sharp reversals or impulses.
Smoothness: The RMA (blue line) appears smoother and "lazier." It changes direction more slowly, which helps filter out false signals (noise), but allows for a slightly later entry into a trade.
Distance: During periods of strong trending, the RMA is usually further from the price than the EMA of the same period.
Vietnam Asset Monitoring ToolVietNamese Asset Correlation Tracking Chart
This chart monitors the relationship between major asset classes which Vietnamese analyst should monitor:
Gold Price: Gold is currently in the spotlight as international trade tensions show no signs of easing.
U.S. Dollar Index (DXY): The strength of the U.S. dollar, a key indicator that has relative correlations with most asset classes.
VN30: Vietnam’s benchmark stock index, representing the top 30 leading listed companies.
VNREAL: The stock index tracking Vietnam’s real estate–related companies.
Hanoi Residential Property Prices: Apartment and landed house prices in Hanoi, compiled and aggregated by **VietRealty.Pro**
Development in progress..
EMA20 and 10 PullbackStrategy Logic
Uses EMA 10, EMA 20, and VWAP for trend filtering
Identifies strong bullish and bearish trends
Waits for controlled pullbacks (1–3 candles) near EMA20
Triggers entries only on engulfing confirmation candles
Generates BUY signals in uptrends and SELL signals in downtrends
Key Features
Works best on NIFTY and liquid stocks
Avoids sideways markets by using EMA alignment + VWAP
Non-repainting, rule-based logic
Suitable for manual trading or alert-based automation
Alerts compatible with webhooks (n8n / Google Sheets)
Recommended Usage
Timeframe: 5-minute
Market: Trending sessions
Stop-loss: Below EMA20 or engulfing candle
Target: 1:1.5 – 1:2 R:R or EMA10 trailing
MA ATR RangeExponencial Moving average with 3 ATR ranges. It shows trend and overbought and oversold levels.
Break & Retest 369Break & Retest 369
The Break & Retest 369 is a high-precision technical indicator designed for price action traders who specialize in market structure shifts and "S/R Flip" (Support becoming Resistance and vice versa) strategies. Unlike standard oscillators that lag behind price, this tool focuses on **horizontal price levels** that have historically acted as turning points, providing visual zones where the market is likely to offer a "second chance" entry.
Core Philosophy
The script is built on the principle of Market Memory. In a trending market, a "Breakout" signifies a change in order flow. However, smart money often returns to the point of origin (the breakout level) to fill remaining orders or test the strength of the new trend. This indicator automates the identification of these "Retest" zones, which are often the highest-probability entry points for trend continuation.
How It Works: The Logic
The indicator follows a strict, multi-step calculation process:
1. Swing Point Identification: It utilizes a Pivot High/Low** algorithm. It scans for "peaks" and "valleys" that are isolated by a specific number of bars on either side (defined by the `Lookback` input).
2. **Breakout Detection:** The script monitors these pivot levels. A **Buy Zone** is triggered only when the price achieves a clean **Close** above a previous Pivot High. Conversely, a **Sell Zone** is triggered by a **Close** below a previous Pivot Low.
3. **Zone Construction:** Once a break is confirmed, the script draws a box centered exactly at the price level of the broken pivot.
4. **Forward Projection:** These zones are projected forward in time using the `Zone Extension` parameter, creating a visual "landing strip" for future price action.
### Key Features & How to Use It
* **Dynamic Support/Resistance Flips:** Green zones represent former resistance levels that are now expected to act as support. Red zones represent former support levels now expected to act as resistance.
* **Zone Customization:** Traders can adjust the `Zone Height (Ticks)` to account for market volatility or specific asset spreads (e.g., wider zones for XAUUSD, tighter for EURUSD).
* **Scannability:** The script helps traders filter out the "noise" of mid-range price movement and focus only on significant structural levels.
### Default Configuration
To get the most out of the **369** logic, the indicator comes pre-configured with the following defaults:
* **Swing Detection Lookback (18):** Optimized for medium-term structure, avoiding "micro-pivots" that lead to false signals.
* **Zone Height (1 Tick):** Focuses on the precise price point of the pivot for maximum accuracy.
* **Zone Extension (90 Bars):** Projects levels far enough to catch "deep" retests that occur several hours or days later.
---
### Pro Tip for Traders
Wait for price to return to a **Buy Zone** and look for a bullish rejection candle (like a pin bar or engulfing candle) before entering. This combines the "Where" (the zone) with the "When" (the price action confirmation) for a robust trading system.
Would you like me to add a **"Mitigation"** feature that automatically deletes or fades the zone once the price has successfully touched it?
SILVER (XAGUSD) Targets📌 AG Target – XAU-Based Silver Target Levels
AG Target is a ratio-based indicator designed to analyze Silver (XAGUSD) using the price of Gold (XAUUSD) as a reference.
The indicator projects dynamic target, support, and resistance levels on the silver chart by dividing the Gold price by historically significant XAU/XAG ratios.
🔍 How It Works
Retrieves XAUUSD (Gold spot price)
Divides it by predefined XAU/XAG ratio levels
Plots the resulting values directly on the XAGUSD chart
Fixed ratio levels used:
44.260
39.628
31.707
These ratios represent historically important zones in the Gold–Silver ratio.
🎨 Visual Logic
Green line → XAG price is above the level
Red line → XAG price is below the level
Line thickness increases with level importance
🚨 Alert System
The indicator includes individual alerts and one combined alert:
Separate alerts for each ratio level crossover
A single combined alert triggers when XAG price crosses any of the target levels
Alerts are triggered only on real cross events, avoiding repeated signals.
🏷️ Label Features
Automatic target labels on the last bar
Toggle labels on/off
Adjustable transparency, size, and horizontal offset
Labels display:
Current target price
Corresponding XAU/XAG ratio
🎯 Who Is This For?
Traders using the Gold–Silver ratio
Macro and ratio-based analysts
Medium to long-term silver traders
Users who prefer clean, objective price levels on their charts
⚠️ Disclaimer
This indicator is not financial advice.
It is designed as a ratio-based reference tool and should be used together with other technical or fundamental analysis methods.
A+ Pullback & Continuation 3 ema pullback und continuation
signale buy sell nach pullback
ema müssen übereinander sein
buy sell signals after pullback
ema have to be clear
Pivot Points Detector - ATR basedThis pivot points detector is a precision-tuned momentum and structural pivot detector designed specifically for high-frequency scalpers (like those trading ES or NQ on the 15-second timeframe).
By combining dynamic volatility filters with structural displacement requirements, it isolates high-conviction reversal points while filtering out the "noise" of lower-timeframe chop.
How It Works
This indicator utilizes a three-gate logic system to ensure that only the most significant market turns are highlighted:
Gate 1: The ATR Momentum Break
The system monitors an ATR (12 / 2.0) trailing stop. A potential pivot is only identified when the price successfully closes across this volatility line, proving that immediate momentum has shifted.
Gate 2: Absolute Structural Anchor
Once a trend change is triggered, the indicator performs a 60-bar retrospective scan (approximately 15 minutes of data) to identify the absolute Highest High or Lowest Low that initiated the move. This pins the marker to the "Source" of the trend rather than the signal bar itself.
Gate 3: The Persistence Proof (Faded vs. Solid)
To prevent "fake outs," the indicator uses a unique faded logic:
Faded Triangle: Appears instantly at the pivot source as a "potential" setup.
12-Tick Run: The triangle only turns Solid if the price travels 12 ticks from that absolute pivot without crossing back over the ATR trail.
Auto-Deletion: If the momentum fails and the ATR trail is breached before the 12-tick target is hit, the faded triangle is automatically wiped from the chart.
Key Features
Clean Visuals: Triangles are printed with a 2-tick offset from the candle wicks for maximum readability.
Label Memory Management: The script maintains a history of the last 200 triangles, ensuring performance stability during long trading sessions.
Fully Customizable: Users can adjust the ATR multiplier, the structural lookback window, the tick-confirmation target, and all visual colors directly from the settings menu.
Trend-Change Focus: Unlike standard Zig-Zags that repainting or mark every wiggle, this tool only prints a marker when a formal ATR trend flip occurs.
Best Use Case: This tool is built for the scalper who needs a reliable "Hard Level" for stop-loss management and re-entry identification. When a triangle turns Solid, it represents a verified structural floor or ceiling that has shown displacement strength.
MACD/PPO ALMA EditionMACD – a trend-following indicator that "always too late" indicates what's happening on the chart.
To make this indicator traditionally considered "good but too late" based on the ALMA moving average:
The Arnaud Legoux Moving Average (ALMA) is a technical indicator designed to reduce lag and noise in price data by applying a Gaussian filter, offering a smoother and more responsive alternative to traditional SMAs and EMAs.
Key Aspects of ALMA:
Key Parameters: ALMA uses three main settings: Window Size (length), Offset (offsets focus on recent prices, typically 0.85), and Sigma (controls the smoothness of the curve, typically 6).
Reduced Latency: By shifting the Gaussian distribution toward the most recent data (offset to 1), ALMA responds faster to price changes, helping to avoid false signals in uncertain, low-volatility conditions.
Using ALMA instead of EMA/SMA in the code significantly improves the smoothness and speed of signal appearance, which facilitates decision-making.
The code features three significant changes compared to traditional methods:
1. The price is determined based on (open+close)/2 - why is this? - theoretically, the volume-weighted asset value is always between the opening and closing prices, so I considered averaging it to be a good value.
2. Additional coloring of the trend change after the curves intersect to indicate an increase or decrease in trend strength.
3. Using PPO normalization allows for comparison of the dynamics of different stocks, as its values are normalized percentages and not absolute MACD values.
I most often use Heikin Ashi – the chart is very smooth and does not significantly affect the quick identification of trend changes.
Celestial StateCelestial State (C1) – Market Bias & Candle Intent
Celestial State (C1) is a price-action indicator designed to clarify market bias, momentum, and risk conditions using nothing but candle structure.
No indicators.
No lag.
Just clean candle logic.
The tool separates state (what the market is) from intent (what the market is doing right now).
🔹 Core Concept
The indicator works on the chart timeframe and uses closed candles only to define market state.
It then monitors the current candle to identify:
momentum confirmation
early warnings
potential trap / reversal behaviour
🔹 Market State (Based on C1 – last closed candle)
State is derived from the relationship between the last two closed candles:
Bull Trend Start
Bearish candle → Bullish candle
Bull Continuation
Bullish candle → Bullish candle
Bear Trend Start
Bullish candle → Bearish candle
Bear Continuation
Bearish candle → Bearish candle
This defines the directional environment before any decision is made.
🔹 Bias & Momentum (Live Candle)
Once state is defined, the current candle is monitored relative to the previous candle’s high and low.
Strong Buy
Bullish state
Previous candle bullish
Current candle breaks previous high
Strong Sell
Bearish state
Previous candle bearish
Current candle breaks previous low
These represent momentum continuation with confirmation.
Buy / Sell (Normal Bias)
Price is in a bullish or bearish state
No momentum break yet
This is directional bias without confirmation.
Changing Bias
Bullish state + previous low broken
Bearish state + previous high broken
This warns that control is being challenged and conditions may be shifting.
🔹 Flip (Strict Order)
A Flip is a high-risk condition where expansion fails:
Bull Flip
Current candle breaks previous high first, then breaks previous low
Bear Flip
Current candle breaks previous low first, then breaks previous high
This often signals:
failed breakouts
stop hunts
transition zones
🔹 Visual Output
Top-right panel shows:
Current Celestial State (C1)
Current Bias (Strong Buy / Sell / Changing Bias)
Short explanation (e.g. High broken, Low broken)
On-chart markers are intentionally minimal and offset away from price to reduce clutter.
🔹 Who This Is For
This indicator is built for traders who:
trade price action
want context before execution
prefer clarity over complexity
understand that bias ≠ entry
⚠️ Disclaimer
This tool does not provide entries, exits, or risk management.
It is a context and intent framework, not a signal system.
Use it as a decision-support layer alongside your own execution rules.
Bank Nifty RSI Dynamic v6This is a specialized mean-reversion strategy designed for Bank Nifty (NSE:NIFTYBANK) on the 5-minute timeframe. It focuses on capturing rapid reversals when the market reaches extreme overbought or oversold conditions based on the Relative Strength Index (RSI).
Unlike standard RSI strategies that wait for a cross back into the neutral zone, this script uses asymmetric dynamic exits to lock in profits early as momentum shifts.
How it Works
Timeframe: Optimized for 5m (Intraday).
Bullish Entry (Call): Triggers when the RSI closes below 30. This identifies a potential "exhaustion" in selling pressure.
Bearish Entry (Put): Triggers when the RSI closes above 68. This identifies a potential "overextension" in buying pressure.
Dynamic Exits:
Calls are closed when RSI recovers to 45.
Puts are closed when RSI cools down to 56.
Position Sizing: Fixed at 3 Lots (90 units), calibrated for the 2026 Bank Nifty lot size.
Key Features
Pine Script v6: Built using the latest TradingView standards for faster execution and better backtesting accuracy.
Capital Efficiency: Includes a zero-margin override to ensure the backtester reflects the full 3-lot position regardless of account leverage settings.
Visual Signals: Uses clear plotshape triangles (Green for Call, Red for Put) directly on the price chart for easy manual execution or alert monitoring.
Risk Disclaimer
Bank Nifty is highly volatile. This strategy does not include a fixed stop loss by default (exits are momentum-based), so users should be prepared for drawdowns during strong trending phases where RSI remains in extreme zones for extended periods. Always backtest on your preferred broker's data before going live.
Traforetto Strategy (Tactica Adversa)test Traforetto Strategy (Tactica Adversa) I try to explane hau it will be work realy
MTF - OHLC - AMDPO3 Extension – Key Features
SMT
-Shows correlations between multiple instruments (e.g., Pair 2, Pair 3).
-Auto-matching of pairs to highlight synchronized movements.
-Does not include SMT with DXY.
HTF Projection (High Time Frame)
-Projects higher timeframe levels directly onto the current chart.
-Supports multiple HTFs (e.g., 1H, 4H, Daily, Weekly) with customizable number of candles.
-Shows mid lines and key candle levels for HTFs.
-Full visual customization: candle body, border, and spike colors for bull and bear.
-Options for labels above/below candles and PSP display.
-Manage offsets for candle distance and visual sizing.
Multi-Timeframe and Separators
-Displays levels and period separators across multiple timeframes: for example, on 1m chart,
you can see 15m and 4H references.
-Ideal for strategies combining MTF, HTF, and LTF.
Manipulation Detection (AMD)
-Identifies accumulation, manipulation, and distribution zones.
-Activates manipulation signal when a candle wipes out the previous High or Low and closes
back within the range.
-Highlights CISD zones related to manipulation or HTF SMT.
Advanced Level Analysis
-Tracks daily levels with minimum distance between them.
Visual for HTF - MTF - LTF
Mode 1
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 4h → D → W"
"5m → 1h → D → M → 3M"
"15m → 4h → W → M → 3M"
"30m → 4h → W → M → 3M"
"1h → D → M → 3M"
"4h → W → M"
"D → M"
"W → M"
Mode 2
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 1h → 4h → D"
"5m → 1h → 4h → D → W"
"15m → 1h → 4h → D → W"
"30m → 1h → 4h → D → W"
"1h → 4h → D → W → M"
"4h → D → W → M"
"D → W → M"
"W → M"
Model SMT: Same TF but Correlated Pairs
Model Manual: use the manually set TF (HTF 1 - HTF 2 - HTF 3 - HTF 4)"
With this indicator, you'll have a clearer view of what it can do to the price.
For example, if we're bullish and see manipulation on the highs in HTF and CISD confirmation in LTF, we can predict that the price will fall to the TP level.
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. The author takes no responsibility for any losses or damages resulting from the use of this script. Trading involves risk, and you are solely responsible for your trading decisions.
SMA Dow-Flow MTF (SAXO Logical Alert)This script is an advanced MTF (multi-timeframe) monitor that combines the concepts of Dow Theory and SMA (Single Moving Average) to capture the moment when trends align across multiple timeframes. It is particularly focused on visualizing when lower timeframes synchronize with the direction of higher timeframes, without being distracted by short-term noise. 1. Trend Determination Mechanism (Core Logic): Rather than the usual simple determination of whether a price is above or below a moving average, this is based on updates of "low lows and highs." Pivot Detection: Points where the SMA moves in a "V" or "inverted V" shape are recorded as reversal candidates ($lastH$, $lastL$). Trend Reversal Conditions: Uptrend: When the price clearly breaks above the most recent SMA high ($lastH$). Downtrend: When the price clearly breaks below the most recent SMA low ($lastL$). 2. Indicator Features ① Sync Hierarchy: This script counts the degree to which the direction of each time period matches that of the higher time period, starting from the lower time period. The 5-minute time period forms a trend. The 15-minute time period follows the same direction as the 5-minute time period. The 1-hour time period follows the same direction as the 15-minute time period... (continues up to the daily time period). This ensures that an alert is sent out when the larger trend (daily or 4-hourly) swallows up the smaller trend (5-minute or 15-minute). ② Set Selection: You can switch between the "Yen Set (AUDJPY, EURJPY, etc.)" and the "Dollar Set (EURUSD, GBPUSD, etc.)." This allows you to grasp the strength or weakness of a specific currency (e.g., a weak yen or a strong dollar) at a glance.
This script's alert function does not simply sound when the trends match, but is designed to pinpoint the moment when the number of trend synchronizations increases (i.e., when momentum increases).
Below, we will explain in detail how it works and the meaning of the notifications.
1. Alert Conditions
An alert will only be triggered when all three of the following conditions are met.
Increase in Sync Count: For example, if only two time frames, the 5-minute and 15-minute ones, were aligned (Sync: 2), and the 1-hour one also aligns in the same direction (Sync: 3), the alert will be triggered.
Above the set minimum count (alert_min): The default setting is "3." In this case, a notification will be triggered the moment three, four, or five time frames are synchronized.
Selected Set Only: If the "Yen Set" is displayed, an alert will not be triggered even if a currency pair in the Dollar Set is synchronized.
2. How to Read the Alert Message
When you receive a notification, the following message will be displayed.
USDJPY: 4-Bar Synchronization (Upward)
USDJPY: A Currency Pair Gaining Momentum
4-Bar Synchronization: Indicates that the direction of the four timeframes (5-minute, 15-minute, 1-hour, and 4-hour) is consistent, starting with the lowest timeframe.
Upward/Downward: The direction of the synchronization.
このスクリプトは、「ダウ理論」と「移動平均線(SMA)」の考え方を組み合わせ、複数の時間足でトレンドが揃った瞬間を捉えるための高度なMTF(マルチタイムフレーム)モニターです。特に、短期的なノイズに惑わされず、上位足の方向に下位足が同期したタイミングを視覚化することに特化しています。1. トレンド判断の仕組み(コアロジック)通常の「移動平均線より上か下か」という単純な判定ではなく、「押し安値・戻り高値」の更新をベースにしています。ピボットの検知: SMAが「V字」または「逆V字」に動いた地点を、反転の候補($lastH$, $lastL$)として記録します。トレンド転換の条件:上昇トレンド: 価格が直近のSMA高値($lastH$)を明確に上抜けたとき。下落トレンド: 価格が直近のSMA安値($lastL$)を明確に下抜けたとき。2. インジケーターの特徴① 同期(Sync)の階層構造このスクリプトは、下位足から順に「どれだけ上位足と方向が一致しているか」をカウントします。5分足がトレンドを形成。15分足が5分足と同じ方向。1時間足が15分足と同じ方向……(日足まで続く)これにより、「大きな流れ(日足・4時間足)に、小さな流れ(5分・15分)が飲み込まれた瞬間」を逃さずアラート通知します。② セット選択機能「円セット(AUDJPY, EURJPYなど)」と「ドルセット(EURUSD, GBPUSDなど)」を切り替えて表示できます。これにより、特定の通貨の強弱(円安・ドル高など)を一目で把握できるのが強みです。
このスクリプトのアラート機能は、単に「トレンドが一致した」ときに鳴るのではなく、**「トレンドの同期数が増加した瞬間(=勢いが増した瞬間)」**をピンポイントで通知するように設計されています。
以下に、その仕組みと通知内容の意味を詳しく解説します。
1. アラートが発生する条件
アラートは、以下の3つの条件がすべて揃った時にのみ発信されます。
同期数(Sync Count)の増加: 例えば、それまで「5分足と15分足」の2つしか揃っていなかった(Sync: 2)のが、新しく「1時間足」も同じ方向に揃った(Sync: 3)という変化の瞬間に鳴ります。
設定した最小数以上 (alert_min): 初期設定では「3」になっています。この場合、3つ、4つ、または5つの時間足が同期した瞬間に通知が飛びます。
選択中のセットのみ: 「円セット」を表示している時は、ドルセットの通貨ペアが同期してもアラートは鳴りません。
2. アラートメッセージの読み方
通知が来ると、以下のようなメッセージが表示されます。
USDJPY: 4足同期 (上昇)
USDJPY: 勢いが出た通貨ペア
4足同期: 下位足から順に「5分・15分・1時間・4時間」の4つの時間足で方向が一致したことを示します。
上昇 / 下落: その同期している方向です。
Three Green Candles Screener - % Move & Volume1️⃣ Core purpose (big picture)
The indicator identifies stocks that:
Have 2 or 3 consecutive green candles
Are above a 21-EMA (trend filter)
Have reasonable % price movement (not overextended)
Show current volume, average volume, and turnover
Show daily and weekly % price change
It’s meant for short-term momentum screening (swing / positional / breakout prep).
2️⃣ Trend filter (EMA)
ema21 = ta.ema(close, emaLength)
Uses a 21-period EMA
All buy signals require price > EMA
This avoids counter-trend setups
3️⃣ Three Green Candles logic (main signal)
threeGreen = (close > open) and (close > open ) and (close > open )
This checks for three consecutive bullish candles.
Then it calculates:
% change for each candle (open → close)
Average % change across the 3 candles
avgChg = (chg0 + chg1 + chg2) / 3
✅ 3-Green signal triggers when:
3 consecutive green candles
Average % change ≤ user-defined max (default 10%)
Price above EMA21
➡ Output:
signal = 1 // Buy flag
signal = 0 // No action
This avoids parabolic / news-spike candles.
4️⃣ Two Green Candles logic (early signal)
This is a lighter, earlier version of the same logic.
twoGreen = (close > open) and (close > open )
avgChg2 = (chg0 + chg1) / 2
✅ 2-Green signal triggers when:
2 consecutive green candles
Average % change ≤ maxAvgChange
Price above EMA21
➡ Output:
signal2 = 1 // Early momentum
This helps catch moves one day earlier than the 3-green setup.
5️⃣ Volume & liquidity context (important)
Average volume (7 days)
avgVol7 = ta.sma(volume, 7) / 1e6
Shows liquidity trend
Units: Millions of shares
Today’s volume
todayVol = volume / 1e6
Helps confirm participation
6️⃣ Turnover (Price × Volume)
priceVolCrore = (close * volume) / 1e7
Measures capital flow, not just volume
Output in ₹ Crores
Helps filter:
Low-value pump candles
Illiquid stocks
7️⃣ % price movement
Daily move
pctDay = (close - close ) / close * 100
Weekly move (5 bars)
pctWeek = (close - close ) / close * 100
These give context, not signals:
Is this early?
Is it already extended?
8️⃣ Visual outputs (what you see)
Plots (in the indicator pane)
CMP (current price)
3-Green signal (0 / 1)
2-Green signal (0 / 1)
Avg 7-day volume (M)
Today’s volume (M)
Turnover (₹ Cr)
Day % move
Week % move
This makes it usable as a visual screener.
9️⃣ Summary table (top-right)
On the latest bar only, it shows:
Field Meaning
CMP Current price
Today Vol (M) Today’s volume
Turnover (Cr) Value traded
Day / Week % Momentum context
Compact, readable, no clutter.
10️⃣ What this indicator is GOOD for
✅ Momentum stock screening
✅ Swing / positional setups
✅ Avoiding overextended candles
✅ Liquidity & capital flow validation
✅ Manual decision support
11️⃣ What it does NOT do
❌ No auto buy/sell
❌ No stop-loss or targets
❌ No relative strength vs index
❌ No intraday scalping logic
TL;DR (one-liner)
This indicator finds stocks in a healthy uptrend with 2–3 controlled bullish candles, confirms them with EMA and volume/turnover, and presents all key momentum metrics in one clean view.
15m FVG Alerts with Timezone and time selectorThis indicator will help you detect 15m FVGs on NQ. After setting the alert, you can check the chart to see if the FVG aligns with the Bias. This way, when the price reenters this FVG, we can check the LTF for an IFVG that aligns with the Bias. If you find this FVG interesting, set a manual alert on the FVG again, let the price return, and see if you can initiate a continuation trade towards the clear DOL.
You can also specify a time window for the alerts to arrive.
This indicator is for "NQ1!"
CTI Phase Bullish Bearish NeutralMarket Phase Checker. Checking multiple timeframes for confirmation of direction based on Japanese Candlesticks
Supply Demand Zones ProSupply Demand Zones PRO
Version: 1.0
Built with: Pine Script v6
________________________________________
🧭 HOW TO USE Start Here
🧠 What it does default behavior
• ✅ Automatically identifies Supply & Demand zones on your chart
• ✅ Automatically ranks each zone from 0 to 10 higher = stronger
• ✅ Works across most TradingView symbols and timeframes with default settings
⚙️ Default settings recommended for most instruments
Use the default settings for:
• 💱 Forex
• 🪙 Crypto
• 📊 Indices
• 🛢️ Commodities
• 🏛️ Stocks
Defaults are tuned to provide a balanced mix of quality zones + clean charts.
🎯 How to trade with it high-level workflow
1. 🥇 Prioritize strong zones
o Focus on higher scores commonly 7–10 for best reversal potential.
2. 🔄 Wait for a reversal setup at the zone
o Example triggers: rejection wick, engulfing candle, strong reaction candle, structure shift.
3. ✅ Confirm with other indicators before entering
o Use confirmation tools (your choice), such as:
📈 Trend filter (MA / market structure)
🧪 Momentum (RSI / Stoch / MACD)
📉 Volume / volatility tools
o Then take BUY from demand or SELL from supply *only when confirmation aligns
🧩🖤 Executive Summary: PRO Features Overview
The Supply Demand Zones PRO indicator is a professional-grade tool built on the latest Pine Script v6, designed to automatically identify and score high-probability supply and demand zones.
It moves beyond simple zone plotting by incorporating a suite of advanced features that provide a deeper, more actionable market context. This helps traders filter out noise, focus on significant levels, and make more informed decisions.
The indicator is universally compatible and works seamlessly across all major asset classes and timeframes:
• Forex: EURUSD, GBPUSD, USDJPY
• Commodities: Gold/XAUUSD, Silver, Oil
• Indices: NQ, ES, DAX, FTSE
• Cryptocurrencies: Bitcoin, Ethereum, Altcoins
• Stocks: Individual equities
Most symbols available on TradingView are fully supported.
Notice on repainting 🕯️⬛
Active zones won’t repaint unless they are invalidated. Gray/Historic zones may repaint, and that’s fine—this script only displays the most recent and stronger historic zones (if historic zones are enabled).
________________________________________
⬛🛠️Key PRO Features Overview
⚙️ Feature 📌 Description
Zone Strength Ranking ||| Each zone is dynamically scored from 1–10 based on its age and number of retests. Fresher, less-tested zones are stronger, helping prioritize high-impact levels.
Real-Time Distance ||| Each active zone’s info label shows the exact distance (in pips) from current price to the zone edge for quick risk/opportunity assessment.
Trading Session Tracking ||| Zones are tagged by formation session (Asian / London / New York) for added context—high-volume session zones often matter more.
Automated Retest Markers ||| The script tracks retests and places an “R” marker for each retest, giving a clear visual history of price interaction.
Advanced ATR Filtering ||| Volatility-based filters control zone quality: set min/max zone height and optionally enforce a consistent zone height using ATR.
Minimum Zone Distance ||| Reduces clutter by requiring a minimum number of bars between new zones, ensuring zones are distinct and well-separated.
Dual Label Controls Independently toggle info labels for Active vs Historic zones to keep charts clean while preserving key detail.
Built on Pine Script v6 ||| Uses the newest Pine Script version for better efficiency, reliability, and smoother handling of complex logic/drawings.
________________________________________
Detailed Feature Breakdown ⬛
Zone Strength Ranking ⬛
The strength score is a proprietary calculation that helps traders instantly gauge the potential of a supply or demand zone. It is calculated in real time using:
1. Age of the Zone: As zones age, they may lose relevance. Strength decreases as the number of bars since creation increases.
2. Number of Retests: The first test is often the highest-probability reaction. Each retest reduces strength as liquidity is absorbed.
✅ A high score (7/10+) indicates a fresh, less-tested zone that may produce a strong reaction.
⚠️ A low score suggests a zone is old and/or heavily tested—use extra caution.
________________________________________
🧱⬛Invalidation & Historic Zones
A zone becomes invalidated broken when price closes beyond its outer boundary or wicks beyond it, depending on settings. Once broken, it becomes a Historic Zone and turns gray.
This matters for structure: a broken supply zone can become future demand a flip zone, and vice versa.
________________________________________
🧪⬛Advanced Filtering Explained
Three ATR-based filters control zone quality:
• Max Zone Height (ATR Multiplier): Blocks zones that are too large to trade effectively. Example: 1.0 ignores zones taller than 1× ATR.
• Min Zone Height (ATR Multiplier): Filters out zones that are too thin and likely noise. Example: 1.0 rejects zones smaller than 1× ATR.
• Force Zone Height (ATR Multiplier): Normalizes zone heights by expanding smaller valid zones up to the minimum ATR target. Example: 1.0 expands zones to at least 1× ATR.
________________________________________
🧾⬛Configuration Guide
⚙️⬛Zone Detection
⚙️ Setting 🔧 Default 📝 Description
Swing Length (Sensitivity) 12 Lookback bars for pivot high/low detection. Higher = fewer, stronger zones.
Max Zones to Display 10 Max number of active Supply + Demand zones shown.
Max Zone Height (ATR) 1.0 Rejects zones taller than this ATR multiplier.
Min Zone Height (ATR) 1.0 Rejects zones smaller than this ATR multiplier.
Force Zone Height (ATR) 1.0 Expands valid zones to be at least this ATR multiplier.
Min Distance Between Zones 44 Minimum bars required between consecutive zones of the same type.
________________________________________
🧱⬛Zone Settings
⚙️ Setting 🔧 Default 📝 Description
Zone Invalidation Close “Close” = candle must close past zone; “Wick” = wick past zone breaks it.
Show Historic Zones On Toggles visibility of broken (historic) zones.
Active Zones Lookback 1000 Hides active zones older than this many bars.
Historic Zones Lookback 1000 Hides historic zones older than this many bars.
________________________________________
🖥️⬛Display
⚙️ Setting 🔧 Default 📝 Description
Show Active Zone Info On Toggles text labels for active (unbroken) zones.
Show Historic Zone Info Off Toggles text labels for historic (broken) zones.
Label Size Small Adjusts the font size of zone info labels.






















