自定义均线系统A customizable Moving Average indicator that lets you freely choose the period values you want, and automatically plots them on the candlestick chart. This flexibility helps traders quickly adjust their analysis style, compare different trends, and fine-tune strategies without switching between multiple fixed indicators.
Corak carta
Lanxang Pin Bar Pro V.2How to use (step-by-step)
Mark context first
Draw your Supply/Demand zones and note HTF structure (H1).
Use the indicator as a price action confirmation at those POIs.
Wait for a pin bar at a level
Bullish pin: long lower wick rejecting demand; Bearish pin: long upper wick rejecting supply.
Ensure it prints within your session and passes ATR/shape filters.
Choose your entry style
Conservative: Enter on break of pin high (bull) / low (bear).
Aggressive (RR-optimized): Place a limit near the 50% retrace of the pin bar (you removed lines, so measure the midpoint quickly: (High+Low)/2 from the data box).
Place stop
Beyond the wick + small buffer (e.g., 10–20 pts on XAUUSD M5–M15).
Keep SL reasonable (≤ ~1–1.2× ATR of your entry TF).
Targets & management
T1 = 1R, take partial, move to BE after structure break or at 1R depending on volatility.
T2 at the next opposing SD zone, prior swing, or session high/low.
Let a small runner trail via swing highs/lows if trend is strong.
Risk
Keep risk fixed % (e.g., 1%) per trade. Your math is already RR-driven—perfect for journaling and expectancy.
Recommended defaults (XAUUSD, M5–M30)
Min Wick : Body Ratio = 2.0–2.5
Max Body / Range = 0.30–0.35
Min Range as ATR multiple = 0.8–1.0
HTF = 60 min; EMAs = 50/200
Sessions = London core + NY open
Alerts
Turn on alerts for Bullish Pin Bar / Bearish Pin Bar (and optionally “Entry Trigger” if you use it).
Use them to route to your phone or EA bridge (you already use webhook flows).
Pro tips (fits your SMC style)
Prefer pins that sweep liquidity (wick pokes above equal highs / below equal lows) and close back inside your zone.
Extra confluence: FVG edge, HTF OB boundary, or daily/weekly high/low.
Skip mid-range pins with no level.
Track R results in your journal to monitor expectancy.
W Bottom Reversal Strategy W Bottom Reversal Strategy (15m-close entries; intrabar TP; daily MACD exit; JSON alerts v49.3-expire2)
Overview
A precision reversal strategy designed for 15-minute charts on liquid symbols. It detects a capitulation-and-stabilization “W” base using 1-hour (1H) context, confirms momentum improvement, then enters only on bar close to avoid early/“ghost” signals. Exits combine a fast intrabar take-profit (~2.7%) with a daily MACD risk-off exit that closes positions when higher-timeframe momentum turns against the setup.
How it works (high-level, matching code)
1H volatility + oversold gate (arming)
Compute 1H Bollinger-style bands (basis = SMA(close, bbLength=20), stdev multiplier bbMult=2.0).
Arm the setup when a 1H bar closes with price < 1H lower band and 1H RSI( rsiLength=14 ) < rsiThreshold (default 20.0).
1H momentum flip → pending entry
When a new 1H bar closes and 1H MACD line (EMA12−EMA26) crosses above 0 while armed and flat, set an entryPending flag.
This does not enter yet—it prepares a confirmed, bar-close entry on the lower timeframe.
Bar-close execution on the chart timeframe (15m)
On the next 15m bar close (or within N bars, see below) and still flat, fire the entry using a limit order at close × (1 − 0.00001) (≈ 0.001% below close) to reduce slippage and maintain chart/alert alignment.
Anti-late filter (no stale triggers)
If the pending entry doesn’t trigger within N chart bars (input: “Pending entry valid for N chart bars”, default 1, range 1–8), it expires and the arm state resets. This prevents late fills long after the 1H confirmation.
Exit logic
Primary: Standing intrabar take-profit at +2.7% from the average entry price (managed via strategy.exit limit).
Risk-off: On daily bar close, if Daily MACD line (EMA12−EMA26) crosses under 0, close the position (flat on daily momentum flip).
Default Properties (used for this publication)
Timeframe: 15m (with 1H and Daily higher-timeframe confirmations via request.security)
Initial capital: $10,000
Position sizing: Percent of equity = 10% per trade (enters only when flat; no stacking while in a position)
Commission: 0.05% per side
Slippage: Recommend 1 tick in Strategy Properties for realistic fills
Inputs exposed:
BB Length: 20 • BB Multiplier: 2.0
RSI Length: 14 • RSI Threshold: 20.0
MACD: Short 12, Long 26, Signal 9 (signal kept for compatibility; logic uses MACD line vs 0)
Pending entry valid for N chart bars: default 1 (1–8)
Execution behavior (per code):
calc_on_every_tick = false (evaluates on bar close)
process_orders_on_close = true (orders placed at bar close)
Limit entry at close −0.001%
Intrabar TP (2.7%)
Daily risk-off exit on MACD<0 at daily bar close
Alerts (exact behavior in code)
Uses alert() function calls with standardized JSON.
Set your alert to “Only alert() function calls” and “Once per bar close.”
Two events are emitted:
LONG_CONFIRMED on entry fire (15m bar close)
EXIT_CONFIRMED_DAILY_MACD on daily MACD<0 (daily bar close)
JSON fields include: event, version ("v49.3-expire2"), symbol, interval, price, and time.
How to use
Apply on liquid tickers (tight spreads, healthy volume).
Keep defaults initially; run across a broad, liquid watchlist to gather a proper sample.
For automation, route bar-close alerts to your executor; confirm broker lot/route settings and that limit orders at close −0.001% are acceptable.
Expect fewer signals in powerful trends; the daily risk-off helps cut failed bases.
Methodology & expectations (results transparency)
Evaluate on a dataset yielding 100+ trades before drawing conclusions.
Keep commission & slippage enabled (see defaults).
Risk sizing: With 10% of equity per trade and flat-to-flat entries, exposure aligns with typical 5–10% guidance.
No performance guarantees—outcomes depend on symbol selection, volatility regime, news, and execution quality.
Originality & value (vendor justification)
While it uses familiar building blocks (BB/RSI/MACD), the edge comes from the 1H volatility + oversold arming, 1H momentum flip, strict 15m bar-close limit execution, and the N-bar pending expiry that prevents stale triggers—paired with a dual-exit design (intrabar TP + daily risk-off). The focus is on reducing premature fills, keeping alerts 1:1 with chart marks, and capturing the first impulse out of a W-base.
Disclaimers
For educational purposes only; not financial advice. Paper-test first. Verify alerts, fills, and symbol liquidity with your broker before live use.
Changelog: v49.3-expire2 — Bar-close limit entries; anti-late pending window; standardized JSON alerts; intrabar 2.7% TP; daily MACD risk-off exit.
Quantel.io FVG & IFVG ICT IndicatorThe Quantel.io FVG & iFVG ICT Indicator identifies Fair Value Gaps (FVGs) and Inversion Fair Value Gaps (iFVGs) with precision, helping traders spot liquidity imbalances and potential trap zones.
💡 How to Use:
Detect FVG zones where price is likely to return for liquidity grabs or reversals.
Identify iFVG zones to anticipate market traps or potential continuation moves.
Combine with ICT concepts, liquidity sweeps, BOS/CHOCH, or swing structure for optimal entries.
✅ Features:
Dynamic plotting of FVG and iFVG zones with clear box visualization.
Highlights key imbalance areas for easier market structure reading.
Compatible with all timeframes and markets (forex, indices, crypto).
⚠️ Disclaimer: This tool is for educational purposes only. Not financial advice. Always confirm with your own analysis and risk management.
AC Trader - Super TrendThis is a candlestick pattern indicator (Marubozu, Engulfing, Pinbar) that cuts through the EMA lines (20/50/200). AE can change the EMA indicators as desired. For example, EMA 34/89/200. There is a general warning for candlestick patterns when cutting through the EMA.
Quantel NY Open Break and Retest ModelThe Quantel NY Open Break & Retest Model is a complete trading tool built around the New York session breakout-retest strategy. It automatically identifies key NY session levels and generates ready-to-trade setups with:
Entry Signals – triggered on confirmed break & retest patterns.
Stop Loss (SL) Placement – anchored to structural invalidation levels.
Take Profit (TP) Targets – dynamically mapped using session range and market context.
💡 How to Use:
Designed for intraday traders focusing on New York session volatility (8:30 – 11:30 EST).
Look for signals after the initial NY session impulse move, when liquidity sweeps and retests often occur.
Combine with higher timeframe bias or liquidity indicators for maximum precision.
✅ Features:
Fully automated entry/exit framework for NY session trades.
Adaptive SL/TP placement with risk-reward focus.
Works across assets (indices, forex, crypto) with customizable settings.
⚠️ Disclaimer: This script is for educational purposes only. Not financial advice. Always confirm with your own analysis and apply proper risk management.
Resistance & Support Trends (Full Body No-Touch)This indicator builds and maintains time-anchored Resistance and Support trendlines with up to three localized depths on each side.
A line is marked broken only when a single bar’s entire candle body is cleanly beyond it—no edge touching—using strict, one-sided logic:
- accumulation (close > open) can break Resistance
- distribution (close < open) can break Support.
Anchors can be selected manually by date/time, broken lines remain as dashed context, and active trends extend forward for ongoing guidance. Customize colors, show/hide depths and markers, and read the structure at a glance to track primary trends and nearer-term swings with high confidence.
CIAN - Breakout Auto Entry v2.0📌 Indicator Description — CIAN - Breakout Auto Entry
CIAN - Breakout Auto Entry is a script designed to automatically detect entry opportunities during breakouts from consolidation zones, based on professional technical criteria used by momentum and breakout traders. This tool clearly visualizes the entry level, Stop Loss (SL) and Take Profit (TP) zones, helping you maintain a structured and disciplined trading plan.
🧠 What does this indicator do?
It detects breakouts from prior bases when the following key conditions are met:
Price is above the 8, 21, and 50 EMAs.
Volume is above the average (i.e. greater than the 20-period SMA).
Candle closes above the high of the last 10 days.
It then automatically draws:
📦 Green TP zone (based on configurable R/R).
📦 Red SL zone (set at the previous candle’s low).
📘 Precise entry level at the breakout point.
It also deletes previous boxes when a new signal appears, keeping the chart clean.
Includes an integrated alert that notifies you as soon as a valid breakout is detected.
🛠️ Configurable Parameters:
Fast, medium, and slow EMAs (default: 8, 21, 50).
Risk/Reward Ratio (TP/SL), default value: 1.2.
Visual duration of boxes (default: 5 bars).
🎯 Ideal for:
Swing Traders
Breakout Traders
Users of 1D or 4H timeframes as their main setup
Sweep/Reclaim & Breakout Grading — Long-onlyStrategy Overview
Name: LP Sweep & Reclaim — Long-only: Breakout Grading with Position-in-Score + Hybrid SL + 1R→BE
Signals
1) LP Sweep & Reclaim (mean-reversion entry)
2) Trend Breakout (momentum entry)
Risk & Exit Logic
Hybrid Stop-Loss (at entry)
Compute two candidates:
Structure-based SL: reference level (LP low for sweeps, min(low, donchianHigh) for breakouts) minus k × ATR.
ATR-based SL: close − m × ATR.
Hybrid rule (longs): pick the tighter one (the higher price) → initial SL.
1R → Breakeven (BE) transition
Trend Take-Profit (EMA cross)
Exit condition: after at least minHoldBars since entry (default 4), close crosses below the chosen EMA → strategy.close.
Dr_FirstCandle Boxthis indicator draws the first 4 hour candle on newyork time high and low for 24 hours
Candle Strength & Indecision Detection (VSA)This Pine Script combines Volume Spread Analysis (VSA) with candle strength grading, indecision candle recognition, and hammer detection to give traders a complete visual framework for momentum and reversal analysis. Candles are color-coded by strength tiers, indecision candles are highlighted with optional arrows, and hammers are validated with higher-timeframe rejection logic.
✨ Created and enhanced by the PieTrader Community
PAT [PieTrader]This Pine Script (//@version=6) is an advanced Price Action Toolkit (PAT) – PieTrader, enhanced by the PieTrader community to combine core Smart Money Concepts into one visual framework. It integrates market structure, liquidity sweeps, order blocks, and dynamic trendlines, with customizable settings for flexibility.
Market Structure (Zigzag): The script tracks trend shifts using a configurable zigzag length. Swing highs and lows are recorded, and optional zigzag lines visualise price movement. Structure shifts are highlighted with Change of Character (CHoCH) or Break of Structure (BoS) labels, providing clear signals of directional intent.
Order Blocks: On detecting structure breaks, bullish and bearish order blocks are marked with ATR-based zones. These are drawn as shaded boxes, with user control over how many remain visible. Invalid or broken blocks are automatically removed to keep the chart clean.
Liquidity Sweeps: Pivot highs and lows over a chosen lookback define liquidity levels. These are shown as horizontal lines that switch to dashed style once swept by price. Markers (“x”) identify sweep points, helping traders spot liquidity grabs. To optimise performance, older levels are deleted beyond a fixed storage limit.
Trendlines: Using pivot detection, the system identifies bullish and bearish trendlines. Valid lines with upward or downward slopes are extended in real time, updating dynamically with price. Bullish lines are teal; bearish lines are red.
Additional Features: A watermark option displays “PieTrader” on the chart, and colour themes are fully customizable.
In summary, the PieTrader community’s enhancements make this toolkit a comprehensive visual aid for analysing market structure, liquidity, and trend alignment within a streamlined charting solution.
Breakout Paint Bars (IBS + Micro Channels)Breakout Paint Bars (IBS + Micro Channels)
This indicator highlights breakout candles using the Internal Bar Strength (IBS) and adds advanced filtering with suppression logic and optional micro channel detection.
📌 Features
IBS Breakout Detection
Bullish bars are painted when IBS ≥ user-defined threshold (default 69%) and the candle breaks above the previous candle’s high and close.
Bearish bars are painted when IBS ≤ user-defined threshold (default 31%) and the candle breaks below the previous candle’s low and close.
Suppression Logic
After a strong bullish bar, bearish IBS signals are suppressed until price closes below the bullish bar’s low.
After a strong bearish bar, bullish IBS signals are suppressed until price closes above the bearish bar’s high.
This reduces false signals and avoids premature coloring inside consolidation.
Micro Channel Detection (Optional)
A bull micro channel is 3+ consecutive bullish bars without a pullback (each low ≥ prior low). These are shaded in a darker cyan.
A bear micro channel is 3+ consecutive bearish bars without a pullback (each high ≤ prior high). These are shaded in a darker red.
You can enable/disable this with a checkbox in settings.
Customizable Colors & Thresholds
Adjust bullish/bearish IBS thresholds.
Change bullish/bearish colors for personalization.
🎯 Usage
Helps identify valid breakout bars while filtering out noise.
Suppression ensures breakout signals are only shown after key levels are taken out.
Micro channel coloring highlights strong trending phases without pullbacks.
⚠️ Notes
Works on all markets (stocks, forex, crypto, futures).
Designed for discretionary traders who want to spot momentum-driven breakouts and trend strength.
Fibonacci and Pivot Points by THUẬN-TBSetup 1: Combining Fibonacci Retracement with Trend Lines
This setup helps identify potential entry points when the price retraces to significant Fibonacci levels and, at the same time, touches a trend line.
Identify the trend: First, you need to determine the main market trend (up or down). In an uptrend, the price typically creates higher highs and higher lows. Conversely, in a downtrend, the price makes lower highs and lower lows.
Draw the Fibonacci Retracement: After identifying the trend, draw the Fibonacci Retracement tool.
For an uptrend: Drag from the lowest swing low to the highest swing high of the most recent upward move.
For a downtrend: Drag from the highest swing high to the lowest swing low of the most recent downward move.
Find the entry point: Wait for the price to retrace to a key Fibonacci level such as 0.382, 0.5, or 0.618. A strong signal is when the price touches one of these levels and simultaneously intersects with the trend line. This combination suggests that the support (or resistance) level is reinforced by two factors.
Place the trade:
For an uptrend: Place a long (buy) order at this confluence point. The stop-loss can be placed below the next Fibonacci level or below the low of the corrective wave.
For a downtrend: Place a short (sell) order at this confluence point. The stop-loss can be placed above the next Fibonacci level or above the high of the corrective wave.
Setup 2: Combining Fibonacci Retracement with Support/Resistance Zones
This setup is based on the principle that Fibonacci levels are stronger when they align with price zones that have acted as support or resistance in the past.
Identify support and resistance zones: Look at the chart to find price areas where the market has reversed or consolidated multiple times. These zones can be previous highs and lows or psychological round numbers.
Draw the Fibonacci Retracement: Similar to the previous setup, draw the Fibonacci Retracement on the main trend wave.
Find the entry point: Wait for the price to retrace to a Fibonacci level (especially 0.5 and 0.618) that also coincides with a significant support or resistance zone. The confluence of these two factors creates a very strong signal, indicating a high probability of a price reversal.
Place the trade:
Enter the trade: Place a buy or sell order at this confluence zone.
Stop-loss: Place the stop-loss below the support zone (for a buy order) or above the resistance zone (for a sell order).
Setup 3: Using Fibonacci Retracement and Fibonacci Extension
This is a more advanced setup that helps you not only find entry points but also determine potential profit targets.
Draw the Fibonacci Retracement: After the price has retraced, use the Fibonacci Retracement tool to find an entry point, as in the previous setups. For example, the price retraces to the 0.618 level.
Draw the Fibonacci Extension (or Expansion): After the price has rebounded from the Fibonacci Retracement level, use the Fibonacci Extension tool.
Draw the extension from 3 points: Start from the beginning of the trend wave, drag to the high (or low), and then drag back to the end of the corrective wave. This tool will automatically display potential target levels.
Determine profit targets: Common Fibonacci Extension levels such as 1.272, 1.618, and 2.618 are often used as profit targets. The 1.618 level, in particular, is a very common and reliable target for many traders.
HTF Power of Three+ Limitless by Supreme
HTF Power of Three+ Limitless by Supreme
This indicator provides a high fidelity lens into the market's fundamental fractal rhythm.
For the professional trader who understands every candle is a story of accumulation manipulation and distribution this tool transcends the limitations of linear time analysis.
It offers an institutional grade panoramic dashboard of the Power of Three archetype operating seamlessly across any timeframe without constraint.
The core limitation of standard chart analysis is the boundary between timeframes.
This tool dissolves these walls presenting a fluid four dimensional view of market dynamics directly on your chart.
It transforms your perception by offering a continuous unbroken context of the higher timeframe narrative that governs all lower timeframe price action.
This is not merely another visualization tool.
It is a complete solution to the problem of temporal dissonance that plagues most traders.
The standard chart presents a flat fragmented reality.
You are forced to switch between timeframes losing your place and breaking your cognitive flow.
This constant friction degrades the quality of analysis and leads to missed opportunities or flawed execution.
The market is a fractal an infinitely repeating pattern across all scales of time.
Lower timeframe price movements are not random events.
They are the direct consequence of the objectives being pursued on higher timeframes.
To trade without this higher timeframe context is to navigate a storm without a compass guided only by the immediate chaotic waves.
This indicator provides that compass.
The Power of Three is the narrative structure embedded within every candle.
This concept posits that smart money engineers price through a deliberate three phase process.
First is the accumulation phase.
This is a period of relative equilibrium typically around the opening price where large institutions quietly build their positions.
It is the balance before the imbalance the coiling of a spring.
Second is the manipulation phase.
This is the critical judas swing or stop hunt designed to engineer liquidity.
Price is intentionally driven against the true intended direction to trip stop loss orders from breakout traders and induce uninformed participants to take the wrong side of the market.
Their selling becomes the liquidity for institutions to buy at better prices and vice versa.
Third is the distribution phase.
This is the true expansion move where price travels rapidly in the direction of institutional intent.
This is the clean efficient price leg that most trend following systems attempt to capture often after the most advantageous entry point has passed.
Understanding this three part structure is the key to aligning your trades with smart money flow.
This tool makes that entire process visible.
The current live higher timeframe candle is projected onto your chart as it forms.
This is not a static snapshot but a living representation of the ongoing campaign.
Every tick on your lower timeframe chart now has context.
You can see precisely if price is in the initial accumulation phase giving you time to prepare.
You can identify the manipulation phase as it happens allowing you to avoid being trapped or to position yourself for the reversal.
You can confirm the beginning of the distribution phase providing the confidence to engage with the true market move.
The indicator also displays the three previously completed higher timeframe candles.
This is not just historical data.
It is the immediate narrative context.
These three candles reveal the established order flow and the key price levels that matter.
The highs and lows of these candles are not arbitrary points.
They are institutional reference points magnets for liquidity and critical levels for targeting or invalidation.
A manipulation move will often seek the high or low of the previous candle before reversing.
The expansion move will often target the liquidity resting beyond a high or low from two candles prior.
This four candle panoramic view allows for sophisticated narrative construction.
You can build a high probability thesis for the trading session based on the interrelationship of these candles.
For example after a series of strong bullish higher timeframe closes a brief manipulative dip below the prior candle's open becomes a very high probability long entry.
Conversely a failure to expand above the previous candle's high after a strong run may signal exhaustion and an impending reversal.
The tool's architecture is built on a state of the art non redrawing framework.
All visual elements are created once and only their parameters are updated.
This eliminates redraw lag entirely ensuring a fluid instantaneous and seamless experience.
Your analytical environment will remain sharp responsive and completely unburdened even during extreme market volatility.
The engine is unbound by time.
Its logic is perfectly fractal.
A scalper on a one minute chart using a fifteen minute context gains the same clarity and follows the same principles as a swing trader on a daily chart using a weekly context.
The pattern is universal.
This tool makes its application universally accessible.
This is for the trader who is no longer satisfied with looking at the market through a keyhole.
It is for the analyst who demands a complete limitless and flawlessly performing view of the price delivery process.
-
By installing this indicator you move from a fragmented view of price to a holistic four dimensional understanding of the market.
You achieve temporal coherence seeing the cause on the higher timeframe and the effect on the lower timeframe as a single unified process.
You begin to operate without the constraints of conventional charting.
VersaillesVersailles Trading System User Manual
System functions
Main line (blue): represents the average cost line
Channel strip (green): normal price fluctuation range
EMA200 (yellow): 200 day moving average, used to determine long-term trends
Simple usage
Long signal (buy)
The price is above the blue line of the main line
The price is above the yellow EMA200
Price hits the green channel and rebounds below the track
Short selling signal (sell)
The price is below the blue line of the main line
The price is below the yellow EMA200
The price has hit the green channel and fallen back
Setting instructions
Anchoring period: usually select "Session" (calculated on a daily basis)
Display EMA200: Turn on the switch and select yellow color
Channel multiplier: Use the default 1.0
Usage Tips
Long above the blue line (main line) and short below it
The yellow line (EMA200) is a trend direction reference
The boundary of the green channel is the support resistance level
Breaking through the outer edge of the price channel may lead to a major market trend
Precautions
The effect is better when the trend is obvious
Less trading in volatile market conditions
More accurate based on trading volume
Set stop loss before operation
In summary, go long above the blue and yellow lines, go short below them, and find buying and selling points along the green channel boundary.
humblebragVersailles Trading System User Manual
System functions
Main line (blue): Volume weighted average price, representing the average cost line
Channel strip (green): normal price fluctuation range
EMA200 (yellow): 200 day moving average, used to determine long-term trends
Simple usage
Long signal (buy)
The price is above the blue line of the main line
The price is above the yellow EMA200
Price hits the green channel and rebounds below the track
Short selling signal (sell)
The price is below the blue line of the main line
The price is below the yellow EMA200
The price has hit the green channel and fallen back
Setting instructions
Anchoring period: usually select "Session" (calculated on a daily basis)
Display EMA200: Turn on the switch and select yellow color
Channel multiplier: Use the default 1.0
Usage Tips
Long above the blue line (main line) and short below it
The yellow line (EMA200) is a trend direction reference
The boundary of the green channel is the support resistance level
Breaking through the outer edge of the price channel may lead to a major market trend
Precautions
The effect is better when the trend is obvious
Less trading in volatile market conditions
More accurate based on trading volume
Set stop loss before operation
In summary, go long above the blue and yellow lines, go short below them, and find buying and selling points along the green channel boundary.
MA20 & MA50 RisingMA20 & MA50 Rising Scanner
Detects when both the 20-period and 50-period simple moving averages turn upward on the most recent bar. Designed as a lightweight screener column for TradingView’s watchlists.
Overview
This indicator plots a binary flag (0 or 1) per symbol, where
- 1 means SMA(20) > SMA(20) and SMA(50) > SMA(50)
- 0 means one or both moving averages did not rise
Add it as a custom column in your watchlist to instantly surface stocks with both short- and medium-term trend acceleration.
How It Works
- Calculates ma20 = simple moving average of the last 20 closes
- Calculates ma50 = simple moving average of the last 50 closes
- Compares each with its prior value (ma20 and ma50 )
- Sets flag to 1 only when both are higher than yesterday’s values
When you filter your watchlist for flag == 1, you see only symbols whose 20- and 50-period SMAs both rose on the latest bar.
Hourly Pivot High/Low LinesMarks out hourly high/lows, and draws them horizontally from the start of the pivot. Line will stop once it is tapped into. Used in my own model, not working 100% of the time.
Ajay Auto Pre-Market Gap + 3PM Signal (NIFTY/BANKNIFTY/SENSEX)Ajay Auto Pre-Market Gap + 3PM Signal (NIFTY/BANKNIFTY/SENSEX)
SuperTrend V · AI Buy/Sell超级趋势 V · AI 买卖 + 止盈提示简介 / Overview
中文:
本指标在经典 SuperTrend 上加入了体量价差(VPT)平滑与“参考均线”过滤,给出 AI 买入/卖出 信号(规则化的过滤逻辑,非机器学习),并在价格触及动态止盈通道时打出 “止盈” 圆点。每笔信号之间自动跟踪并标注 峰值收益(可显示杠杆倍数),用于回顾交易潜在的最大浮盈。适合趋势/波段交易与告警联动。
English:
This indicator enhances classic SuperTrend with VPT-style smoothing and a reference EMA filter to emit AI Buy/Sell signals (rule-based, not ML). It plots TP dots when price hits a dynamic take-profit channel and labels the Peak Profit reached between opposite signals (with optional leverage display). Designed for trend/swing trading and alerts.
使用方法 / How to Use
中文:
将指标加到任意品种图表(默认 15 分钟~4 小时均可)。
观察两条“参考均线”:红线=参考均线、蓝线=开盘均线。当红线在蓝线上方时偏多,反之偏空(图中填充区也会切色)。
AI 买入:价格向上穿越 SuperTrend 线,且收盘价位于蓝线之上;AI 卖出:价格向下穿越 SuperTrend 线,且收盘价位于蓝线之下。
出现 “止盈” 圆点(TP)代表价格触达动态带(基于线性回归+σ通道)。可作为分批止盈/加减仓的参考。
当下一次出现相反方向的 AI 信号时,会在本轮交易的峰值位置打出 “峰值收益 xx% (100x)” 标签,用于复盘。
需要自动提醒:在图表右键 → “添加告警”,选择本指标并挑选相应条件(见“告警条件”)。
English:
Add the indicator to any symbol/timeframe (15m–4h recommended).
Use the two reference EMAs (red = reference, blue = open EMA). Red above blue favors long bias and vice versa.
AI Buy: price crosses above the SuperTrend line and closes above the blue EMA. AI Sell: crosses below and closes below the blue EMA.
TP dots appear when price touches the dynamic channel (linear-regression VWAP ± σ). Use them for partial take-profit or scaling.
On the next opposite AI signal, a Peak Profit xx% (100x) label is placed at the highest/lowest excursion for review.
For alerts: Right-click chart → “Add Alert” → choose this script and a condition (see “Alert conditions”).
主要参数 / Key Inputs
中文:
参考时间框架(分钟):用于参考均线与平滑的更高周期(默认 720 分=12H)。
SuperTrend 乘数 / 周期:决定 ST 线的灵敏度与带宽;乘数越小越敏感。
止盈倍数(σ)、止盈窗口长度:决定 TP 圆点通道的宽度与回溯长度。
显示峰值收益标签、杠杆(仅用于文本显示):是否显示“峰值收益”,以及标签内显示的 x 倍数。
English:
Reference timeframe (minutes) for smoothing/EMAs (default 720 = 12H).
SuperTrend Multiplier / Period control sensitivity and band width.
TP Sigma, TP Window Length define the dynamic channel.
Show Peak Profit, Leverage (text only) toggle the label and x-multiplier text.
告警条件 / Alert Conditions
中文:买入、卖出、卖出止盈触发(低位 TP)、买入止盈触发(高位 TP)。
English: Buy, Sell, TP on Short (low band cross up), TP on Long (upper band cross down).
参数建议 / Tuning Tips
中文:
加密 15m:ST 乘数 1.0~1.5、周期 10~14;TP σ=2、窗口 100~200。
趋势强:可增大乘数/窗口,减少噪音;震荡多:减小乘数/窗口,提高敏感度但留意假信号。
English:
Crypto 15m: ST mult 1.0–1.5, period 10–14; TP σ=2, window 100–200.
Strong trend: increase mult/window to cut noise. Choppy: decrease for responsiveness (watch for whipsaw).
交易提示 / Trading Notes
中文:AI 标签仅为规则化过滤,不代表模型预测;建议结合更大周期方向与量能确认。止盈圆点可做分批减仓,切勿仅依赖单一信号。
English: “AI” labels are rule-based filters, not ML predictions. Combine with higher-TF bias/volume. Use TP dots for scaling; avoid single-signal decisions.
Transformer Flux DashboardHere’s a practical guide to what your Transformer Flux Dashboard does and how to use it.
What it is
A compact, two-column trading dashboard + signal pack that blends trend, MACD, and OBV into one view (“Flux Score”) and adds session awareness (pre-sessions and main sessions in Eastern time). It’s designed for regular candles by default and avoids repaint by letting you confirm on bar close.
Core pieces it calculates
Moving Averages
Two MAs: Fast (HMA/EMA) and Slow (HMA/EMA).
You choose length, line width, color, and transparency.
Trend engine (Strict/Lenient)
Uses the relation between Fast/Slow MA and a debounced fast-MA slope filter (slope > ATR×buffer).
Strict: requires fast>slow and slow rising (or the inverse for down).
Lenient: fast>slow or slow rising (or the inverse).
A confirmation window (bars) must hold true before trend flips. That window can be auto-tuned by session (Asia/London/NY) or set globally.
OBV confirmation (optional)
OBV smoothed by SMA; needs to be rising/falling for N bars (also session-aware if you enable presets).
MACD
Standard MACD Fast/Slow/Signal; the dashboard shows Bull ▲, Bear ▼ or Flat based on line vs signal.
Flux Score (top row)
A composite, smoothed gauge from 0–100:
40% Trend, 30% MACD, 30% OBV → EMA(3) smoothed.
Labels: Bullish ≥ 70, Bearish ≤ 30, otherwise Neutral.
Summary line explains why (e.g., “MACD↑, OBV↑, Trend up”).
Sessions & zones (Eastern/NY time)
Recognizes Asia / London / New York main sessions and pre-sessions using your chart’s Eastern time.
Session label (top of chart): text is white; background auto-matches the current session color (or your manual color).
Zone backgrounds (optional): off by default; when on, default transparency ≈ 95% (very light), with separate colors for each session and pre-session. A toggle lets you draw pre-session on top or beneath main sessions.
Signals & markers
Two strength tiers: Strong (Trend + OBV + MACD aligned) and Weak (2 of the 3 agree).
To reduce clutter, markers only appear on direction shifts (from last visible direction to a new one), and you can enforce a minimum bar gap.
Marker style:
Default Icons with LabelUp/LabelDown (tiny).
Colors: strong long = bright white by default; others configurable.
Weak markers are slightly offset from price using ATR so they don’t overlap wicks.
Dashboard (2-column)
Left column = label, right column = value:
Flux Score: numeric + Bullish/Neutral/Bearish tag.
Summary: short reason of the score.
Trend: UP / DOWN / FLAT (cell tinted green/red/gray).
MACD: Bull ▲ / Bear ▼ / Flat (tinted).
Signal: last printed signal + bar age (fresh signals get a lighter tint).
MA: slow MA type/length and up/down arrow.
Sess: current session label (e.g., “Pre-London”, “New York”).
VIX / VXN (optional): shows current value.
Auto tint: based on calm/watch/elevated thresholds (you control levels and colors).
Manual tint: fixed BG color if you prefer consistency.
Params: “P”=trend bars, “O”=OBV bars, mode (Strict/Lenient), and “Candles”.
You can set a global Default Transparency for the dashboard cells.
Key settings to know
Confirm On Close: when on (default), trend/OBV/MACD states use the last confirmed bar; this avoids mid-bar flicker and reduces repaint risk.
Session presets: when enabled, the number of bars required for confirmations tightens/loosens per session (e.g., Asia uses more bars than NY).
Colors & Opacity:
MA lines have their own transparency (default 0 = fully opaque).
Dashboard cells use a single global transparency (default 40%).
Session zones default to very light (95%) and are off by default.
VIX/VXN cells can auto-color by regime or use a manual background.
Markers:
“Icons” vs “Ticks.” Default is Icons with tiny labels up/down.
“Shift only” display reduces noise; you can also set min bar spacing.
How to read it (quick workflow)
Flux Score row: a fast “risk-on/off” gauge.
≥70 with green Trend/MACD cells → higher-conviction long context.
≤30 with red Trend/MACD cells → higher-conviction short context.
Summary explains why the score is what it is.
Signal row: tells you the last official signal and how many bars ago it fired. Fresh signals tint lighter.
MA row: aligns your slow baseline; arrow helps spot slow-turns early.
Sess row + label: know which market is active; behavior and your confirmation bars adapt by session if presets are on.
VIX/VXN (if enabled): extra context for risk regime (values and color band).
Good practices & caveats
It’s confirmation-based to reduce false flips; you’ll get signals slightly later, by design.
All signals are informational; there’s no position management or stops in this build (we removed the stop visuals by request).
If you switch to exotic chart types or extreme resolutions, re-tune lengths and confirmation bars (and potentially disable session presets).
For scalping, consider reducing confirmation bars and OBV smoothing; for higher timeframes, increase them.
Quick customization ideas
Want faster flips? Lower confirmBars and obvBars, increase slope buffer a bit to retain quality.
Want fewer weak signals? Show only strong markers (toggle off weak via colors/visibility or increase min bar gap).
Prefer EMA stacking? Set both Fast/Slow to EMA.
Don’t care about OBV? Turn OBV confirm off; Trend + MACD will drive
Technical Summary VWAP | RSI | VolatilityTechnical Summary VWAP | RSI | Volatility
The Quantum Trading Matrix is a multi-dimensional market-analysis dashboard designed as an educational and idea-generation tool to help traders read price structure, participation, momentum and volatility in one compact view. It is not an automated execution system; rather, it aggregates lightweight “quantum” signals — VWAP position, momentum oscillator behaviour, multi-EMA trend scoring, volume flow and institutional activity heuristics, market microstructure pivots and volatility measures — and synthesizes them into a single, transparent score and signal recommendation. The primary goal is to make explicit why a given market looks favourable or unfavourable by showing the individual ingredients and how they combine, enabling traders to learn, test and form rules based on observable market mechanics.
Each module of the matrix answers a distinct market question. VWAP and its percentage distance indicate whether the current price is trading above or below the intraday volume-weighted average — a proxy for intraday institutional control and value. The quantum momentum oscillator (fast and slow EMA difference scaled to percent) captures short-to-intermediate momentum shifts, providing a quickly responsive view of directional pressure. Multi-EMA trend scoring (8/21/50) produces a simple, transparent trend score by counting conditions such as price above EMAs and cross-EMAs ordering; this score is used to categorize market trend into descriptive buckets (e.g., STRONG UP, WEAK UP, NEUTRAL, DOWN). Volume analysis compares current volume to a recent moving average and computes a Z-score to detect spikes and unusual participation; additional buy/sell pressure heuristics (buyingPressure, sellingPressure, flowRatio) estimate whether upside or downside participation dominates the bar. Institutional activity is approximated by flagging large orders relative to volume baseline (e.g., volume > 2.5× MA) and estimating a dark pool proxy; this is a heuristic to highlight bars that likely had large players involved.
The dashboard also performs market-structure detection with small pivot windows to identify recent local support/resistance areas and computes price position relative to the daily high/low (dailyMid, pricePosition). Volatility is measured via ATR divided by price and bucketed into LOW/NORMAL/HIGH/EXTREME categories to help you adapt stop sizing and expectational horizons. Finally, all these pieces feed an interpretable scoring function that rewards alignment: VWAP above, strong flow ratio, bullish trend score, bullish momentum, and favorable RSI zone add to the overall score which is presented as a 0–100 metric and a colored emoji indicator for at-a-glance assessment.
The mashup is purposeful: each indicator covers a failure mode of the other. For example, momentum readings can be misleading during volatility spikes; VWAP informs whether institutions are on the bid or offer; volume Z-score detects abnormal participation that can validate a breakout; multi-EMA score mitigates single-EMA whipsaws by requiring a combination of price/EMA conditions. Combining these signals increases information content while keeping each component explainable — a key compliance requirement. The script intentionally emphasizes transparency: when it shows a BUY/SELL/HOLD recommendation, the dashboard shows the underlying sub-components so a trader can see whether VWAP, momentum, volume, trend or structure primarily drove the score.
For practical use, adopt a clear workflow: (1) check the matrix score and read the component tiles (VWAP position, momentum, trend and volume) to understand the drivers; (2) confirm market-structure support/resistance and pricePosition relative to the daily range; (3) require at least two corroborating components (for example, VWAP ABOVE + Momentum BULLISH or Volume spike + Trend STRONG UP) before considering entries; (4) use ATR-based stops or daily pivot distance for stop placement and size positions such that the trade risks a small, pre-defined percent of capital; (5) for intraday scalps shorten holding time and tighten stops, for swing trades increase lookback lengths and require multi-timeframe (higher TF) agreement. Treat the matrix as an idea filter and replay lab: when an alert triggers, replay the bars and observe which components anticipated the move and which lagged.
Parameter tuning matters. Shortening the momentum length makes the oscillator more sensitive (useful for scalping), while lengthening it reduces noise for swing contexts. Volume profile bars and MA length should match the instrument’s liquidity — increase the MA for low-liquidity stocks to reduce false institutional flags. The trend multiplier and signal sensitivity parameters let you calibrate how aggressively the matrix counts micro evidence into the score. Always backtest parameter sets across multiple periods and instruments; run walk-forward tests and keep a simple out-of-sample validation window to reduce overfitting risk.
Limitations and failure modes are explicit: institutional flags and dark-pool estimates are heuristics and cannot substitute for true tape or broker-level order flow; volume split by price range is an approximation and will not perfectly reflect signed volume; pivot detection with small windows may miss larger structural swings; VWAP is typically intraday-centric and less meaningful across multi-day swing contexts; the score is additive and may not capture non-linear relationships between features in extreme market regimes (e.g., flash crashes, circuit breaker events, or overnight gaps). The matrix is also susceptible to false signals during major news releases when price and volume behavior dislocate from typical patterns. Users should explicitly test behavior around earnings, macro data and low-liquidity periods.
To learn with the matrix, perform these experiments: (A) collect all BUY/SELL alerts over a 6-month period and measure median outcome at 5, 20 and 60 bars; (B) require additional gating conditions (e.g., only accept BUY when flowRatio>60 and trendScore≥4) and compare expectancy; (C) vary the institutional threshold (2×, 2.5×, 3× volumeMA) to see how many true positive spikes remain; (D) perform multi-instrument tests to ensure parameters are not tuned to a single ticker. Document every test and prefer robust, slightly lower returns with clearer logic rather than tuned “optimal” results that fail out of sample.
Originality statement: This script’s originality lies in the curated combination of intraday value (VWAP), multi-EMA trend scoring, momentum percent oscillator, volume Z-score plus buy/sell flow heuristics and a compact, interpretable scoring system. The script is not a simple indicator mashup; it is a didactic ensemble specifically designed to make internal rationale visible so traders can learn how each market characteristic contributes to actionable probability. The tool’s novelty is its emphasis on interpretability — showing the exact contributing signals behind a composite score — enabling reproducible testing and educational value.
Finally, for TradingView publication, include a clear description listing the modules, a short non-technical summary of how they interact, the tunable inputs, limitations and a risk disclaimer. Remove any promotional content or external contact links. If you used trademark symbols, either provide registration details or remove them. This transparent documentation satisfies TradingView’s requirement that mashups justify their composition and teach users how to use them.
Quantum Trading Matrix — multi-factor intraday dashboard (educational use only).
Purpose: Combines intraday VWAP position, a fast/slow EMA momentum percent oscillator, multi-EMA trend scoring (8/21/50), volume Z-score and buy/sell flow heuristics, pivot-based microstructure detection, and ATR-based volatility buckets to produce a transparent, componentized market score and trade-idea indicator. The mashup is intentional: VWAP identifies intraday value, momentum detects short bursts, EMAs provide structural trend bias, and volume/flow confirm participation. Signals require alignment of at least two components (for example, VWAP ABOVE + Momentum BULLISH + positive flow) for higher confidence.
Inputs: momentum period, volume MA/profile length, EMA configuration (8/21/50), trend multiplier, signal sensitivity, color and display options. Use shorter momentum lengths for scalps and longer for swing analysis. Increase volume MA for thinly traded instruments.
Limitations: Institutional/dark-pool estimates and flow heuristics are approximations, not actual exchange tape. VWAP is intraday-focused. Expect false signals during major news or low-liquidity sessions. Backtest and paper-trade before applying real capital.
Risk Disclaimer: For education and analysis only. Not financial advice. Use proper risk management. The author is not responsible for trading losses.
________________________________________
Risk & Misuse Disclaimer
This indicator is provided for education, analysis and idea generation only. It is not investment or financial advice and does not guarantee profits. Institutional activity flags, dark-pool estimates and flow heuristics are approximations and should not be treated as exchange tape. Backtest thoroughly and use demo/paper accounts before trading real capital. Always apply appropriate position sizing and stop-loss rules. The author is not responsible for any trading losses resulting from the use or misuse of this tool.
________________________________________
Risk Disclaimer: This tool is provided for education and analysis only. It is not financial advice and does not guarantee returns. Users assume all risk for trades made based on this script. Back test thoroughly and use proper risk management.