Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
Moving Averages
WMA MAD Trend | RakoQuantWMA MAD Trend | RakoQuant is a robust volatility-regime trend system built on Weighted Moving Average structure and Median Absolute Deviation dispersion, engineered to produce clean directional states while suppressing wick-driven noise and unstable ATR distortions.
This tool belongs to the RakoQuant protected research line, combining a smooth WMA baseline, statistically robust volatility envelopes (MAD bands), SuperTrend-style regime logic, and a strength-aware visualization layer designed for consistent performance across trending, mean-reverting, and mixed market environments.
Core Concept
This indicator answers one fundamental question:
Is price holding a statistically meaningful deviation from its WMA baseline, or reverting back into range?
Unlike classic SuperTrend variants that rely on ATR (highly sensitive to spikes and wicks), WMA MAD Trend uses Median Absolute Deviation as its volatility engine — a robust dispersion measure that remains stable in the presence of outliers.
How It Works
1) WMA Baseline (Directional Structure)
At its core, the indicator defines the market’s structural center using a Weighted Moving Average:
* WMA Baseline tracks directional bias with smoother, trend-weighted responsiveness
* The baseline can optionally be smoothed further in intraday mode to reduce micro-chop
This provides a stable anchor for dispersion-based regime classification.
2) MAD Volatility Engine (Robust Dispersion Core)
Instead of ATR, volatility is measured via Median Absolute Deviation (MAD) around the baseline:
* Compute absolute deviation:
|Close − Baseline|
* Take rolling median of deviation over madLen
* Optional normalization scales MAD toward a stdev-like measure (via constant factor)
This makes volatility estimation:
* Outlier-resistant
* Wick-resistant
* Regime-stable during abnormal price spikes
3) MAD Bands + SuperTrend Trailing Logic (Regime State Model)
Bands are built as:
* Upper Band = Baseline + Factor × MAD
* Lower Band = Baseline − Factor × MAD
Then classic SuperTrend-style trailing constraints are applied so the active band persists until a true regime break occurs.
That produces a state engine:
* Bull regime when price breaks above the trailing upper logic (transition into trend-up state)
* Bear regime when price breaks below the trailing lower logic (transition into trend-down state)
This behaves like a structural market regime model, not a reactive oscillator.
4) Strength Engine (Deviation-Based Intensity)
A defining layer of this tool is the MAD Z-score intensity system:
* Compute Z-score:
z = |Close − Baseline| / MAD
* Map into a 0 → 1 strength scale
Interpretation:
* Low deviation = weak regime confidence (likely chop / mean reversion)
* High deviation = strong regime confidence (trend expansion)
5) Intensity Visual Engine (Signal Clarity Layer)
WMA MAD Trend includes a protected visual engine that scales opacity with strength:
* Strong expansion = solid trend band
* Weak deviation = faded band
This gives immediate clarity:
Not all flips are equal — strength is displayed structurally.
6) Optional Institutional Filters
Two optional confirmation modules allow institutional-grade filtering:
Baseline Confirmation
* Bull flips only accepted if price is above baseline
* Bear flips only accepted if price is below baseline
EMA Stack Filter
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These modules make the tool suitable for:
* Directional portfolio bias frameworks (RSPS)
* Regime classification overlays
* Trend confirmation filters for execution systems
7) Strong Flip Tier Alerts
Signal quality is tiered:
* Standard flip alerts
* Strong flip alerts only when deviation strength exceeds a threshold
This produces a higher-confidence regime transition model for swing positioning and exposure scaling.
How To Use
✅ Trend regime overlay
✅ Wick-resistant volatility trend filter
✅ MAD-based deviation strength engine
✅ Directional bias tool for portfolio systems
Best use cases:
* 1H–1D trend frameworks
* Regime filters for signal stacking
* Chop suppression in volatile markets
Suggested workflow:
* Bull bias when the regime is bullish and strength is rising
* Reduce risk / defensive when strength fades or a bearish flip occurs
* Pair with execution tools (breakout/mean-reversion entries) for timing
Screenshot Placement
📸 Example chart / screenshot: snapshot
SN Trader📌 SN Trader – ATR Trailing Stop with EMA Confirmation (Scalping Strategy)
SN Trader is a precision-built ATR-based trailing stop strategy enhanced with EMA 9 & EMA 26 trend confirmation, designed for high-probability intraday and scalping trades, especially effective on XAUUSD (Gold) and other volatile instruments.
This script is a strategy (not just an indicator), meaning it supports backtesting, performance analysis, alerts, and automated trading via webhooks.
🔍 Core Concept
The strategy combines three powerful components:
ATR Trailing Stop (UT Bot logic)
Dynamically adapts to volatility
Acts as both trend filter and dynamic support/resistance
EMA 9 & EMA 26 Trend Confirmation
Filters out low-quality signals
Ensures trades align with short-term momentum
Crossover-Based Entry & Exit Logic
Prevents over-trading
Keeps entries clean and disciplined
This fusion makes SN Trader suitable for manual traders, systematic traders, and algo traders.
📈 Trading Logic (How It Works)
✅ BUY (Long Entry)
A BUY trade is triggered only when:
Price crosses above the ATR trailing stop (UT Buy signal)
EMA 9 crosses above EMA 26
Price is trading above the ATR trailing stop
❌ SELL (Short Entry)
A SELL trade is triggered only when:
Price crosses below the ATR trailing stop (UT Sell signal)
EMA 9 crosses below EMA 26
Price is trading below the ATR trailing stop
🔁 Exit Rules
Long trades close automatically when a Sell signal appears
Short trades close automatically when a Buy signal appears
No repainting logic is used
⚙️ Inputs & Customization
ATR Settings
Key Value – Controls signal sensitivity
Lower value = more trades (aggressive)
Higher value = fewer trades (conservative)
ATR Period – Volatility calculation window
Candle Source
Option to calculate signals using:
Regular candles
Heikin Ashi candles (for smoother trends)
EMA Settings
Default:
EMA Fast: 9
EMA Slow: 26
Can be adjusted to suit different markets or timeframes
🕒 Recommended Usage
Parameter Recommendation
Timeframe 5-Minute (Scalping)
Markets XAUUSD, Indices, Crypto, Forex
Sessions London & New York
Market Type Trending / Volatile
⚠️ Avoid ranging or extremely low-volatility conditions for best results.
📊 Visual Elements
EMA 9 – Green line
EMA 26 – Red line
ATR Trailing Stop – Blue line
BUY / SELL labels on chart
Clean, minimal overlay for fast decision-making
🔔 Alerts & Automation
Because this script is a strategy, it supports:
TradingView Strategy Order Fill Alerts
Webhook alerts for:
MT4 / MT5 bridges
Crypto exchanges
Custom algo execution systems
This makes SN Trader suitable for fully automated trading workflows.
🛑 Risk Disclaimer
This strategy does not include fixed stop-loss or take-profit by default.
Users are strongly encouraged to:
Apply broker-level SL/TP
Avoid high-impact news events
Forward-test before live deployment
Trading involves risk. Past performance does not guarantee future results.
👤 Access & Distribution
This script may be shared as:
Invite-only
Protected source
Redistribution, resale, or modification without permission is prohibited.
⭐ Final Notes
SN Trader is built for traders who value:
Discipline over noise
Confirmation over impulse
Structure over randomness
Whether used for manual scalping, strategy testing, or algo execution, this script provides a robust and professional trading framework.
Poseidon [hide System]English Description
Poseidon Ultimate Fix is a sophisticated hybrid trading strategy designed to adapt seamlessly to changing market conditions. Its core strength lies in its ability to automatically distinguish between trending and ranging markets using the Hybrid Logic Engine, which relies on the Average Directional Index (ADX). When the market shows strong directional momentum (ADX > 25), the system activates Trend Mode. In this phase, it utilizes a Supertrend-based logic to follow the market flow, entering trades on breakouts and holding positions until the trend reverses, thereby maximizing profit potential during volatile periods.
Conversely, when volatility is low and the market lacks clear direction (ADX ≤ 25), the system switches to Range Mode. Here, it employs Bollinger Bands to execute mean reversion strategies, buying at the lower band and selling at the upper band to capture smaller, consistent gains within the consolidation. A critical safety feature of this system is its Emergency Escape protocol. If a sudden surge in volatility occurs while a range position is open—threatening a breakout against the trade—the system immediately liquidates the position and switches to a trend-following entry. This mechanism effectively neutralizes the risk of catastrophic losses often associated with reversal strategies during market explosions. Furthermore, the Precise Accounting feature ensures that the dashboard metrics, including Profit Factor and Win Rate, are calculated based on real-time equity changes, providing an accurate reflection of the system's performance without mathematical discrepancies.
日本語による説明
Poseidon Ultimate Fix は、刻々と変化する相場環境に完全適応するために設計された、高度なハイブリッド型トレードシステムです。このシステムの最大の特徴は、ADX(平均方向性指数)を用いたハイブリッド・ロジック・エンジンにあります。これにより、相場が「トレンド状態」にあるか「レンジ状態」にあるかを自動的かつ正確に判別します。強い方向感が出ている局面(ADXが25以上)では、システムは即座にトレンドモードを選択します。ここではスーパートレンド指標に基づいた順張りロジックが作動し、トレンドの発生に合わせてエントリーを行い、相場が反転するその瞬間までポジションを保有し続けることで、利益の最大化を狙います。
一方で、相場の方向感が失われ、ボラティリティが低下した局面(ADXが25以下)では、システムはレンジモードへと切り替わります。このモードではボリンジャーバンドを活用した逆張り戦略を展開し、バンドの下限で買い、上限で売ることで、ボックス相場の中から着実に利益を積み上げます。さらに、このシステムには**緊急脱出機能(エマージェンシー・エスケープ)**という重要な安全装置が搭載されています。もしレンジ逆張りポジションを保有中に突発的な暴騰や暴落が発生した場合、システムは即座に損切りを行い、間髪入れずにトレンド方向への順張りエントリーに切り替えます。これにより、レンジ手法特有の「コツコツ勝ってドカンと負ける」リスクを排除します。加えて、完全な会計処理機能により、ダッシュボード上の勝率やプロフィットファクターは実際の口座残高の増減と1円の狂いもなく一致し、極めて信頼性の高いパフォーマンス分析を提供します。
Adaptive Trend Checklist (EMA + Supertrend + ADX)Adaptive Trend Checklist is a market context and validation tool designed for discretionary traders who prioritize structure, risk control, and trade quality over aggressive signal chasing.
The script combines EMA, Supertrend, and ADX, with optional multi-timeframe (HTF) confirmation, to provide a clear view of market conditions before entering a trade.
This is not a signal-spamming indicator.
It is a visual checklist that helps identify when to trade, when to reduce risk, and when to stay out of the market.
🔹 Key Features
🔁 Automatic timeframe adaptation
Parameters (EMA, ATR, ADX, Supertrend) automatically adjust based on the current chart timeframe.
🧠 Trend & range filtering
Uses ADX and price structure to filter out ranging and low-probability market conditions.
⏱️ Multi-timeframe market context (optional)
Confirms directional bias using higher timeframes.
🧮 Risk classification
Trades are classified as:
NORMAL
REDUCED
NO TRADE
📋 Clear visual checklist
Displays in real time:
trading mode,
trend status,
ADX condition,
market session,
recommended risk level.
🎯 Integrated trade management
Automatically plots:
Entry
Stop Loss
Take Profits (TP1, TP2, TP3)
Position size in dollars based on selected risk.
🚫 No repaint
🚫 No signal spam
🚫 No win-rate promises
⚠️ Important Notice
This script is not intended for fully mechanical or automated trading.
It is designed as a decision-support tool for traders who understand market structure, context, and risk management.
Performance depends on:
market conditions,
timeframe,
and trader discipline.
👤 Who Is This For?
✔️ Discretionary traders
✔️ Scalpers & intraday traders seeking better filters
✔️ Swing traders needing HTF context
❌ Not recommended for blind signal following
📎 Usage Recommendation
Use it as a primary market filter, not as a standalone signal.
Combine it with your own entry criteria.
Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
KI Power signaleManus Machiene Learning Beast – Indicator Description
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
⸻
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
• Reduces the impact of outliers
• Accounts for market distortions caused by volatility spikes and major events
• Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
⸻
Signal Logic
Long Signals
A long signal is generated when:
• The ML model predicts a positive directional bias
• All enabled filters are satisfied
• A new directional change is detected (non-repainting)
• Optional trend filters (EMA / SMA) confirm the direction
• Optional kernel regression confirms bullish momentum
📍 Displayed as a green label below the bar
Short Signals
A short signal is generated when:
• The ML model predicts a negative directional bias
• Filters confirm bearish conditions
• A new directional change occurs
• Trend and kernel filters align
📍 Displayed as a red label above the bar
⸻
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
• Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
• Attempts to filter out sideways markets
• Especially important for ML-based systems
3. ADX Filter (Optional)
• Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
• Classic trend confirmation (e.g., 200 EMA / 200 SMA)
• Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
• Smooths price behavior
• Acts as a momentum and trend confirmation filter
• Can be used in standard or smoothed mode
⸻
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
• ✅ SMA 200
• ✅ HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
⸻
Exit Logic
Two exit methods are available:
1. Fixed Exit
• Trades close after 4 bars
• Matches the ML model’s training horizon
2. Dynamic Exit
• Uses kernel regression and signal changes
• Designed to let profits run in strong trends
⚠️ Recommended only when no additional trend filters are active.
⸻
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
• Win rate
• Total trades
• Win/Loss ratio
• Early signal flips (useful for identifying choppy markets)
⚠️ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
⸻
Typical Use Cases
• Swing trading (M15 – H4)
• Rule-based discretionary trading
• Set-and-forget trading
• TradingView alerts → MT4/MT5 → EA execution
• Prop-firm trading (e.g. FTMO), with proper risk management
⸻
Important Disclaimer
This indicator:
• ❌ does not guarantee profits
• ❌ is not a “holy grail”
• ✅ is a decision-support and structure tool
It performs best when:
• Combined with strict risk management (e.g. ATR-based stops)
• Used in trending or expanding markets
• Executed with discipline and consistency
AI Smart Entry Pro v4 (AVINASH27)AI Smart Entry Pro v4 is a rule-based trading strategy designed to identify high-probability market entries using trend confirmation and momentum logic.
This strategy is intended for educational and back-testing purposes only.
It does not repaint and all signals are generated strictly on closed candles.
Key Features:
Works best in trending market conditions
Uses predefined logic for entry and exit
Suitable for intraday and scalping timeframes
Designed for consistent risk-controlled trading
No future data or repainting logic used
Recommended Usage:
Apply on liquid instruments (Forex, Indices, Gold, Crypto)
Combine with proper risk management
Always forward-test before live trading
⚠️ Disclaimer:
This strategy does not guarantee profits. Trading involves risk, and past performance is not indicative of future results. Use at your own discretion.
MA Smart SyncMA Smart Sync determines the market bias by evaluating the price position relative to a moving average channel on four independent timeframes and returning a confluence signal when a configurable number of them agree.
Unlike standard MTF trend indicators that rely on EMA crossovers or slope direction, this script builds a channel around each timeframe and classifies price into three discrete zones: above, below, or inside. The "inside" state acts as a neutral filter, preventing false confluence signals during consolidation — a key distinction from binary up/down dashboards.
The channel itself can be constructed using five different methods selectable from a single input: High/Low MA (separate MAs applied to high and low), Close ± ATR, Close ± Standard Deviation, Close ± percentage offset, or classic Bollinger Bands. All five use the same MA type and length inputs, making it straightforward to compare how different volatility envelopes behave on the same instrument without rebuilding the indicator.
How to use:
— Set four timeframes matching your trading plan (defaults: 15m, 1h, 4h, D).
— Choose the channel method that fits your instrument's volatility profile. ATR-based channels adapt well to forex; StdDev and Bollinger suit equities and indices.
— Set "Minimum Confluence" to 3 or 4. A value of 4 means all timeframes must agree before a signal fires.
— The background color and arrow labels update only when bias changes, keeping the chart clean.
— Use the status table (top-right) to monitor each timeframe independently and identify which TFs are lagging.
Combined Advanced Blueprint + Hybrid Stop + GravityCombined Advanced Blueprint + Hybrid Stop + Gravity
Overview
This indicator is a comprehensive "Swiss Army Knife" trading system that combines the classic Traders Reality Blueprint (Moving Averages & Vector Zones) with advanced institutional volume detection (Gravity Squeeze & Sharks) and a Hybrid Trailing Stop for trade management.
It is designed to identify institutional footprints, trend direction, supply/demand zones, and volatility contractions in a single, all-in-one overlay.
🚀 Key Features
1. Gravity Squeeze & Shark Detection (Institutional Volume)
This module detects anomalies in volume and price action to identify where "Smart Money" is stepping in.
Shark Icons (🦈): Appear when the Negative Volume Index (NVI) detects significant accumulation during low volatility periods. This often signals a "defense" of a price level by institutions.
Shark Support (Blood) Zones: When a Shark is detected, a red box is drawn from the low of the candle. This represents an institutional "line in the sand." If price closes below this box, the zone is invalidated (broken).
Gravity Squeeze (⚡): Indicates a contraction in volatility (ATR compression), suggesting an explosive move is imminent.
Coils (🌀) & Hammers (🔨): Identifies specific price action patterns occurring on high relative volume.
2. The Blueprint Moving Averages
Includes the standard Traders Reality moving average sequence to identify trend state and dynamic support/resistance.
Red (8 EMA): Immediate trend.
White (21 EMA): Short-term trend (The "Baseline").
Blue (34 EMA): Trend confirmation.
Indigo (55 EMA) & Purple (89 EMA): Mid-term trend.
Orange (50 SMA) & Dark Orange (200 SMA): Major institutional levels (Golden/Death Cross).
Visual Crossovers: Arrows and shapes appear for 8/21 crosses, 8/34 crosses, and the 50/200 cross.
3. PVSRA (Price Volume Support Resistance Analysis)
Colors trade bars based on volume relative to the average, highlighting hidden liquidity.
Green/Red Bars: Volume is ≥ 200% of the average. (Climax action).
Blue/Violet Bars: Volume is ≥ 150% of the average.
Grey Bars: Average/Low volume.
Vector Zones: Automatically plots zones based on these high-volume candles to show where significant business was transacted.
4. Hybrid Trailing Stop
A volatility-based stop-loss system designed to keep you in the trend longer.
Calculation: Uses a combination of ATR (Average True Range) and manually input Implied Volatility (IV) to calculate a safe distance from price.
Visual: A Fuchsia line that trails behind price. When price closes across this line, the trend structure is considered broken.
5. Inflection Zones (Supply & Demand)
Auto-Drawing: Identifies Swing Highs and Swing Lows to draw Supply (Blue) and Demand (Red) boxes.
BOS (Break of Structure): When price breaks through a zone, the box is removed or converted, helping keep the chart clean.
6. Pivot Points & VWAP
Pivots: Displays multitimeframe pivots (Daily, Weekly, Monthly, etc.) including Traditional, Fibonacci, and Camarilla calculations.
VWAP: Includes Standard Deviation bands (1, 2, and 3 SD) anchored to Session, Week, Month, or even Earnings/Splits.
7. Keltner Channels & RSI Triggers
Entry Signals: Plots circles on the chart when RSI enters extreme zones (Overbought/Oversold) while price is interacting with the Keltner Channel bands.
🛠 Settings & Configuration
Gravity Squeeze & Sharks
Enable: Toggle the overlay on/off.
Min Volume: Set the threshold for volume analysis (Default: 300k).
Max ADX: Filters out signals if the trend is already too exhausted.
Inflection Zones
Swing Length: Sensitivity of the swing high/low detection.
History to Keep: How many historic zones to display before deleting old ones.
Pivot Levels
Timeframe: Auto-selects based on your chart, or force specific timeframes (e.g., Daily Pivots on a 15m chart).
Type: Choose between Traditional, Fibonacci, Woodie, etc.
Trailing Stop
Multiplier: Adjust how "loose" or "tight" the stop is (Default: 1.5 ATR).
IV %: Manually input the annual Implied Volatility for the asset for higher precision.
🎯 How to Trade (Strategy Ideas)
1. The Shark Defense:
Look for a Shark Icon (🦈).
Watch the red "Blood" box form.
Long Entry: If price retests the box and holds (does not close below it), this is a high-probability buy zone.
Stop Loss: A candle close below the red box.
2. The 8/21 & 8/34 Cross:
Use the Arrows generated by the moving averages.
Combine with Vector Candles: If you get a Bullish Cross (Up Arrow) immediately following a Green/Blue vector candle, the move is supported by volume.
3. The Squeeze Breakout:
Look for the Squeeze Icon (⚡) indicating low volatility.
Wait for the Hybrid Trailing Stop line to flip (e.g., price crosses above the Fuchsia line) to confirm the breakout direction.
Alerts
The script includes built-in alert conditions for automation:
8/21 Bullish/Bearish Cross
8/34 Bullish/Bearish Cross
Credits:
Core logic based on Traders Reality (Blueprint/PVSRA).
Gravity logic adapted from standard institutional volume analysis.
Compiled & Enhanced by Gemini.
Manus KI TradingManus Machiene Learning Beast – Indicator Description
Settings
Use 1h Chart
Use Regime filter: 0.5
Use ADX 20
Use SMA 200
and be happy...
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
⸻
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
• Reduces the impact of outliers
• Accounts for market distortions caused by volatility spikes and major events
• Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
⸻
Signal Logic
Long Signals
A long signal is generated when:
• The ML model predicts a positive directional bias
• All enabled filters are satisfied
• A new directional change is detected (non-repainting)
• Optional trend filters (EMA / SMA) confirm the direction
• Optional kernel regression confirms bullish momentum
📍 Displayed as a green label below the bar
Short Signals
A short signal is generated when:
• The ML model predicts a negative directional bias
• Filters confirm bearish conditions
• A new directional change occurs
• Trend and kernel filters align
📍 Displayed as a red label above the bar
⸻
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
• Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
• Attempts to filter out sideways markets
• Especially important for ML-based systems
3. ADX Filter (Optional)
• Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
• Classic trend confirmation (e.g., 200 EMA / 200 SMA)
• Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
• Smooths price behavior
• Acts as a momentum and trend confirmation filter
• Can be used in standard or smoothed mode
⸻
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
• ✅ SMA 200
• ✅ HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
⸻
Exit Logic
Two exit methods are available:
1. Fixed Exit
• Trades close after 4 bars
• Matches the ML model’s training horizon
2. Dynamic Exit
• Uses kernel regression and signal changes
• Designed to let profits run in strong trends
⚠️ Recommended only when no additional trend filters are active.
⸻
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
• Win rate
• Total trades
• Win/Loss ratio
• Early signal flips (useful for identifying choppy markets)
⚠️ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
⸻
Typical Use Cases
• Swing trading (M15 – H4)
• Rule-based discretionary trading
• Set-and-forget trading
• TradingView alerts → MT4/MT5 → EA execution
• Prop-firm trading (e.g. FTMO), with proper risk management
⸻
Important Disclaimer
This indicator:
• ❌ does not guarantee profits
• ❌ is not a “holy grail”
• ✅ is a decision-support and structure tool
It performs best when:
• Combined with strict risk management (e.g. ATR-based stops)
• Used in trending or expanding markets
• Executed with discipline and consistency
EMA SMA LinesThis script draws 3 EMA lines and 2 SMA lines and each line has label attached to it. It is configurable.
Adaptive Buy Sell Signal [AvantCoin]A comprehensive customized indicator for different markets:
🌍 Market-Specific Optimizations
Auto-Detection (or Manual Selection):
It automatically detects which market you're trading:
Forex (EUR/USD, GBP/USD, etc.)
Stocks (AAPL, TSLA, etc.)
Indices (NAS100, SPX, etc.)
Commodities (Gold, Silver, Oil)
Crypto (BTC, ETH, etc.)
Forex-Specific Features:
✅ Session Filters: Avoids low-liquidity Asian session
✅ Session backgrounds: Green for London/NY overlap (best trading time)
✅ Tighter ADX threshold (20) - good for Forex trends
✅ Lower volatility filter - skips dead zones
⚙️ Min Confluence: 5 (balanced)
⚙️ Cooldown: 5 bars
⚙️ Volume threshold: 1.3x (Forex has consistent volume)
Stocks-Specific Features:
✅ Market hours filter: Only signals during NYSE hours.
✅ Gap detection: Avoids trading immediately after large gaps up/down
✅ Higher ADX threshold (22) - Stocks trend differently
✅ Stricter volume requirement (1.5x) - Stocks vary more
⚙️ Min Confluence: 6 (higher quality)
⚙️ Cooldown: 3 bars (stocks move faster)
Indices (Nasdaq, S&P 500):
✅ Similar to stocks but slightly more lenient
✅ Lower ADX (18) - Indices are smoother
⚙️ Min Confluence: 5
⚙️ Cooldown: 4 bars
Commodities (Gold, Silver, Oil):
✅ Highest ADX requirement (23) - Only trade strong trends
✅ Higher volatility filter (1.6x) - Commodities can be wild
⚙️ Min Confluence: 6
⚙️ Cooldown: 6 bars (avoid whipsaws)
Crypto:
✅ 24/7 trading (no session restrictions)
✅ Lower ADX (15) - Crypto is always volatile
✅ Much higher volume threshold (2.0x) - Crypto volume spikes
⚙️ Min Confluence: 4 (crypto moves fast)
⚙️ Cooldown: 3 bars
📊 Visual Enhancements:
Market Type Badge at top of table (Forex, Stocks, etc.)
Session Status:
Forex: Shows 🟢 LDN/NY, 🔵 London, 🟠 NY, 🔴 Asian
Stocks: Shows 🟢 Open or 🔴 Closed
Session Background Colors on chart (optional)
Current Settings Display: Shows your Min score, ADX threshold, Cooldown
⚙️ How to Use:
For Forex:
Enable "Avoid Asian Session"
Best signals during London/NY overlap
For Stocks:
Enable "Trade Stock Hours Only"
Watch for gap warnings
🎯 Expected Performance by Market:
Forex (Major pairs) 60-70% - Smooth trends, high liquidity.
Stocks (Large cap) 65-75% - Clear trends, predictable.
Indices 60-70% - Follow market sentiment.
Commodities 55-65% More volatile, harder.
Crypto 50-60% Extremely volatile.
Bull/Bear Volume DiagramOverview
This indicator displays trading volume in a mirrored diagram that separates bullish and bearish activity. Bullish candle volume is plotted above the center line, while bearish candle volume is plotted below it. This layout helps visualize market participation and directional pressure in a more intuitive way than traditional volume histograms.
How It Works
The indicator evaluates each candle and determines whether it is bullish or bearish based on its open and close prices:
If the candle closes above its open, its volume is plotted upward.
If the candle closes below its open, its volume is plotted downward.
Each side is color-coded independently to clearly distinguish buying and selling pressure.
Additionally, the indicator calculates a moving average of volume separately for bullish and bearish candles. These averages help identify trends in directional volume strength and allow traders to compare buyer versus seller dominance over time.
Features
Mirrored bullish and bearish volume visualization
Independent color customization for bullish and bearish volume
Directional volume moving averages
Clear separation of buying and selling activity
Lightweight and responsive calculation
How To Use
This indicator can help traders:
Identify which side of the market is dominating volume
Detect shifts in buying or selling pressure
Compare momentum between bullish and bearish participation
Observe volume trends more clearly than with standard volume bars
Notes
Volume is classified using candle direction, not order flow or tick data.
Results may vary depending on timeframe and market type.
This indicator is intended as a visual analysis tool and should be combined with other technical analysis methods.
AVSL - XAUUSD M1 OptimizedCredit to Rafka.
This script is optimized for XAUUSDT.P 1-minute trading based on AVSL Indicator from Rafka.
[Saga Trading] Moving Average ProThis open-source indicator provides trend and market structure context using multiple moving averages.
It allows traders to visualize several moving averages simultaneously, with configurable calculation methods (EMA, SMA, or RMA), in order to better assess trend alignment, momentum, and structural bias.
Common references such as the 50-period and 200-period averages are included because they are widely observed by market participants. Crossovers between these averages (often referred to as golden or death crosses) are displayed as structural information only and should not be interpreted as trading signals.
The purpose of this tool is to help traders understand market structure and trend context, not to generate entries or exits.
This indicator is intended for educational and analytical purposes and should be used alongside price action and broader market analysis.
Smooth MTF EMA Cloud - ProEma cloud that has multiple time frames and is smoothed. No choppy outlines on the ema resolution between different time frames.
Gartley + RSI Div + CDC ActionZone Alert//@version=5
indicator("Gartley + RSI Div + CDC ActionZone Alert", overlay=true)
// --- 1. CDC Action Zone Logic ---
ema12 = ta.ema(close, 12)
ema26 = ta.ema(close, 26)
isBlue = close > ema12 and ema12 < ema26
isGreen = ema12 > ema26
cdcSignal = isBlue or isGreen
// --- 2. RSI Bullish Divergence Logic ---
rsiVal = ta.rsi(close, 14)
lbR = 5 // Lookback Left
rbR = 5 // Lookback Right
minLow = ta.pivotlow(rsiVal, lbR, rbR)
isDiv = false
if not na(minLow)
prevLow = ta.valuewhen(not na(minLow), minLow , 0)
prevPrice = ta.valuewhen(not na(minLow), low , 0)
if rsiVal > prevLow and low < prevPrice
isDiv := true
// --- 3. Gartley Approximation (D-Point Focus) ---
// ส่วนนี้ใช้ ZigZag พื้นฐานเพื่อหาจุดกลับตัว (Simplified for Alert)
sz = input.int(10, "ZigZag Sensitivity")
ph = ta.pivothigh(high, sz, sz)
pl = ta.pivotlow(low, sz, sz)
// เงื่อนไขรวม (Combo Strategy)
// ราคาอยู่ที่จุดต่ำสุดใหม่ (Potential D) + RSI ขัดแย้ง + CDC เริ่มเปลี่ยนสี
buyAlert = isDiv and cdcSignal and not na(pl)
// --- การแสดงผลบนกราฟ ---
plotshape(buyAlert, title="Gartley-CDC Buy", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY SETUP", textcolor=color.white, size=size.small)
// วาดเส้น EMA สำหรับ CDC
plot(ema12, color=color.red, linewidth=1)
plot(ema26, color=color.blue, linewidth=1)
// --- ระบบการแจ้งเตือน (Alerts) ---
if buyAlert
alert("SPA Style Setup Found: Gartley D-Point + RSI Div + CDC Signal!", alert.freq_once_per_bar)
White Core Trend [wjdtks255]
White Core Trend is a trend-following indicator designed to strip away market noise and visualize the "Core Trend" of price action. It focuses on the essential relationship between price and a dynamic baseline to provide clear trading decisions.
White Core Line: Built on a responsive HMA (Hull Moving Average) logic, this line acts as the definitive trend filter. It reacts swiftly to price changes while maintaining a smooth trajectory to reduce false signals.
Intuitive Visual Signals: The indicator identifies trend exhaustion and reversal points by plotting triangle labels (▲/▼). These signals help traders maintain discipline and avoid emotional decision-making.
Minimalist Design: Optimized for clarity, the indicator eliminates unnecessary clutter like background colors or complex data overlays, keeping the focus strictly on the trend and entry levels.
As a core technical tool, this indicator is used to identify the market's direction and establish precise entry/exit benchmarks.
1. Entry Strategy
Long Entry: Enter when the price crosses above the White Core Line and a green triangle appears.
Short Entry: Enter when the price crosses below the White Core Line and a red triangle appears.
Note: Ensure the candle body closes decisively across the line to confirm the signal.
2. Position Management
Trend Following: Stay in the trade as long as the price remains on the correct side of the White Core Line.
Reference Point: Use the horizontal white "Entry" line as a visual anchor for your current position.
3. Exit & Stop Loss
Stop Loss: Exit immediately if the price crosses back over the White Core Line against your position.
Take Profit: Secure profits when the price reaches your target or when the trend starts to flatten out (sideways movement) near the core line.
EMA 9 & 26 Crossover by SN TraderEMA 9 & 26 Crossover by SN Trader – Clean Trend Signal Indicator |
The EMA 9 & 26 Cross (+ Marker) indicator is a lightweight and effective trend-direction and momentum-shift tool that visually marks EMA crossover events using simple “+” symbols placed directly above or below price candles.
This indicator is ideal for scalping, intraday trading, and swing trading across Forex, Crypto, Stocks, Indices, and Commodities.
🔹 Indicator Logic
EMA 9 (Green) → Fast momentum
EMA 26 (Red) → Trend direction
🟢 Green “+” (Below Candle)
Appears when EMA 9 crosses ABOVE EMA 26
Indicates bullish momentum or trend continuation
🔴 Red “+” (Above Candle)
Appears when EMA 26 crosses ABOVE EMA 9
Indicates bearish momentum or potential trend reversal
📈 How to Use
✔ Look for Green “+” for bullish bias
✔ Look for Red “+” for bearish bias
✔ Trade in the direction of higher-timeframe trend
✔ Combine with RSI, UT Bot, VWAP, MACD, Support & Resistance for confirmation
✅ Best For
Trend identification
Momentum confirmation
Scalping & intraday entries
Swing trade timing
Multi-timeframe analysis
⚙️ Features
✔ Clean & minimal design
✔ Non-repainting crossover signals
✔ Works on all timeframes & markets
✔ Pine Script v6 compliant
✔ Beginner & professional friendly
⚠️ Disclaimer
This indicator is for educational purposes only and does not provide financial advice. Always use risk management and additional confirmation before trading.
Moving Averages - High_Low & Close/ Written by Love Sharma, CMT, CFTe , the concept is to identify when the moving average is rising and that too of highs and lows
//since there are various ways to generate signal from moving average but the high or low of MA has much weight of evidence as we are using the slope
One can just use the slope, or close above/below MA
//THE IDEA IS SIMPLE TO REMAIN RIGHT SIDE OF THE TREND
RSI + Fibonacci + BB + VWMA ComboRSI + Fibonacci + Bollinger Bands + VWMA Combined Indicator
This advanced technical analysis tool combines four powerful indicators in a single panel for comprehensive market analysis:
📊 COMPONENTS:
- Bollinger Bands (BB) - Volatility and price range analysis
- Volume Weighted Moving Average (VWMA) - Volume-weighted trend tracking
- Fibonacci Retracement Levels - Dynamic support/resistance levels
- RSI-Based Buy/Sell Signals - Automated trading opportunities
🎯 FEATURES:
✅ Automatic BUY/SELL signals (RSI + BB combination)
✅ 7 different Fibonacci levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0)
✅ Fully customizable parameters
✅ Alert support
✅ Color-coded visualization
✅ Volume-based moving average
⚙️ PARAMETERS:
- RSI Period: 14 (default)
- BB Period: 20 (default)
- VWMA Period: 20 (default)
- Fibonacci Lookback: 100 bars
- All levels are adjustable
📈 HOW TO USE:
- Green triangle: BUY signal (RSI < 30 + price near lower BB)
- Red triangle: SELL signal (RSI > 70 + price near upper BB)
- Fibonacci levels show dynamic support/resistance zones
- VWMA indicates trend direction
💡 IDEAL FOR:
Swing trading, day trading, trend analysis, and identifying entry/exit points
⚠️ DISCLAIMER: This indicator is for educational purposes only. Always apply proper risk management before making investment decisions.
Dynamic MA Convergence (Smooth MTF)DMC-MA (Dynamic MA Convergence) — Functional Details1. Multi-Timeframe (MTF) Monitoring LogicThis indicator doesn't just display a single MA; it constantly monitors the relationship between the "Current Timeframe" and its "Higher Timeframe (High-TF)" equivalent. When you switch charts, the indicator automatically selects the corresponding High-TF according to the following logic:Current Chart TFMonitored High-TF1 minute (1m)5 minutes (5m)5 minutes (5m)15 minutes (15m) *Optionally 30m15 minutes (15m)1 hour (1H)1 hour (1H)4 hours (4H)4 hours (4H)Daily (D)Daily (D)Weekly (W)Weekly (W)Monthly (M)2. Real-Time Status DetectionThe dashboard (table) and alerts categorize the distance and direction between the two MAs into four distinct states:Convergence: The short-term MA is moving toward the High-TF MA. This often indicates a "pullback" or "retracement" within a trend.Divergence: After converging, the MAs begin to separate again without crossing. This suggests a "trend continuation."Breakout / Breakdown: The short-term MA clearly crosses the High-TF MA. This indicates a potential "trend reversal" or shift in momentum.3. Smooth MTF Line (MA Interpolation)Standard MTF indicators often appear "stepped" or "jagged" when displaying higher timeframe data on lower timeframes. This script utilizes linear interpolation to calculate values for every single bar, resulting in a smooth, natural curve. This significantly improves the accuracy of price-action analysis and MA-touch detection.Technical Notes & CorrectionsLocalized Timeframe Labels:We have moved away from raw numerical IDs (like "60"). By setting the "Language" toggle to EN, all alert messages and table headers will display intuitive labels like "1H" instead of "60".5-Minute Chart Flexibility:Exclusively for the 5m chart, an option (Use 30m as High-TF) is included to switch the reference from 15m to 30m, catering to both scalpers and day traders.Calculation Integrity:The core detection algorithms (cross-detection and convergence direction) remain untouched, ensuring consistent logical performance.How to UseSet your preferred MA Length (Default: 20).Choose your Display Language (JP or EN).Configure Display Settings to show either the status of all timeframes or only the current one.
DMC-MA (Dynamic MA Convergence) — 機能詳細1. マルチタイムフレーム (MTF) 監視ロジック本インジケーターは、単一のMAを表示するのではなく、「現在の足」と「その一段上の上位足」のMAがどのような位置関係にあるかを常に監視します。チャートを切り替えると、以下の対応表に基づいて自動的に監視対象(上位足)が選択されます。表示中の時間足 (Current)監視対象の上位足 (High-TF)1分足 (1m)5分足 (5m)5分足 (5m)15分足 (15m) ※設定で30分に変更可15分足 (15m)1時間足 (1H)1時間足 (1H)4時間足 (4H)4時間足 (4H)日足 (D)日足 (D)週足 (W)週足 (W)月足 (M)2. リアルタイム・ステータス判定ダッシュボード(テーブル)およびアラートでは、MA同士の距離と方向から以下の4つの状態を判定します。収束 (Convergence): 短期MAが上位足MAへ向かって近づいている状態。押し目や戻りの形成を示唆します。拡散 (Divergence): 収束した後、交差せずに再び本来のトレンド方向へ離れていく状態。トレンドの再開を示唆します。上抜け・下抜け (Breakout/Down): 短期MAが上位足MAを明確にクロスした状態。トレンド転換の初動を示唆します。3. スムーズMTFライン (MA平滑化)通常、下位足チャートに上位足のMAを表示すると「階段状」にガタつきますが、本スクリプトは線形補間ロジックにより、バーごとに滑らかなラインを描画します。これにより、価格がMAにタッチしたかどうかの判定精度が向上しています。修正箇所と技術的な解説 / Correction & Technical Context時間足ラベルの言語対応:(JP) 以前の「60」などの数字表記を廃止しました。設定の「Language」をJPにすれば「1時間足」、ENにすれば「1H」と、アラートメッセージやテーブルの見出しが完全に切り替わります。(EN) Replaced raw numbers (e.g., "60") with localized labels. Setting the Language to "EN" displays "1H" across alerts and the dashboard.5分足の例外設定:(JP) 5分足を使用する場合のみ、上位足を15分ではなく「30分」に変更できるオプション(Use 30m as High-TF)を搭載しています。これにより、スキャルピングからデイトレードまで柔軟に対応可能です。ロジックの不変性:(JP) 判定アルゴリズム(交差判定、収束方向の計算)には一切変更を加えていません。導入方法移動平均線の期間(デフォルト20)を設定。表示言語(JP/EN)を選択。表示設定で、特定の時間足の状態を常時リストアップするか、現在の足のみ表示するかを選択。






















