SA Trump Volatility Pattern Wick + Volume Shock ReversalDisclaimer (read first)
Educational use only — not financial advice. This script does not provide entries/exits, targets, position sizing, or profit guarantees. Trading (especially options/futures) involves substantial risk and can result in loss of principal (and more for leveraged products). Use at your own discretion.
Best use cases on the 2-Hour timeframe
On 2H, this script becomes a high-signal-quality “shock reversal” detector instead of a noisy candle toy. You’re essentially filtering for:
Large wick rejection
Small real body
Statistically unusual volume (Z-score > threshold)
Context alignment (trend filter + prior bar direction + optional RSI)
What 2H is best for
1) Detecting “event shock” reversals
2H bars often capture:
Macro headlines
Fed commentary
earnings reactions (for equities)
sudden volatility expansions
When the script fires on 2H, it often means:
“Aggressive push happened, liquidity got rejected, and participation was unusually high.”
That’s a structural clue, not a trade instruction.
2) Filtering false breakouts / breakdowns
The wick requirement is basically “failed continuation.”
On 2H, this is powerful around:
prior day highs/lows
weekly pivots
obvious consolidation edges
key moving averages (fast SMA / slow SMA gate)
Bull pattern = flush + reclaim behavior.
Bear pattern = pop + rejection behavior.
3) Options traders: timing “premium exposure windows”
On 2H, this is great for options traders who want to avoid buying premium into a fake move.
BullTrump on 2H can be used as a “don’t chase puts / be cautious short” context shift.
BearTrump on 2H can be used as a “don’t chase calls / be cautious long” context shift.
It’s a “regime hint” for the next few sessions, not a one-bar command.
4) Futures traders: rotation vs continuation framework
A 2H “Trump Candle” often marks:
the end of a liquidation leg
a stop-run / squeeze peak
a pivot moment where the market shifts from impulse to balance
Use it to decide whether you’re in:
continuation mode (trend carries)
or rotation mode (mean-reversion / two-way)
How to use it (2H workflow)
Step A — Keep it strict at first
Recommended defaults for 2H:
wickFracThreshold: 0.40–0.55
bodyMaxFrac: 0.35–0.45
volZThresh: 1.0–1.5
useRSIFilter: ON
RSI bull min / bear max: 45 / 55 (good baseline)
Step B — Treat triggers as “context events”
When it prints, ask 3 questions:
Where did it happen? (key level or random spot)
Was it aligned with trend gate? (SMA fast/slow)
Did volume Z-score spike? (true shock vs normal wick)
Higher quality triggers happen when:
the wick pierces a known level (prior swing / range edge)
and the close re-enters the range
and volume Z-score is meaningfully positive
Step C — Confirm with the next 1–2 candles (optional)
On 2H, it’s reasonable to wait for:
a follow-through close
or a hold above/below fast SMA
or a second “acceptance” candle
You can do this manually without changing code.
Other recommended timeframes (best to worst)
✅ 4H (even cleaner, fewer signals)
Use for:
swing context
multi-day pivots
big reversal points
✅ 1H (more signals, still structured)
Use for:
intraday + overnight context
day-trade bias shifts
✅ 30m (for active traders)
Use for:
tighter responsiveness
more setups
But requires more discretion; noise increases.
⚠️ 15m and below (only if you increase strictness)
If you want to run it on 5m/15m:
raise volZThresh (ex: 1.5–2.0)
raise wickFracThreshold (ex: 0.50–0.65)
lower bodyMaxFrac (ex: 0.25–0.35)
Otherwise it will trigger too often.
Best markets for this script
Works best on:
Index futures: /NQ, /ES (big volume makes Z-score meaningful)
Liquid ETFs: SPY, QQQ
High-volume large caps (AAPL, MSFT, NVDA etc.)
Less reliable on:
thin small caps (volume Z-score gets weird)
low-volume premarket candles
illiquid options underlyings
Signal Inside the Script ✅ SA ZoneEngine Bias Filtered is a market-structure bias and confirmation tool designed for futures To request access: 👉 Purchase here: trianchor.gumroad.com
Best GBT for this indicator
chatgpt.com
chatgpt.com
chatgpt.com
อินดิเคเตอร์และกลยุทธ์
SMA Reversal Sequential MTFSMA Reversal Sequential MTF (Multi-Timeframe)OverviewThe SMA Reversal Sequential MTF is a professional-grade price action tool designed to detect qualitative trend shifts and structural breakouts across multiple timeframes simultaneously. Unlike standard crossover indicators, this script analyzes the "curvature" of the Simple Moving Average (SMA) to identify when the market's average momentum has genuinely rotated.1. Core Logic: SMA Slope CurvatureThe script detects a trend reversal when the SMA (20-period by default) changes its trajectory from a "V-shape" (bottoming out) or an "Inverted V-shape" (topping out).The Reversal Algorithm:Bullish Reversal: Occurs when the SMA value at a specific historical offset is higher than the intermediate offset, but the intermediate offset is lower than the most recent value.Bearish Reversal: Occurs when the SMA value at a specific historical offset is lower than the intermediate offset, but the intermediate offset is higher than the most recent value.By using an OFFSET parameter, the script filters out minor price noise, ensuring that only significant rotations in the moving average are labeled.2. Structural Breakout Detection (MSB)Once a reversal is confirmed, the script automatically identifies the Market Structure of that specific timeframe by looking back at the highest high or lowest low within a defined period (LOOKBK).How Breakouts Work:Level Anchoring: When a reversal is detected, the script "locks in" the highest/lowest price of that swing.Confirmation: A "BREAK" signal and a horizontal line are generated only when a candle closes beyond this structural level.Visual Persistence: The break-line is extended to the right, providing a clear visual reference for support-turned-resistance (or vice versa).3. Advanced Multi-Timeframe (MTF) IntegrationMonitor up to 6 timeframes (5M, 15M, 1H, 4H, 1D, 1W) on a single chart.Auto-Filtering (hideLowerTF): To maintain chart clarity, the script can automatically hide timeframe data that is lower than your current chart (e.g., if you are on a 1H chart, 5M and 15M labels are hidden).Non-Repainting: Built using barmerge.gaps_on and confirmed candle logic, ensuring that historical signals remain accurate and do not disappear or move after the fact.4. Dual Preset ModesSwitch between two specialized trading styles with a single click in the settings:PresetParameters (SMA / Offset / Lookback)Ideal ForStandard (Default)20 / 6 / 20Trend following, swing trading, and major pullbacks.Short-Term5 / 4 / 7Scalping, fast day trading, and sensitive structure shifts.5. Visual Interface FeaturesTimeframe Labels: Clearly indicates which timeframe has rotated (e.g., "1H", "15M").Dynamic BREAK Labels: Labels follow the price action with a customizable right-side offset, ensuring they never overlap with the candles.Memory Management: Uses Pine Script Arrays to manage objects, ensuring the script runs smoothly without hitting the platform's drawing limits.6. How to Trade with This ScriptConfluence Trading: Wait for a "BREAK" on a higher timeframe (e.g., 4H) and then look for a matching "REVERSAL" on a lower timeframe (e.g., 15M) to refine your entry.Trailing Stops: Use the structural breakout lines as logical levels for stop-loss placement or profit-taking targets.Technical SpecificationsLanguage: Pine Script v5Overlay: YesAlerts: Compatible with standard alert functions.
このインジケーターは、**「トレンドの質的な転換」と「構造的な重要水準の打破(ブレイク)」**を、マルチタイムフレーム(MTF)で同時に監視する総合的なプライスアクションツールです。1. コア・コンセプト:SMA Reversal通常の移動平均線クロスオーバーとは異なり、このスクリプトは**SMA(単純移動平均線)の「曲率(カーブ)」**に着目します。判定アルゴリズムSMAが「下落から上昇」または「上昇から下落」へ変化する瞬間を、特定のオフセット(間隔)を用いて検知します。上昇転換(V字回復): NYSE:SMA > SMA $ かつ NYSE:SMA < SMA $下落転換(逆V字): NYSE:SMA < SMA $ かつ NYSE:SMA > SMA $これにより、価格の一時的なノイズに惑わされず、移動平均線という「相場の平均的な意思」が明確に方向を変えたタイミングを捉えます。2. 構造的ブレイクアウトの検知転換が確認された際、スクリプトはその時点から遡って過去LOOKBK期間内の最高値・最安値を特定します。これが「構造的なレジスタンス・サポート」として機能します。ブレイクの定義水準の固定: 転換が発生した瞬間の高値・安値を、その時間足の「重要ライン」として記憶します。確定足での判定: 終値がそのラインを明確に上抜いた(または下抜いた)時、チャート上に "BREAK" ラベルと水平線を表示します。3. マルチタイムフレーム(MTF)機能このインジケーターの最大の強みは、1つのチャート上に最大6つの時間足(5M, 15M, 1H, 4H, 1D, 1W)の状態を重ねて表示できる点です。自動フィルタリング: hideLowerTF 設定により、5分足チャートを見ている時は全時間足を表示し、日足チャートを見ている時は日足と週足のみを表示するといった、視認性の自動最適化が行われます。非リペイント処理: barmerge.gaps_on を使用した request.security 処理により、過去の検証データにおいて「未来の情報を参照して描画する」リペイント現象を防いでいます。4. 2つのプリセット設定ユーザーは相場の性質に合わせて、設定画面のチェックボックス一つで計算ロジックを切り替えられます。設定名SMA期間 / オフセット / 参照期間特徴標準 (規定値)20 / 6 / 20中長期的なトレンド転換を捉える。押し目買い・戻り売りに最適。短期 (Short)5 / 4 / 7スキャルピングや短期デイトレ用。微細な構造の変化を素早く察知。5. 視覚的インターフェースの説明転換ラベル (5M, 1H等): その時間足でSMAの転換が確定したポイント。常に「最新の1つ」のみが表示されるため、チャートが煩雑になりません。BREAKラベル & ライン: 構造が破壊された価格水準。ラインは右側に延長され、現在の価格との距離感がひと目で分かります。右オフセット: ブレイクラベルを現在価格より右側に配置することで、ローソク足とラベルが重なるのを防ぎます。6. 推奨される活用法上位足のBREAKを待つ: 例えば、1時間足で "1H BREAK" が出ている方向にのみ、5分足や15分足でエントリーを仕掛ける「環境認識」のツールとして非常に強力です。損切りの目安: 表示されたブレイクラインの反対側に価格が戻ってきた場合、構造が否定されたと判断し、迅速な撤退の根拠にできます。技術仕様(開発者向け)言語: Pine Script v5描画制限: 常に最新のオブジェクト(ライン・ラベル)のみを保持するように配列(Array)でメモリ管理を行っており、TradingViewの描画制限エラーを回避しています。計算コスト: request.security を効率的に呼び出しているため、複数の時間足を表示しても動作は軽快です。
Multi Cycles Predictive System ML - GBM IntegratedMulti-Cycle Predictive System: The Gradient Boosting Machine (GBM) Revolution
Introduction: The Death of Static Analysis
The financial markets are not static; they are a living, breathing, and chaotic system. Yet, for decades, traders have relied on static indicators—using the same RSI settings, the same MACD parameters, and the same Moving Averages regardless of whether the market is trending, chopping, or crashing.
The Multi-Cycle Predictive System (MCPS) represents a paradigm shift. It is not just an indicator; it is an Adaptive Machine Learning Engine running directly on your chart.
By integrating a fully functional Gradient Boosting Machine (GBM), this script does not guess—it learns. It monitors 13 distinct algorithmic models, calculates their real-time accuracy against future price action, and dynamically reallocates influence to the "winning" models using gradient descent.
This is Survival of the Fittest applied to technical analysis.
1. The Core Engine: Gradient Boosting & Adaptive Learning
At the heart of the MCPS is a custom-coded Gradient Boosting Machine. While most "ML" scripts on TradingView simply average a few indicators, this system replicates the architecture of advanced data science models.
How the GBM Works:
Ensemble Prediction: The system aggregates signals from 13 different mathematical models.
Residual Calculation: It compares the ensemble's previous predictions against the actual price movement (Price Return) to calculate the error (Residual).
Gradient Descent: It calculates the gradient of the loss function. We utilize a Huber Loss Gradient, which is robust against outliers (market spikes), ensuring the model doesn't overreact to volatility.
Weight Optimization: Using a configurable learning rate, the system updates the weights of each sub-algorithm. Models that predicted correctly gain weight; models that failed lose influence.
Softmax Normalization: Finally, weights are passed through a Softmax function (with Temperature control) to convert them into probabilities that sum to 1.0.
The "Winner-Takes-All" Philosophy
A common failure in ensemble systems is "Signal Dilution"—where good signals are drowned out by bad ones.
The MCPS solves this with Aggressive Weight Concentration:
Top 3 Logic: The script identifies the top 3 performing algorithms based on historical accuracy.
The 90% Rule: It forces the system to allocate up to 90% of the total decision weight to these top 3 performers.
Result: If Ehlers and Schaff are reading the market correctly, but MACD is failing, MACD is effectively silenced. The system listens only to the winners.
2. The 13 Algorithmic Pillars
The MCPS draws from a diverse library of Digital Signal Processing (DSP), Statistical, and Momentum algorithms. It does not rely on simple moving averages.
Ehlers Bandpass Filter: Isolates the dominant cycle in price data, removing trend and noise.
Zero-Lag EMA (ZLEMA): Reduces lag to near-zero to track momentum shifts instantly.
Coppock Curve: A classic long-term momentum indicator, modified here for adaptive responsiveness.
Detrended Price Oscillator (DPO): Eliminates the trend to identify short-term cycles.
Schaff Trend Cycle (STC): A double-smoothed stochastic of the MACD, excellent for identifying cycle turns.
Fisher Transform: Converts price into a Gaussian normal distribution to pinpoint turning points.
MESA Adaptive: Uses Maximum Entropy Spectral Analysis to detect the current dominant cycle period.
Goertzel Algorithm: A DSP technique used to identify the magnitude of specific frequency components in the price wave.
Hilbert Transform: Extracts the instantaneous amplitude and phase of the price action.
Autocorrelation: Measures the similarity between the price series and a lagged version of itself to detect periodicity.
Singular Spectrum Analysis (SSA): Decomposes the time series into trend, seasonal, and noise components (Simplified).
Wavelet Transform: Analyzes data at different scales (frequencies) simultaneously.
Empirical Mode Decomposition (EMD): Splits data into Intrinsic Mode Functions (IMFs) to isolate pure cycles.
3. The Dashboard: Total Transparency
Black-box algorithms are dangerous. You need to know why a signal is being generated. The MCPS features two detailed dashboards (tables) located at the bottom of your screen.
The Weight & Accuracy Table (Bottom Right)
This is your "Under the Hood" view. It displays:
Algorithm: The name of the model.
Accuracy: The rolling historical accuracy of that specific model over the lookback period (e.g., 58.2%).
Weight: The current influence that model has on the final signal. Watch this change in real-time. You will see the system "giving up" on bad models and "betting heavy" on good ones.
Prob/Sig: The raw probability and directional signal (Up/Down).
The GBM Stats Table (Bottom Left)
Tracks the health of the Machine Learning engine:
Iterations: How many learning cycles have occurred.
Entropy: A measure of market confusion. High entropy means weights are spread out (models disagree). Low entropy means the models are aligned.
Top 3 Weight: Shows how concentrated the decision power is. If this is >80%, the system is highly confident in specific models.
Confidence & Agreement: Statistical measures of the signal strength.
4. How to Trade with MCPS
This system outputs a single, composite Cycle Line (oscillating between -1 and 1) and a background Regime Color.
Strategy A: The Zero-Cross (Trend Reversal)
Bullish: When the Cycle Line crosses above 0. This indicates that the weighted average of the top-performing algorithms has shifted to a net-positive expectation.
Bearish: When the Cycle Line crosses below 0.
Strategy B: Probability Extremes (Mean Reversion)
Strong Buy: When the Cycle Line drops below -0.5 (Oversold) and turns up. This indicates a high-probability cycle bottom.
Strong Sell: When the Cycle Line rises above +0.5 (Overbought) and turns down.
Strategy C: Regime Filtering
The background color changes based on the aggregate consensus:
Green/Lime: Bullish Regime. Look primarily for Long entries. Ignore weak sell signals.
Red/Orange: Bearish Regime. Look primarily for Short entries.
Gray: Neutral/Choppy. Reduce position size or wait.
5. Configuration & GBM Settings
The script is highly customizable for advanced users who want to tune the Machine Learning hyperparameters.
Prediction Horizon: How many days into the future are we trying to predict? (Default: 3).
Accuracy Lookback: How far back does the model check to calculate "Accuracy"?
GBM Learning Rate: Controls how fast the model adapts.
High (0.2+): Adapts instantly to new market conditions but may be "jumpy."
Low (0.05): Very stable, long-term adaptation.
Temperature: Controls the "Softmax" function. Higher temperatures allow for softer, more distributed weights. Lower temperatures force a "Winner Takes All" outcome.
Max Top 3 Weight: The cap on how much power the top 3 models can hold (Default: 90%).
6. Technical Nuances (For the Geeks)
Huber Gradient: We use Huber loss rather than MSE (Mean Squared Error) for the gradient descent. This is crucial for financial time series because price spikes (outliers) can destroy the learning process of standard ML models. Huber loss transitions from quadratic to linear error, making the model robust.
Regularization: L2 Regularization is applied to prevent overfitting, ensuring the model doesn't just memorize past noise.
Memory Decay: The model has a "fading memory." Recent accuracy is weighted more heavily than accuracy from 200 bars ago, allowing the system to detect Regime Shifts (e.g., transitioning from a trending market to a ranging market).
Disclaimer:
This tool is a sophisticated analytical instrument, not a crystal ball. Machine Learning attempts to optimize probabilities based on historical patterns, but no algorithm can predict black swan events or fundamental news shocks. Always use proper risk management.
The "Warmup Period" is required. The script needs to process 50 bars of history before the GBM engine initializes and produces signals.
Author's Note:
I built the MCPS because I was tired of indicators that stopped working when the market "personality" changed. By integrating GBM, this script adapts to the market's personality in real-time. If the market is cycling, Ehlers and Goertzel take over. If the market is trending, Coppock and ZLEMA take the lead. You don't have to choose—the math chooses for you.
Please leave a boost and a comment if you find this helpful!
Joegtradez Custom High and Low Linescustom high/low lines used for intaday markouts can also be used to mark out sessions high/low works on all timeframes etc
Multi Asset & Multi Timeframe Trend DashboardOverview
The Multi-Asset & Multi-Timeframe Trend Dashboard is a comprehensive visual data terminal designed to provide a bird's-eye view of market sentiment across five different assets and seven distinct timeframes simultaneously. By consolidating 10 core technical indicators into a single table, it eliminates the need for "chart hopping" and helps traders identify high-probability trend alignment.
How It Works
The dashboard evaluates each asset based on a Scoring System ($-10$ to $+10$). For every timeframe, the script analyzes the following 10 conditions:
Trend: EMA 20 > EMA 50Macro
Trend: EMA 50 > EMA 200
Position: Price > EMA 200
MACD: MACD Line > Signal Line
MACD Momentum: MACD Histogram > 0
RSI Momentum: RSI(14) > RSI SMA(14)
RSI Level: RSI(14) > 50
Stochastics: Stoch K > D
CCI: Commodity Channel Index > 0
Awesome Oscillator: AO > 0
Visual Logic & Features
Indicator Dots (■): Represent the 10 individual technical conditions. Green indicates a bullish state; Red indicates a bearish state.
Trend Arrows (▲/▼): Displays the aggregate directional bias of a timeframe based on the sum of the 10 dots.
Neutral State (✖): If indicators are split 50/50 (Score of 0), a grey cross is displayed to indicate total market indecision.
"ALL" Column: A macro-summary that aggregates scores across all four primary timeframes.
Volatility Marker (•): A dot appearing next to the symbol name indicates that current ATR is higher than the historical average (user-defined threshold).
Market Status Color: The symbol name background turns Green if the market is currently open and active, and Red if it is closed or stagnant.
Technical Implementation
This script utilizes request.security calls to fetch data across timeframes. To ensure performance and prevent repainting issues, all security calls are handled using the barstate.islast flag to only render the dashboard on the most recent bar.
How to Use
Alignment Trading: Look for "Full House" scenarios where all arrows (15m through Daily) are the same color.
Scalping Bias: Use the "Mini Timeframes" (1m, 3m, 5m) to find entries that align with the higher timeframe trend shown in the main table.
Volatility Filter: Only take trades when the volatility marker (•) is active to ensure there is enough "power" in the move.
Sector Momentum Dashboard (3-1M / 6-1M / 12-1M, Compact)This indicator provides a compact sector‑momentum dashboard designed for ETF rotation and relative strength analysis. It calculates true daily momentum using three institutional lookback windows (3‑1M, 6‑1M, 12‑1M), allowing traders to evaluate short‑term, medium‑term, and long‑term sector leadership. The table ranks major US sector ETFs by momentum, highlights the strongest and weakest performers, and updates dynamically regardless of the chart timeframe. This tool is intended for traders who want a clear, efficient view of sector rotation trends to support tactical allocation, momentum strategies, and market‑strength assessment.
Segment 4h modifiable via inputsSegment 4h modifiable via inputs : pour positionner un segment n'importe ou en modifiant le prix pour la hauteur dans la configuration et déplaçable facilement à la souris temporellement.
4-hour segment modifiable via inputs: to position a segment anywhere by modifying the price for the height in the configuration and easily movable with the mouse in terms of time
SMA by EVEV Simple Moving Average (SMA) is a lightweight, open-source SMA indicator with configurable length, price source, and visual offset. It is designed to provide a clean moving-average reference for trend context and mean reversion workflows on any market and timeframe. The offset parameter shifts the plotted line for visualization only and does not affect the underlying calculation.
LogTrend Retest EngineLogTrend Retest Engine (LTRE)
LogTrend Retest Engine (LTRE) is an advanced trend-continuation overlay designed to identify high-probability breakout retests using logarithmic regression , volatility-adjusted deviation bands , and market regime filtering .
Unlike traditional channels or moving averages, LTRE models price behavior in log space , allowing it to adapt naturally to exponential market moves common in crypto, indices, and long-term trends.
🔹 How It Works
Logarithmic Regression Core
Performs linear regression on log-transformed price and time
Produces a structurally accurate trend midline that scales with price growth
Volatility-Adjusted Deviation Bands
Dynamic upper and lower zones based on statistical deviation
ATR weighting expands or contracts bands as volatility changes
Adaptive Lookback (Optional)
Automatically adjusts regression length using volatility pressure
Faster response in high-volatility environments, smoother in consolidation
🔹 Market Regime Detection
LTRE actively filters conditions using:
R² trend strength (trend quality, not just slope)
Volatility compression vs expansion
User-defined minimum trend strength threshold
Signals are disabled during ranging or low-quality conditions .
🔹 Breakout → Retest Signal Logic
LTRE does not chase breakouts.
Signals trigger only when:
1. Price breaks cleanly outside the deviation band
2. Market regime is confirmed as trending
3. Price performs a controlled retest within a user-defined tolerance
BUY
Break above upper band → retest → trend confirmed
SELL
Break below lower band → retest → trend confirmed
This structure is designed to reduce false breakouts and late entries.
🔹 Visual & Projection Tools
Clean midline and deviation bands
Optional filled zones
Optional future trend projection for forward structure planning
On-chart statistics for trend strength and volatility compression
🔹 Best Use Cases
Trend continuation & pullback strategies
Crypto, Forex, Indices, and equities
Works best on 15m and higher timeframes
⚠️ Disclaimer
LTRE is a decision-support tool , not a complete trading system. Always use proper risk management and confirm signals with additional structure, volume, or higher-timeframe context.
Built for traders who wait for structure — not noise.
Adaptive Log Trend Zones + Retest SignalsAdaptive Log Trend Zones + Retest Signals
Adaptive Log Trend Zones is a trend-following overlay built to identify high-probability breakout retests in strong market conditions. It combines logarithmic regression , volatility-adaptive behavior , and ATR-based trend zones to help traders stay aligned with dominant momentum while avoiding chop.
🔹 Core Features
Logarithmic Regression Midline
Uses linear regression on log price to better handle exponential market moves
Produces smoother, more realistic trend structure on higher timeframes
Volatility-Adaptive Lookback
Automatically expands or contracts the regression length based on ATR volatility
Reacts faster in high volatility, smoother in consolidation
Dynamic Trend Zones
Upper and lower bands are ATR-adjusted and trend-colored
Optional future projection for visual trend guidance
Breakout → Retest Signal Logic
Detects clean breakouts beyond the trend zone
Waits for a controlled pullback (retest) before signaling
Signals only trigger when trend strength is confirmed
Trend Quality Filter
Internal regime detection filters out low-quality, sideways conditions
Uses slope strength and volatility compression to validate entries
🔹 Signals
BUY : Bullish breakout followed by a valid retest in a trending regime
SELL : Bearish breakout followed by a valid retest in a trending regime
Signals are designed for trend continuation , not mean reversion.
🔹 Best Use Cases
Crypto, Forex, and Index markets
Higher timeframes (15m+ recommended)
Trend continuation and pullback strategies
⚠️ Notes
This indicator is not a standalone trading system . Always use proper risk management and confirm signals with structure, volume, or higher-timeframe context.
Designed for traders who prefer structure, patience, and momentum alignment.
TDPOWERSYS vs Market-Cap Weighted Peersfor QIC - UnCut Diamonds team..
to compare one company vs its peers bundled as basket.
editable..
Daily Extension from 50DMA (adjustable) in ATR%Indicator to easily spot over extended prices in relation to ATR.
ATR or ADR easily referenced
Free cash flow yield (Quarterly)Indicator: Free Cash Flow Yield (Quarterly) — Technical Description
Purpose
This indicator plots Free Cash Flow Yield (FCF Yield) using quarterly fundamentals and optionally adjusts it for dilution. It also computes trailing averages over multiple horizons (in quarters) to give a long-term valuation context.
Data Sources
All fundamentals are pulled from TradingView’s financial dataset using:
request.financial(syminfo.tickerid, , "FQ", barmerge.gaps_on)
Where:
"FQ" = Quarterly frequency
barmerge.gaps_on = keeps values as step-like series (updates only when new quarterly data is available)
Financial fields used:
FREE_CASH_FLOW (FCF)
ENTERPRISE_VALUE (EV)
TOTAL_SHARES_OUTSTANDING
DILUTED_SHARES_OUTSTANDING
Market cap is derived (not pulled directly in this version):
marketCap = totalSharesOutstanding * close
(Only used as a reference in the script; the yield itself is based on EV.)
Core Calculation
1) FCF Yield (Net)
The base yield is:
FCF Yield
(
%
)
=
FCF
Enterprise Value
×
100
FCF Yield(%)=
Enterprise Value
FCF
×100
Implementation detail:
If FCF is na or EV is na or EV == 0, the result is set to na to avoid division errors.
Dilution Adjustment (Optional Series)
2) Dilution Ratio
The script estimates dilution impact using:
dilutionRatio
=
Total Shares Outstanding
Diluted Shares Outstanding
dilutionRatio=
Diluted Shares Outstanding
Total Shares Outstanding
Notes:
If dilutedSharesOutstanding is missing or zero, the ratio becomes na.
3) Diluted FCF Yield
If the ratio indicates dilution (<= 1), yield is scaled down:
FCF Yield Diluted
=
FCF Yield
×
dilutionRatio
FCF Yield Diluted=FCF Yield×dilutionRatio
Else (ratio > 1 or na), the script defaults to the net yield:
FCF Yield Diluted
=
FCF Yield
FCF Yield Diluted=FCF Yield
Practical interpretation:
More dilution → lower ratio → lower diluted yield.
If dilution fields are not reliable for a ticker, the script falls back to the base yield.
Plotting
Two series are shown:
FCF Yield Net: plotted as columns (bars)
FCF Yield Diluted: plotted as an area overlay
This makes it easy to see:
Step changes when new quarter data arrives
Whether dilution meaningfully reduces the yield
Labels (Per-bar)
When fcfYieldDiluted > 0, the script prints the value as a percentage label at the yield level.
Important technical point:
Since fcfYieldDiluted is computed as a number like 8.5 for 8.5%, labels convert to percent format by dividing by 100 before formatting:
str.tostring(fcfYieldDiluted / 100, format.percent)
Rolling History & Averages
1) Rolling storage
The script maintains a rolling array of the most recent 40 quarterly values:
40 quarters ≈ 10 years
Each time a non-NA quarterly yield appears:
It pushes it into the array
If array length exceeds 40, it removes the oldest value
2) Trailing averages (quarter windows)
Averages are computed over the most recent N quarters:
1Q (latest quarter value)
4Q ≈ 1 year
8Q ≈ 2 years
20Q ≈ 5 years
40Q ≈ 10 years
If fewer than N values exist, that average is na.
End-of-chart Summary Label
On the last bar (barstate.islast), the script draws a summary label containing the trailing averages listed above.
Placement logic
The label is positioned slightly to the right of the current bar:
Uses frequencyUnit (estimated number of chart bars per quarter) to offset the label into the future.
frequencyUnit is computed as:
frequencyUnit
≈
Seconds in 12 months
Seconds per chart bar
÷
4
frequencyUnit≈
Seconds per chart bar
Seconds in 12 months
÷4
This is only for visual spacing, not calculation correctness.
Limitations / Notes
The yield series is “step-like” and updates only when new quarterly fundamentals are available.
For some tickers, TradingView fundamentals (especially diluted shares) can be missing or inconsistent; the script protects against this by returning na or falling back to the net yield.
EV-based yield can differ from market-cap-based yield; EV includes debt and cash effects, so it’s closer to an “all-capital” valuation measure.
Live Candle Range Position SizerThis script displays a fixed execution HUD on the chart that continuously measures the current candle range (high–low) and automatically calculates position size based on a fixed Risk Unit (RU).
Cloud Gold TrendTrend Filter (Ichimoku): If the price is above the cloud (Kumo), look only for "Long" signals. If it is below, look only for "Short" signals.
Entry Signal (Bollinger): When the price touches the Lower Band while you are above the Cloud, it could be a great buying point in an uptrend.
Volatility Confirmation: If the Bollinger Bands squeeze within the cloud, get ready for a strong directional move as soon as the price breaks one of the two levels.
Triple EMA + Stochastic/ADX# Triple EMA + Stochastic/ADX Breakout Indicator
A professional TradingView indicator designed for trend-following and momentum breakout trading. This system uses a hierarchical confirmation process to ensure high-probability entries and robust trend maintenance.
## 🚀 Core Trading Logic: "The Setup Cycle"
This indicator operates on a **Cycle-Based Logic** rather than simple crossovers. A trade cycle is defined as:
1. **The Setup (Priming)**: A Stochastic crossover (K > D for Long, D > K for Short) initiates a "Setup Mode." This is marked by a small dot (Blue for Long, Orange for Short).
2. **The Confirmation (Trend)**: The systems checks for hierarchical EMA alignment (Fast > Medium > Slow for Longs).
3. **The Trigger (Breakout)**: Once the Setup is active and EMAs are aligned, every **Price Breakout** above the previous high (X-period) triggers a continuous **BUY/SELL mark**.
4. **The Exit (Take Profit/Stop)**: The cycle and trade only end when the Fast EMA crosses back over the Medium EMA (EMA 9/21 crossover).
---
## 🛠 Features
### 1. Triple EMA System
* **Hierarchical Alignment**: Requires Fast > Medium > Slow (9, 21, 50 by default) for a confirmed trend direction.
* **Dynamic Trend Background**: Chart background changes color when a full EMA trend is established.
### 2. Dual Filter System (Stochastic & ADX)
* **Stochastic Setup**: Uses smoothed %K and %D to identify the start of momentum cycles.
* **ADX Filter**: Provides a trend-strength baseline. Default threshold is set to 20 to filter out choppy markets.
### 3. Price Breakout Confirmation
* Requires price to break above/below the previous High/Low of the last X bars (default 10).
* Allows for **continuous entries** within a single trend cycle.
### 4. Robust Exit Strategy
* **EMA Crossover Exit**: The primary exit method. Triggers an "EXIT" flag when the trend momentum shifts.
* **ATR Trailing Stop**: A secondary volatility-based stop that moves with the price. Can be set as the absolute exit or used for visual reference.
### 5. Mean Reversion Mode (Optional)
* Identifies overextended price action (percent deviation from EMA2).
* Signals potential "bounce" or "rejection" trades against the trend.
---
## 📊 Dashboard & Visuals
* **🟢 BUY / 🔴 SELL**: Trend continuation breakout signals.
* **🟠 EXIT / 🟣 EXIT**: Trend reversal/exit signals.
* **🔵/🟠 Small Dots**: Setup priming moments.
* **Real-time Dashboard**: Displays current Setup Status, EMA Alignment, Breakout status, ADX strength, and calculated Stop levels.
---
## ⚙️ How to Customize
| Parameter | Recommended Use |
| :--- | :--- |
| **Breakout Lookback** | Lower (3-5) for aggressive scalping, Higher (10-20) for conservative trends. |
| **Filter Mode** | Choose "Stochastic" for momentum or "ADX" for trend strength preference. |
| **ATR Multiplier** | Reduce (1.5) for tighter stops, Increase (3.0) for wider trend following. |
| **Exit ONLY on EMA** | Enable to stay in trades longer; Disable to exit immediately on ATR stop hits. |
---
## 📥 Installation
1. Open your **Pine Editor** in TradingView.
2. Create a new "Indicator."
3. Copy the code from `Triple_EMA_Stochastic_ADX.pine`.
4. Click **Save** and **Add to Chart**.
---
*Developed for Dhan/MCX/Futures and general Asset Trading.*
GOLD TERTIUM MGC 1mThis indicator is a visual tool for TradingView designed to help you read trend structure using EMAs and highlight potential long and short entries on the MGC 1‑minute chart, while filtering pullbacks and avoiding trades when the 200 EMA is flat.
It calculates five EMAs (32, 50, 110, 200, 250) and plots them in different colors so you can clearly see the moving‑average stack and overall direction. The main trend is defined by the 200 EMA: bullish when price and the fast EMAs (32 and 50) are above it with a positive slope, and bearish when they are below it with a negative slope; if the 200 EMA is almost flat, signals are blocked to reduce trading in choppy markets.
Entry logic looks for a pullback into the 32–50 EMA zone on the previous candle, then requires a trend‑aligned candle to trigger a signal: long when the trend is up, the previous bar retested the EMA zone, and the current bar closes above EMA 32 with a bullish body; short when the trend is down, there was a valid retest, the current bar closes below EMA 32 with a bearish body and EMA 32 is below EMA 50. On the chart, you will see colored EMAs plus green “L” triangles under bars for potential long entries and red “S” triangles above bars for potential short entries, which are meant as visual cues rather than automatic trade instructions
KCP RSI + EMA Trend [Dr. K. C. Prakash]KCP RSI + EMA Trend
A professional, low-noise momentum indicator built on Volume-Weighted RSI and EMA trend confirmation, designed to filter false signals and capture high-probability trend moves.
Key Highlights (in simple terms):
Volume-Weighted RSI (VWRSI): Gives more importance to high-volume price moves, reducing weak signals.
EMA-14 on RSI: Confirms momentum direction and avoids premature entries.
HTF RSI Filter (Auto): Aligns trades with higher-timeframe trend (5m→15m, 15m→1H).
Strong Anti-False Filters: Uses RSI slope, range detection, and volume strength.
Clear Zones: Only 20 / 80 extreme levels for clean overbought–oversold structure.
Signals:
BUY: RSI crosses above 50 with volume + HTF trend confirmation
SELL: RSI crosses below 50 with volume + HTF trend confirmation
Best Use:
✔ Intraday & scalping (5m / 15m)
✔ Trend-following entries
✔ Avoiding sideways market traps
Ideal for: Traders who want clean, disciplined signals without over-trading.






















