Multi-Timeframe RSI AlertsThis Pine Script generates alerts based on the Relative Strength Index (RSI) values across two different timeframes — 30-minute and 5-minute. It's designed to help traders identify momentum shifts for both bullish and bearish scenarios.
Penunjuk dan strategi
Omega Ratio -> The NeW SystemOmega Ratio → The NeW System 🚀
Calculate and visualize a smoothed Omega Ratio to measure upside vs. downside performance relative to a target return.
What is the Omega Ratio? 🤔
The Omega Ratio compares the total gains above a specified target return to the total losses below that target. Unlike other risk metrics that focus on volatility alone, Omega shows you how much reward you’re getting for every unit of shortfall risk. A higher Omega means your upside outweighs downside more attractively.
Indicator Inputs ⚙️
Source 📊: the price series to calculate returns from (e.g. close price).
Calculation Period 📆: number of bars over which returns are compared to the target. Longer periods smooth out fluctuations; shorter periods react faster to changing market conditions.
Target Return per Period (%) 🎯: the minimum return you aim for each bar (e.g. 0.1% per day).
Smoothing Period (EMA) 🔄: how many periods to apply an exponential moving average to the raw Omega Ratio, reducing noise and highlighting the trend.
Strong Threshold 🟢: above this value the line turns green, signaling strong upside vs. downside performance (default: 1.0).
Weak Threshold 🔴: below this value the line turns red, warning that losses outweigh gains relative to your target (default: 0.5).
How the Indicator Works 🧮
Calculate periodic returns by comparing each bar’s price to the previous bar.
Convert your target percentage into a decimal per period.
Accumulate gains above the target by summing every time the return exceeds the target amount.
Accumulate losses below the target by summing the shortfall whenever the return falls short of that target.
Form the raw Omega Ratio by dividing total gains above target by total losses below target. If there are no losses below the target, Omega is undefined (and we handle that gracefully).
Smooth with EMA to filter out spikes and reveal the underlying strength or weakness of the ratio.
Plot & Interpretation 🎨
Dynamic Line Color
🟢 Green when the smoothed Omega Ratio exceeds the Strong Threshold, indicating your asset is delivering more reward above target than risk below it.
🔴 Red when it falls below the Weak Threshold, warning that downside shortfalls dominate.
⚪ Gray between thresholds, suggesting a balanced but unimpressive performance.
Threshold Lines
A dashed green line marks the Strong Threshold.
A dashed red line marks the Weak Threshold.
Pro Tips 💡
An Omega above 1 means you’re gaining more above your target than losing below it—a positive sign.
An Omega below 1 warns that losses are outweighing gains relative to your goal.
Adjust the Target Return to fit your trading style: a higher target demands more “elite” performance, while a low target (even 0%) shows you pure upside vs. downside balance.
Use this indicator to instantly see whether an asset is consistently beating your expectations or struggling to hold ground—helping you make more informed entry and exit decisions.
Sortino Ratio -> The NeW SystemSortino Ratio → The NeW System 🚀
Calculate and visualize an annualized, smoothed Sortino Ratio that focuses on downside volatility.
What is the Sortino Ratio? 🤔
The Sortino Ratio is a risk-adjusted performance metric like the Sharpe Ratio, but it only penalizes returns below a chosen benchmark (usually the risk-free rate). By isolating “bad” volatility—periods when your returns dip under that minimum—it shows you how well an asset rewards you for downside risk alone. 📉
Indicator Inputs ⚙️
Source 📊: the price series to calculate returns from (e.g. close price).
Calculation Period 📆: the number of days/bars used to compute average returns and downside volatility. Longer periods smooth out noise; shorter periods react faster.
Annual Risk-Free Rate (%) 💰: the minimum acceptable yearly return, converted internally to a per-bar rate. In crypto, you might set this to zero.
Smoothing Period (EMA) 🔄: how many periods to apply an exponential moving average to the raw Sortino Ratio, reducing spikes and making trends clearer.
Strong Threshold 🟢: above this level the line turns green, signaling robust downside-risk-adjusted performance.
Weak Threshold 🔴: below this level the line turns red, warning of underperformance relative to downside risk.
How the Indicator Works 🧮
Compute periodic returns by comparing each bar’s price to the prior bar.
Convert annual risk-free rate to a per-bar rate (divide by 365 for daily bars).
Calculate average return over the chosen period.
Measure downside deviation by squaring only the shortfalls below the risk-free rate, averaging them, and then taking the square root.
Form the raw Sortino Ratio by subtracting the per-bar risk-free rate from the average return, dividing by downside deviation, and annualizing. If downside deviation is zero, it defaults to zero to avoid errors.
Smooth with EMA to filter noise and highlight the underlying trend.
Plot & Interpretation 🎨
Line Color
🟢 Green when the smoothed Sortino Ratio ≥ Strong Threshold (strong downside-risk-adjusted returns).
🔴 Red when ≤ Weak Threshold (weak or negative performance).
⚪ Gray between thresholds (neutral zone).
Threshold Lines
Dashed green line at the Strong Threshold.
Dashed red line at the Weak Threshold.
Pro Tips 💡
A Sortino Ratio around 1 means returns match downside risk on a 1:1 basis—generally acceptable -> Long Term.
Below 0 indicates returns haven’t beaten your minimum acceptable rate.
Above 2 signals excellent downside-risk-adjusted performance—even in volatile markets like crypto, values slightly below 2 can still be strong -> Long Term.
Use this system to spot when an asset’s returns aren’t just high, but safely high—helping you trade with confidence and minimize nasty drawdowns! 🎯
Sharpe Ratio -> The NeW SystemSharpe Ratio → The NeW System 📈
Calculate and visualize an annualized, smoothed Sharpe Ratio based on daily returns.
What is the Sharpe Ratio? 🤔
The Sharpe Ratio measures risk-adjusted return by dividing the average return by its volatility. A higher Sharpe means you’re earning more reward per unit of risk. In crypto, we assume a 0% risk-free rate.
Indicator Inputs ⚙️
Source
The price series to use (default: close).
Sharpe Rolling Period
Number of days for the rolling average and volatility calculation.
Smoothing Period (EMA)
How many periods to smooth the raw Sharpe with an exponential moving average.
Strong Threshold 🔥
Sharpe ≥ this value shows a “strong” signal in green.
Weak Threshold ❄️
Sharpe ≤ this value shows a “weak” signal in red.
How It Works 🧮
Daily Returns – Calculate the percentage change in price from one day to the next.
Rolling Average – Smooth those daily returns over the chosen Sharpe period.
Rolling Volatility – Compute the standard deviation of daily returns over the same period.
Raw Sharpe – Divide the rolling average by the rolling volatility (with zero-volatility guard).
EMA Smoothing – Apply an EMA to the raw Sharpe to reduce noise.
Annualization – Multiply the smoothed daily Sharpe by √365 to get a yearlyized figure.
Plot & Interpretation 🎨
Line Color
🟢 Green when annualized Sharpe ≥ Strong Threshold (strong risk-adjusted performance)
🔴 Red when annualized Sharpe ≤ Weak Threshold (weak or negative performance)
⚪ Gray when between the thresholds (neutral zone)
Threshold Lines
A dashed green line marks the Strong Threshold.
A dashed red line marks the Weak Threshold.
Pro Tips 💡
A Sharpe around 1 is generally acceptable -> Long term.
Below 0 means you’re losing per unit of risk on average.
Above 2 is excellent—although in crypto, slightly lower values can still signal strength -> Long term.
Use this system to spot when an asset’s risk-adjusted returns are heating up (🔥) or cooling off (❄️), so you can time your trades more effectively!
Multi Timeframe Inside/Outside PrintsShows a countdown until candle open and it's respective print in regards to inside/outside/equal
OBV OverlayOBV overlay
Rising OBV: Buying pressure; may indicate price will move up.
Falling OBV: Selling pressure; may signal a coming drop.
Liquidity Grab Strategy (Volume Trap)🧠 Strategy Logic:
Liquidity Grab Detection:
The script looks for a sharp drop in price (bearish engulfing or breakdown candle).
However, volume remains flat (within 5% of the 20-period moving average), suggesting the move is manipulated, not genuine.
Fair Value Gap Confirmation (FVG):
It confirms that a Fair Value Gap exists — a gap between recent candle bodies that price is likely to retrace into.
This gap represents a high-probability entry zone.
Trade Setup:
A limit BUY order is placed at the base of the FVG.
Stop Loss (SL) is placed below the gap.
Take Profit (TP) is placed at the most recent swing high.
📈 How to Use It:
Add the strategy to your TradingView chart (1–5 min or 15 min works well for intraday setups).
Look for green BUY labels and plotted lines:
💚 Green = Entry price
🔴 Red = Stop loss
🔵 Blue = Take profit
The script will automatically simulate entries when conditions are met and exit either at TP or SL.
Use TradingView’s Strategy Tester to review:
Win rate
Net profit
Risk-adjusted performance
Dot On Plan | Economic Cycle Analysis v2.4This closed-source script applies a structured macroeconomic model to classify economic regimes in real time, using inter-asset ratios and yield spreads. It helps traders and analysts interpret broader market conditions—such as expansion, stagflation, deflation, or supply shocks—through well-established market proxies.
🔍 Core Metrics and Logic
The script tracks the following macro indicators:
- **Copper/Oil Ratio**: A proxy for industrial activity vs. energy costs (Copper futures ÷ Oil futures). A rising ratio signals growth optimism; a falling ratio suggests weakening demand.
- **TIPS Spread (Breakeven Inflation)**: The difference between 10Y Treasury yields and 10Y TIPS yields, reflecting inflation expectations. A high spread indicates inflationary pressure.
- **Gold/Oil Ratio**: Measures market stress (Gold futures ÷ Oil futures). A rising ratio often appears in disinflationary or crisis environments.
- **Copper/Gold Ratio**: A "growth vs. safety" indicator. Rising indicates risk-on confidence; falling suggests risk aversion.
Each ratio is smoothed with a moving average to identify trends, evaluating direction and momentum. Trend strength is assessed using a short-term slope and a statistical threshold to detect persistence.
🧭 Economic Regime Classification
The script combines these metrics to identify 17 distinct economic states, such as:
- Typical Expansion: Indicates strong growth and inflation expectations with low safe-haven demand.
- Stagflation Risk: Reflects cost-push inflation with weak growth and high safe-haven demand.
- Supply Shock Conditions: Signals rising inflation and uncertainty, often due to geopolitical events.
Regime classification is based on the interaction of these metrics and their positioning relative to long-term trends. The specific weighting and logic are proprietary, ensuring a unique approach.
📊 Features
- Live macro regime status table with trend updates and economic implications.
- Visual plots of key ratios and optional moving averages.
- Customizable alerts for key regimes (e.g., stagflation onset, expansion reentry).
- Full customization for MA periods, ratio thresholds, TIPS threshold, and table update frequency.
📈 How to Use
- Apply on daily or weekly charts for stable macro signals (adjustable via "Data Timeframe" input).
- Customize thresholds and MA periods to match your market view.
- Use regime outputs to guide allocation (e.g., cyclical assets in expansion, defensive assets in stagflation).
⚠️ Disclaimer
This script is for informational and educational purposes only and does not constitute financial or investment advice. Past performance is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before trading. The underlying calculation logic is proprietary and not disclosed in full.
ICT+HL🔍 Features:
Session Highs/Lows (Tokyo, London, New York) with customizable time/session colors.
Market Structure Detection:
MSS (Market Structure Shift)
BOS (Break of Structure)
Fair Value Gaps (FVG) and Balance Price Ranges (BPR)
Automatically plots imbalances and their breaks.
Order Blocks (Bullish/Bearish)
Shows valid OBs and highlights OB breaks with confidence flags.
Liquidity Zones (Buyside/Sellside)
Detects resting liquidity and shows it with visual boxes.
⚙️ Fully Configurable:
Toggle visibility for all components (FVGs, OBs, MSS, Liquidity, Sessions)
Supports Present or Historical mode for clean or full chart views
ATR and Margin configurable for liquidity sensitivity
Logic credit goes to LuxAlgo and Refic
Asia Session Reversal Strategy GOLD (Full Version)📈 Asia Session Reversal Strategy (Gold/XAUUSD)
This indicator identifies high-probability reversal trades during the second hour of the Asia session (01:00–02:00 UTC) based on 30-minute candle bias. It:
Detects initial directional push and signals reversal trades on the 1-minute chart
Plots entry, stop-loss, and take-profit levels using a 3:1 reward-to-risk ratio
Includes real-time PnL tracking, daily auto-reset, and alert notifications for BUY/SELL setups
Ideal for scalpers and intraday traders focusing on Gold during consistent, high-liquidity session windows.
Trend Board Pro 1.0Script Name: Trend Board Pro 1.0
Description:
The "Trend Board Pro 1.0" is a TradingView indicator displaying a table with market metrics: daily price change (%), daily volume, average volume, Normalized Average True Range (NATR), correlation with another ticker, trend direction, and open interest (OI). Each metric is color-coded for quick analysis.
Functionality:
Daily Price Change (%): Daily percentage price change. Green for increase, red for decrease.
Daily Volume (DV): Total 24-hour trading volume (in USD). Highlighted if above threshold.
Average Volume (AV): Average volume over the specified period. Highlighted if above threshold.
NATR: Normalized Average True Range, indicating volatility. Highlighted if above threshold.
Correlation (C): Correlation with a ticker (default: BINANCE:BTCUSDT.P). Red for positive, green for negative, gray for neutral.
Trend Direction: Shows the current market direction:
L: Long (uptrend).
S: Short (downtrend).
LK: Long correction (correction in an uptrend).
SK: Short correction (correction in a downtrend).
N: Neutral. Green for L/LK, red for S/SK, gray for N. Displayed without a prefix.
Open Interest (OI): Compares current OI with OI at the start of the period (OI Period). Green for increase, red for decrease, gray for equal or unavailable data.
Settings:
Avg Vol length: Period for average volume (default: 30).
NATR length: Period for NATR (default: 14).
Avg type: Moving average type for NATR (SMA, EMA, RMA, WMA).
Board position: Table position (Right top, Right bottom, etc.).
Cell width: Width of daily change cell (1–20).
OI Period: Period for OI comparison (default: 20).
Show : Enable/disable metrics (Daily Change, Day Volume, Avg Volume, NATR, Correlation, Trend, Open Interest).
Show titles: Display prefixes (DV, AV, N, C, O) for all columns except Trend.
Cell Background/Text color: Default cell background and text colors.
Cell Background/Text color alert: Colors for highlighted cells.
Correlation symbol: Ticker for correlation (default: BINANCE:BTCUSDT.P).
Correlation period: Correlation period (default: 20).
Thresholds: Thresholds for volume, NATR, and correlation.
Correlation colors: Positive (red), negative (green), neutral (gray).
Trend colors: Long (green), short (red), neutral (gray), text (white).
OI colors: Increase (green), decrease (red), text (white).
How to Use:
Open TradingView’s Pine Script editor.
Copy and paste the code.
Click "Add to Chart."
Adjust settings in the indicator menu (right-click → "Settings").
Ensure the ticker supports OI (e.g., futures) and Correlation symbol is available.
Verify the table. "N/A" appears if data is unavailable.
Troubleshooting:
OI: If "N/A," check OI data availability (BTCUSDT_OI).
Correlation: If "N/A," check Correlation Ticker Data in Data Window. Try BINANCE:BTCUSDT.
Trend: Ensure the chart has sufficient data for trend calculation.
Daily Volume: Verify volume data on the hourly timeframe.
Notes:
Optimized for cryptocurrencies but works with any instrument.
For non-crypto intraday, OI is requested from the daily timeframe.
SSS (Smati Sati Swing) v0.3📌 คำอธิบายสคริปต์ – SSS (Smati Sati Swing) v0.3
Smati Sati Swing (SSS) v0.3 คืออินดิเคเตอร์แบบ All-in-One ที่ออกแบบมาเพื่อเทรดเดอร์สายเทรดสั้นที่ต้องการความชัดเจนใน “โครงสร้างกราฟ”, “เทรนด์”, และ “พฤติกรรมตามช่วงเวลา” เพื่อช่วยให้ตัดสินใจได้แม่นยำมากขึ้น
🔹 1. ระบบยืนยัน Swing ด้วย ZigZag (Swing Structure Logic)
ใช้ ZigZag Logic สไตล์ MT4 ในการระบุจุด HH (Higher High), HL, LH, LL
ช่วยให้มองเห็นโครงสร้างราคาได้ชัดเจน
เหมาะสำหรับใช้ตี Fibonacci, วางจุด Stop Loss เชิงโครงสร้าง
ทุกจุด swing จะมี Label แสดงแบบเรียลไทม์ พร้อมตั้งค่าได้หลากหลาย
รองรับ Alert แจ้งเตือนเมื่อตลาดเกิด swing จุดใหม่
🔹 2. Dashboard แสดงแนวโน้มหลาย Timeframe (Trend Detection Logic)
ตรวจจับเทรนด์แบบอัตโนมัติในหลาย TF ได้แก่ 1m, 5m, 15m, 30m, 1h, 4h
โดยใช้ EMA89 เป็นตัวกำหนดแนวโน้มหลัก
ระบบจะเปรียบเทียบราคาและ EMA พร้อม Threshold อัตโนมัติ
แสดงผลเป็น "ขาขึ้น", "Sideway", หรือ "ขาลง"
ใช้สีที่เข้าใจง่ายสำหรับตีความในพริบตาเดียว
🔹 3. กล่องแสดงช่วงเวลา Session (Time Logic)
อินดิเคเตอร์นี้สามารถแสดงกล่องแบบเรียลไทม์ของ Session หลัก ได้แก่:
เอเชีย, ลอนดอน, และนิวยอร์ก (US)
เห็นได้ทันทีว่าแต่ละ Session มีแนวโน้มพักตัวหรือ breakout
ช่วยให้วางกลยุทธ์เทรดตามช่วงเวลาที่มี Volume สูงได้แม่นยำยิ่งขึ้น
🔹 4. ระบบคำนวณ Lot / Margin + ตั้งค่าปรับได้ทุกฟีเจอร์
ใส่ขนาดบัญชีของคุณ และเลือกว่าคุณเทรด คริปโต หรือ ฟอเร็กซ์
ระบบจะแสดง:
Margin ที่ใช้โดยประมาณ (สำหรับ Crypto)
หรือ ขนาด Lot แนะนำ (สำหรับ Forex ตามโมเดล $10,000 = 1 Lot)
ทุกฟีเจอร์ เช่น EMA, ZigZag, Labels, Session, และ Lot Info
สามารถเปิด/ปิดได้จากหน้าตั้งค่าแรก เพื่อให้เหมาะกับสไตล์ของคุณ
💡 เหมาะกับใคร?
เทรดเดอร์ที่เน้นโครงสร้างราคา (เช่น เทรด Break HL / LH)
เทรดเดอร์ที่ใช้ Fibonacci หรือแนวรับต้านแบบ Zone
เทรดเดอร์สายกลับตัว หรือสาย Scalping ที่ต้องการยืนยันเทรนด์ + สวิง
สคริปต์นี้ไม่ repaint และทำงานแบบเรียลไทม์ทุกแท่งราคา
แม้จะเป็น Closed-source แต่ทุกฟีเจอร์หลัก และตรรกะการคำนวณ ได้อธิบายไว้อย่างชัดเจนในคำอธิบายนี้แล้ว
📌 Script Description – SSS (Smati Sati Swing) v0.3
Smati Sati Swing (SSS) v0.3 is an all-in-one indicator developed for short-term traders who prioritize structure, clarity, and decision-making under pressure. This script combines three major components — Trend Direction, Swing Structure, and Session Context — and presents them in an integrated, real-time dashboard.
🔹 1. ZigZag-Based Swing Verification (Structure Logic)
This module uses a ZigZag algorithm (based on MT4-style logic) to identify and label Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
It helps traders visually confirm market structure in real-time
Useful for identifying potential reversal points, placing Fibonacci retracements, or setting structure-based Stop Loss
Swing points are labeled directly on the chart with customizable visuals and alerts
🔹 2. Multi-Timeframe Trend Detection (Trend Logic)
A built-in dashboard displays trend status across key timeframes: 1m, 5m, 15m, 30m, 1h, and 4h, using EMA(89) as the trend anchor.
Price vs EMA is compared with a dynamic threshold
Results in “Uptrend”, “Sideway”, or “Downtrend” conditions
Color-coded for quick interpretation
🔹 3. Session Box Overlay (Time Logic)
The indicator also draws real-time boxes for the Asia, London, and New York (US) sessions, helping traders recognize:
When price tends to consolidate vs. break out
How different sessions impact volatility and structure formation
🔹 4. Lot/Margin Estimator + Custom Settings
Input your account size and select whether you're trading Crypto or Forex
The script will suggest either:
Estimated margin usage (for crypto accounts)
Approximate lot size (for forex accounts, based on a 1 lot = $10,000 model)
Every module (EMA, Sessions, ZigZag, Labels, Lot Display) can be toggled on/off from the main settings for full control
💡 Use Case Summary
SSS v0.3 is ideal for:
Traders who follow structure-based entries (like break of LH/HL)
Fibonacci and supply-demand zone traders
Reversal or scalping strategies that require real-time trend & structure verification
This script does not repaint, and all logic is executed live per-bar. While this is a closed-source script, all components, calculations, and features are described in full here.
Formadores Indicador #3Market Makers Indicator exclusive to Prime and Private clients. It helps to find end-of-movement candles.
Vegas indicatorIdentify abnormal fluctuations in trading volume and K-line amplitude in the market, in order to indicate potential buy or sell signals on the chart.Record reference low or high points through variables refLow and refHigh, used to filter out duplicate signals.Triple criteria of average trading volume judgment, amplitude confirmation, and sudden changes in trading volume, and avoiding duplicate signals through top/bottom filtering. Finally, a "abnormal movement" prompt is given on the chart, which can be used to assist in identifying the entry of main players or abnormal fluctuations
TFOTFO (Trend - FVG - OB) is a comprehensive trading tool developed for traders who follow Smart Money Concepts (SMC) and institutional market structure. This invite-only indicator combines three powerful concepts into a single, easy-to-read visual layout to help traders identify optimal trade setups.
Trend Analysis: The script automatically detects the current market trend (bullish or bearish) based on dynamic price action and moving average logic. It helps you stay aligned with the dominant market direction and avoid counter-trend trades.
Fair Value Gaps (FVG): FVGs are price imbalances left behind by fast market moves. TFO detects and marks these zones in real time. These areas are frequently revisited and can serve as high-probability entries for retracement or continuation setups.
Order Blocks (OB): Order Blocks are regions where institutional players likely placed large buy or sell orders. TFO highlights these blocks on the chart automatically, enabling users to spot potential reversal zones or confirmation points.
The TFO script works on multiple timeframes but is optimized for intraday trading (15m to 4H). All elements are color-coded and customizable, allowing you to adapt it to your personal chart style. It’s designed to simplify chart reading and reduce analysis time by providing institutional-level insights at a glance.
This script is non-repainting, lightweight, and suitable for both beginner and advanced SMC traders. Access is manually granted by the author. For access requests or support, please send a direct message.
Previous Day + Night High/LowPrevious Day close, previous day high/low. Night high and night low. Will help to identify key areas during day swings.
Best EMA Cross Strategy with TP/SLBest EMA Cross Strategy with TP/SL
🧠 Core Concept:
This strategy combines three exponential moving averages (EMAs) to detect trend shifts and places trades with automatic take profit (TP) and stop loss (SL) levels based on percentage risk management.
📊 Indicators Used:
EMA 20 (Green): Short-term trend (for context only)
EMA 50 (Red): Medium-term trend
EMA 200 (Yellow): Long-term trend baseline
✅ Entry Logic:
🔼 Buy Entry (Long Position):
Triggered when:
EMA 50 crosses above EMA 200 (Golden Cross)
EMA 200 is sloping upward (shows long-term trend confirmation)
This suggests a strong bullish reversal or trend continuation.
🔽 Sell Entry (Short Position):
Triggered when:
EMA 50 crosses below EMA 200 (Death Cross)
EMA 200 is sloping downward (confirms long-term bearish trend)
This signals a potential market downturn or continuation of a bearish trend.
📏 Risk Management Logic:
Stop Loss (SL): Set as a fixed % away from entry price (default: 1%)
Take Profit (TP): Set using a Risk-Reward ratio (default: 2:1)
For example:
If SL = 1%, and RR = 2 → TP = 2%
These are set using strategy.exit() for accurate backtesting.
⚙️ Adjustable Parameters in Settings Panel:
Parameter Default Purpose
EMA 20 Length 20 Used for visual trend support
EMA Fast Length 50 Used in crossover (faster-moving average)
EMA Slow Length 200 Used in crossover (slower-moving average)
Stop Loss % 1.0 Distance from entry for SL
Risk-Reward Ratio 2.0 Multiplier for TP target
🔔 Alerts Included:
You’ll be notified when:
Golden Cross (buy opportunity)
Death Cross (sell opportunity)
Set alerts in TradingView from the Alerts panel.
✅ Best Timeframes:
1H, 4H, or Daily
Avoid using on extremely low timeframes (like 1m or 5m) without modification
📈 Strategy Use Tips:
Combine with support/resistance zones for higher probability entries
Use EMA 20 as a trailing dynamic SR level
Backtest on multiple assets and timeframes with adjusted SL/RR
Look for volume confirmation manually if needed
All backtested and very profitable
Higher Timeframe CloudsHigher Timeframe Clouds Indicator
Description
This powerful indicator displays moving average clouds from higher timeframes (M15 and H1) directly on your chart, helping traders identify the broader trend context while analyzing price action. The clouds change color based on the relationship between their component EMAs.
Key Features
• Dual Cloud System for both M15 and H1 timeframes
• Visual Trend Identification through colored cloud fills
• Customizable Display - toggle M15/H1 clouds independently
• Optimized Visibility with carefully calibrated transparency
Cloud Configurations
Each timeframe displays two cloud pairs:
1. Fast Cloud (5/12 EMA) - Reacts quickly to price changes
2. Slow Cloud (34/50 EMA) - Shows longer-term trend direction
Color Coding
• Green Clouds = Bullish trend (faster EMA above slower)
• Red Clouds = Bearish trend (faster EMA below slower)
Display Settings
• Show M15 Clouds - Toggle 15-minute timeframe clouds
• Show H1 Clouds - Toggle 1-hour timeframe clouds
How to Use
1. Look for confluence between higher timeframe clouds
2. Trade in direction of H1 cloud when aligned with M15
3. Use cloud colors as trend filter for entries
4. Watch for cloud crossovers as potential trend changes
Ideal For
• Swing traders analyzing multi-timeframe trends
• Position traders establishing directional bias
• All markets (Forex, Stocks, Crypto)
Tip : Combine with price action patterns at key support/resistance levels for high-probability setups.
TFOTFO (Trend - FVG - OB) is a comprehensive trading tool developed for traders who follow Smart Money Concepts (SMC) and institutional market structure. This invite-only indicator combines three powerful concepts into a single, easy-to-read visual layout to help traders identify optimal trade setups.
Trend Analysis: The script automatically detects the current market trend (bullish or bearish) based on dynamic price action and moving average logic. It helps you stay aligned with the dominant market direction and avoid counter-trend trades.
Fair Value Gaps (FVG): FVGs are price imbalances left behind by fast market moves. TFO detects and marks these zones in real time. These areas are frequently revisited and can serve as high-probability entries for retracement or continuation setups.
Order Blocks (OB): Order Blocks are regions where institutional players likely placed large buy or sell orders. TFO highlights these blocks on the chart automatically, enabling users to spot potential reversal zones or confirmation points.
The TFO script works on multiple timeframes but is optimized for intraday trading (15m to 4H). All elements are color-coded and customizable, allowing you to adapt it to your personal chart style. It’s designed to simplify chart reading and reduce analysis time by providing institutional-level insights at a glance.
This script is non-repainting, lightweight, and suitable for both beginner and advanced SMC traders. Access is manually granted by the author. For access requests or support, please send a direct message.
Mini Screener (ASniper)The screener score is computed in the function getScoreBias(). It does the following:
Calculates various technical indicators on the current chart:
EMA (9) and EMA (21)
RSI (14)
MACD (histogram from the MACD calculation)
VWAP
MFI (Money Flow Index over 14)
ADX (from DMI with smoothing)
MA Thrust Processor | QuantEdgeB⚡MA Thrust Processor | QuantEdgeB
🔭 What is the MA Thrust Processor?
The MA Thrust Processor (MTP) is a dynamic and modular market momentum engine that specializes in thrust-based signal analysis derived from smoothed moving averages. It’s engineered to model directional commitment, detect signal imbalances, and visualize structural momentum in a range of market conditions.
🧬 Think of MTP as a precision-engineered motion sensor — decoding strength, follow-through, and structural imbalance in real time — it detects force, direction, velocity, and alignment, adapting based on your preferred calculation model (Wave, Thrust, Z-Score, or Normalized) and signal mode (Impulse, Trend, or HA Candles).
_______________________
1. 🔧 System Core: Customizability and Processing Engine
📊 Moving Average Types
MA Thrust Processor supports a rich menu of 13+ moving average styles:
• Standard: SMA, EMA, WMA
• Advanced: HMA, LSMA, ALMA, JMA, TEMA, DEMA, SMMA
• Volume-Based: VWMA
• Adaptive Models: VIDYA (3 modes), FRAMA
💡 Each MA type acts as the backbone for signal smoothing and thrust deviation modeling, giving the user tight control over behavior and lag tradeoffs.
⚙️ Calculation Methods (MA Derivatives)
You choose how the core value is calculated:
1️⃣ 𝓦𝓪𝓿𝓮
• Sine-wave modeled oscillator
• Combines MA distance with standard deviation normalization
• Ideal for detecting divergences and cyclical structure
• Output includes center, smoothed line , and histogram.
2️⃣ 𝓣𝓱𝓻𝓾𝓼𝓽
• Calculates MA deviation vs. price and midpoint
• Captures aggressive directional pushes relative to range center
• Excellent for breakout/trend force analysis
3️⃣ 𝓩-𝓢𝓬𝓸𝓻𝓮
• Mean-reverting z-score over MA
• Expresses statistical distance from norm
• Used in reversion or probabilistic strategies
4️⃣ 𝓝𝓸𝓻𝓶𝓪𝓵𝓲𝔃𝓮𝓭
• Scales MA output to 0–1 (centered at 0.5)
• Tracks where the signal lies in its own relative range
• Great for flat vs. trending recognition
_______________________
2. 🧨 SIGNAL MODES – The Behavioral Core
The system supports 3 powerful signal modes that define how the thrust logic is interpreted and visualized.
1️⃣ 𝓘𝓶𝓹𝓾𝓵𝓼𝓮 Mode
🔥 Use Case: Breakouts, aggressive reversals, divergences
🔍 Logic:
• In Wave mode: compares Wave O (oscillator) and S (smoothed)
• In Thrust/Z-Score/Normalized: applies thresholds (static, SD, or percentile)
• Detects sharp departures or rejections from bounds
🎯 Ideal for:
• Scalp or event trades
• High-velocity moves
• Leading edge of trend or compression breaks
2️⃣ 𝓣𝓻𝓮𝓷𝓭 Mode
🧭 Use Case: Stable continuation and trend following
🔍 Logic:
• Signal triggers when value crosses a calculated midline or long-term average
• Thresholds: midline or 365-SMA of smoothed value
• Acts as a stable “bias direction” for trades
🎯 Ideal for:
• Swing trading
• Portfolio allocations
• Holding directional exposure longer
3️⃣ 𝓗𝓐 𝓒𝓪𝓷𝓭𝓵𝓮𝓼 Mode
🎨 Use Case: Visual clarity + phase detection
🔍 Logic:
• Converts signal to Heikin-Ashi candles
• Adds logic for momentum, reversal, continuation, or chop
• Highly discretionary and pattern-oriented
🎯 Ideal for:
• Visual traders
• Phase-based strategies
• Avoiding false positives in chop
_______________________
3. 📊 System Sensor Table (Strength Meter)
MA Thrust Processor includes a sophisticated sensor display with multi-layered insights.
🔁 Signal State
• Long ⟹ bullish conviction or thrust
• Short ⟹ bearish dominance or rejection
• Cash ⟹ neutrality or low conviction
Dynamically generated by logic mode and indicator thresholds.
📊 Strength Bars: Conviction + Potential
Strength output is never binary — instead, it’s expressed via:
1️⃣ Conviction Strength (when signal is active):
• Score from 0% to 100%
• Based on:
o Momentum velocity (Rate of Change)
o Distance from key thresholds
o Divergence signal (Wave mode)
o Flat signal detection (for Normalized)
2️⃣ Potential Strength (when signal = neutral):
• Displays both Bullish and Bearish readiness
• Interprets which side is loading pressure
• Helps traders spot “who has the edge” before breakout
👀 In Wave Mode, potential is calculated from oscillator vs. smoothed
👀 In Impulse/Trend, it blends distance + RoC + signal stability
🔸 HA Candle Phase (HA Mode Only)
When HA mode is active, strength bars are replaced with a live phase classifier:
• Momentum Up/Down: price above/below threshold + same color trend
• Reversal Up/Down: price above/below bounds, opposite signal color
• Continuation Up/Down: following a breakout/confirmation
• Chop: indecision zone
• Neutral: no clear trend
This turns HA mode into a narrative engine, expressing what’s happening, why, and what might come next.
_______________________
4. 🧠 Smart Auto-Configuration
Enabling Use Recommended Settings triggers optimized configurations:
• Pre-set thresholds (static, percentile, SD)
• Ideal lengths for each logic type
• Proper bounds scaling
• MA selections that match the logic
For example:
• Impulse + Thrust ⇒ shorter length + SD
• Trend + Z-Score ⇒ long mean-based
• Wave ⇒ balanced smoothing + SD blend
_______________________
5. 🧪 Summary of Use Cases
Each mode and calculation method within the MA Thrust Processor is tailored for specific trading styles and market conditions. Here’s how to think about their best applications:
🔹 Signal Modes
Impulse Mode is designed for speed and responsiveness. It excels in fast markets where breakouts or sharp reversals happen quickly. Ideal for scalpers, intraday traders, or anyone looking to catch momentum just as it ignites. It’s particularly effective around high-impact events like economic reports or news catalysts, as it picks up directional shifts rapidly.
Trend Mode focuses on longer-term, stable price action. It identifies directional bias using midline or average-based thresholds, making it best for swing traders and trend followers. Because of its stability, it filters out minor fluctuations and helps you stay in trades longer when the directional move is sustained.
HA Candles Mode is for traders who prefer a visual, phase-based approach. It smooths data using Heikin-Ashi logic and adds interpretive layers like "Momentum," "Reversal," or "Chop" to describe what’s happening structurally. This is excellent for discretionary traders, those who use price rhythm or structure, and those seeking cleaner entry points in noisy environments.
🔹 Calculation Methods
Wave is an oscillator-based model. It detects momentum swings and divergence between price and the smoothed oscillator. Great for spotting early reversals, pullback continuations, or cyclical rhythm patterns. In Impulse mode, it shows histogram shifts that reflect internal thrust dynamics.
Thrust quantifies directional pressure by comparing the signal’s distance from both the midpoint of price range and an SMA. This method is powerful when you want to assess how much true force is behind a move — especially useful during breakout scenarios or strong directional pushes.
Z-Score mode normalizes the signal to its statistical distance from the mean. This makes it ideal for mean reversion strategies or situations where price has deviated too far from historical behavior. Traders can look for exhaustion zones or pullback opportunities with greater confidence.
Normalized rescales the signal within a 0–1 range (centered at 0.5), helping traders understand where the price sits within its own context — whether it’s relatively extended or compressed. It’s great for range traders, flat market identification, or mapping gradual bias accumulation.
_______________________
Each mode and method has been thoughtfully designed to align with different strategy frameworks — and switching between them completely reconfigures the way the system operates, giving traders unmatched flexibility across timeframes and asset classes
_______________________
🧭 Conclusion
MA Thrust Processor isn’t just a tool - it’s a precision-calibrated thrust engine that gives market context form. It lets you define your logic, style, and MA behavior while delivering rich visual output and conviction-based strength insight.
Whether you're reading momentum waves, modeling thrust deviation, or interpreting candle structure, MTP adapts to your strategy.
🚀 From short-term scalps to long-term rotations, MTP delivers signal clarity with the quantitative conviction needed in modern markets.
📌 Trade with Statistical Precision | Powered by QuantEdgeB
🔹 Disclaimer: Past performance is not indicative of future results.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Gold Asia Trap StrategyGold Asia Trap Strategy
Gold Asia Trap Strategy is a trading strategy based on price behavior during the Asian session. It observes the price movement between 7:00 and 8:00 AM Bangkok time to determine market direction and sets reference levels for breakout trades from 8:00AM to 8:15 AM.
‼️Warning: This strategy based on price trap at Asia Session, so it:
Works only for Gold - Forex ( FX:XAUUSD ).
Works only on the 15-minute chart (M15).
How to use:
How it works
Required timeframe: ‼️Works only on the 15-minute chart (M15).
Trap zone (7:00 – 8:00 Bangkok time, GMT+7) :
Identifies high/low range during this session.
Determines the H1 candle direction (by comparing open/close).
At 8:15 AM : coloring M15 candle from 8:00 AM to 8:15 AM to orange
Buy if the H1 candle from 7:00 AM to 8:00 AM is bearish, but the M15 candle from 8:00 AM to 8:15 AM fails to break below the low of that H1 candle.
Sell if the H1 candle from 7:00 AM to 8:00 AM is bullish, but the M15 candle from 8:00 AM to 8:15 AM fails to break above the high of that H1 candle.
And, if M15 candle from 8:00 AM to 8:15 AM is failed-breakout candle, it's marked by red-dot at high/low price.
Order management :
Stop-loss: At the highest or lowest price from 7:00 AM to 8:15 AM + Spread based on your broker.
Take-profit: 2R (recommended)
Strategy Settings Used in Backtest
Order Size Type: Fixed size
Order Size: 1 unit
Commission: 0 (can be adjusted in strategy settings)
Slippage: 0 (default, user can modify as needed)
Pyramiding: Off
Initial Capital: $10,000
Currency: USD
Timeframe: M15 only
You can adjust these settings in the Strategy Properties panel to suit your broker conditions or test assumptions.
Footnotes
Please test in demo or backtest environments before using in a live account.
The script does not reuse or replicate any third-party open-source code. It is an original build and logic.