Trend Gauge [BullByte]Trend Gauge
Summary
A multi-factor trend detection indicator that aggregates EMA alignment, VWMA momentum scaling, volume spikes, ATR breakout strength, higher-timeframe confirmation, ADX-based regime filtering, and RSI pivot-divergence penalty into one normalized trend score. It also provides a confidence meter, a Δ Score momentum histogram, divergence highlights, and a compact, scalable dashboard for at-a-glance status.
________________________________________
## 1. Purpose of the Indicator
Why this was built
Traders often monitor several indicators in parallel - EMAs, volume signals, volatility breakouts, higher-timeframe trends, ADX readings, divergence alerts, etc., which can be cumbersome and sometimes contradictory. The “Trend Gauge” indicator was created to consolidate these complementary checks into a single, normalized score that reflects the prevailing market bias (bullish, bearish, or neutral) and its strength. By combining multiple inputs with an adaptive regime filter, scaling contributions by magnitude, and penalizing weakening signals (divergence), this tool aims to reduce noise, highlight genuine trend opportunities, and warn when momentum fades.
Key Design Goals
Signal Aggregation
Merged trend-following signals (EMA crossover, ATR breakout, higher-timeframe confirmation) and momentum signals (VWMA thrust, volume spikes) into a unified score that reflects directional bias more holistically.
Market Regime Awareness
Implemented an ADX-style filter to distinguish between trending and ranging markets, reducing the influence of trend signals during sideways phases to avoid false breakouts.
Magnitude-Based Scaling
Replaced binary contributions with scaled inputs: VWMA thrust and ATR breakout are weighted relative to recent averages, allowing for more nuanced score adjustments based on signal strength.
Momentum Divergence Penalty
Integrated pivot-based RSI divergence detection to slightly reduce the overall score when early signs of momentum weakening are detected, improving risk-awareness in entries.
Confidence Transparency
Added a live confidence metric that shows what percentage of enabled sub-indicators currently agree with the overall bias, making the scoring system more interpretable.
Momentum Acceleration Visualization
Plotted the change in score (Δ Score) as a histogram bar-to-bar, highlighting whether momentum is increasing, flattening, or reversing, aiding in more timely decision-making.
Compact Informational Dashboard
Presented a clean, scalable dashboard that displays each component’s status, the final score, confidence %, detected regime (Trending/Ranging), and a labeled strength gauge for quick visual assessment.
________________________________________
## 2. Why a Trader Should Use It
Main benefits and use cases
1. Unified View: Rather than juggling multiple windows or panels, this indicator delivers a single score synthesizing diverse signals.
2. Regime Filtering: In ranging markets, trend signals often generate false entries. The ADX-based regime filter automatically down-weights trend-following components, helping you avoid chasing false breakouts.
3. Nuanced Momentum & Volatility: VWMA and ATR breakout contributions are normalized by recent averages, so strong moves register strongly while smaller fluctuations are de-emphasized.
4. Early Warning of Weakening: Pivot-based RSI divergence is detected and used to slightly reduce the score when price/momentum diverges, giving a cautionary signal before a full reversal.
5. Confidence Meter: See at a glance how many sub-indicators align with the aggregated bias (e.g., “80% confidence” means 4 out of 5 components agree ). This transparency avoids black-box decisions.
6. Trend Acceleration/Deceleration View: The Δ Score histogram visualizes whether the aggregated score is rising (accelerating trend) or falling (momentum fading), supplementing the main oscillator.
7. Compact Dashboard: A corner table lists each check’s status (“Bull”, “Bear”, “Flat” or “Disabled”), plus overall Score, Confidence %, Regime, Trend Strength label, and a gauge bar. Users can scale text size (Normal, Small, Tiny) without removing elements, so the full picture remains visible even in compact layouts.
8. Customizable & Transparent: All components can be enabled/disabled and parameterized (lengths, thresholds, weights). The full Pine code is open and well-commented, letting users inspect or adapt the logic.
9. Alert-ready: Built-in alert conditions fire when the score crosses weak thresholds to bullish/bearish or returns to neutral, enabling timely notifications.
________________________________________
## 3. Component Rationale (“Why These Specific Indicators?”)
Each sub-component was chosen because it adds complementary information about trend or momentum:
1. EMA Cross
o Basic trend measure: compares a faster EMA vs. a slower EMA. Quickly reflects trend shifts but by itself can whipsaw in sideways markets.
2. VWMA Momentum
o Volume-weighted moving average change indicates momentum with volume context. By normalizing (dividing by a recent average absolute change), we capture the strength of momentum relative to recent history. This scaling prevents tiny moves from dominating and highlights genuinely strong momentum.
3. Volume Spikes
o Sudden jumps in volume combined with price movement often accompany stronger moves or reversals. A binary detection (+1 for bullish spike, -1 for bearish spike) flags high-conviction bars.
4. ATR Breakout
o Detects price breaking beyond recent highs/lows by a multiple of ATR. Measures breakout strength by how far beyond the threshold price moves relative to ATR, capped to avoid extreme outliers. This gives a volatility-contextual trend signal.
5. Higher-Timeframe EMA Alignment
o Confirms whether the shorter-term trend aligns with a higher timeframe trend. Uses request.security with lookahead_off to avoid future data. When multiple timeframes agree, confidence in direction increases.
6. ADX Regime Filter (Manual Calculation)
o Computes directional movement (+DM/–DM), smoothes via RMA, computes DI+ and DI–, then a DX and ADX-like value. If ADX ≥ threshold, market is “Trending” and trend components carry full weight; if ADX < threshold, “Ranging” mode applies a configurable weight multiplier (e.g., 0.5) to trend-based contributions, reducing false signals in sideways conditions. Volume spikes remain binary (optional behavior; can be adjusted if desired).
7. RSI Pivot-Divergence Penalty
o Uses ta.pivothigh / ta.pivotlow with a lookback to detect pivot highs/lows on price and corresponding RSI values. When price makes a higher high but RSI makes a lower high (bearish divergence), or price makes a lower low but RSI makes a higher low (bullish divergence), a divergence signal is set. Rather than flipping the trend outright, the indicator subtracts (or adds) a small penalty (configurable) from the aggregated score if it would weaken the current bias. This subtle adjustment warns of weakening momentum without overreacting to noise.
8. Confidence Meter
o Counts how many enabled components currently agree in direction with the aggregated score (i.e., component sign × score sign > 0). Displays this as a percentage. A high percentage indicates strong corroboration; a low percentage warns of mixed signals.
9. Δ Score Momentum View
o Plots the bar-to-bar change in the aggregated score (delta_score = score - score ) as a histogram. When positive, bars are drawn in green above zero; when negative, bars are drawn in red below zero. This reveals acceleration (rising Δ) or deceleration (falling Δ), supplementing the main oscillator.
10. Dashboard
• A table in the indicator pane’s top-right with 11 rows:
1. EMA Cross status
2. VWMA Momentum status
3. Volume Spike status
4. ATR Breakout status
5. Higher-Timeframe Trend status
6. Score (numeric)
7. Confidence %
8. Regime (“Trending” or “Ranging”)
9. Trend Strength label (e.g., “Weak Bullish Trend”, “Strong Bearish Trend”)
10. Gauge bar visually representing score magnitude
• All rows always present; size_opt (Normal, Small, Tiny) only changes text size via text_size, not which elements appear. This ensures full transparency.
________________________________________
## 4. What Makes This Indicator Stand Out
• Regime-Weighted Multi-Factor Score: Trend and momentum signals are adaptively weighted by market regime (trending vs. ranging) , reducing false signals.
• Magnitude Scaling: VWMA and ATR breakout contributions are normalized by recent average momentum or ATR, giving finer gradation compared to simple ±1.
• Integrated Divergence Penalty: Divergence directly adjusts the aggregated score rather than appearing as a separate subplot; this influences alerts and trend labeling in real time.
• Confidence Meter: Shows the percentage of sub-signals in agreement, providing transparency and preventing blind trust in a single metric.
• Δ Score Histogram Momentum View: A histogram highlights acceleration or deceleration of the aggregated trend score, helping detect shifts early.
• Flexible Dashboard: Always-visible component statuses and summary metrics in one place; text size scaling keeps the full picture available in cramped layouts.
• Lookahead-Safe HTF Confirmation: Uses lookahead_off so no future data is accessed from higher timeframes, avoiding repaint bias.
• Repaint Transparency: Divergence detection uses pivot functions that inherently confirm only after lookback bars; description documents this lag so users understand how and when divergence labels appear.
• Open-Source & Educational: Full, well-commented Pine v6 code is provided; users can learn from its structure: manual ADX computation, conditional plotting with series = show ? value : na, efficient use of table.new in barstate.islast, and grouped inputs with tooltips.
• Compliance-Conscious: All plots have descriptive titles; inputs use clear names; no unnamed generic “Plot” entries; manual ADX uses RMA; all request.security calls use lookahead_off. Code comments mention repaint behavior and limitations.
________________________________________
## 5. Recommended Timeframes & Tuning
• Any Timeframe: The indicator works on small (e.g., 1m) to large (daily, weekly) timeframes. However:
o On very low timeframes (<1m or tick charts), noise may produce frequent whipsaws. Consider increasing smoothing lengths, disabling certain components (e.g., volume spike if volume data noisy), or using a larger pivot lookback for divergence.
o On higher timeframes (daily, weekly), consider longer lookbacks for ATR breakout or divergence, and set Higher-Timeframe trend appropriately (e.g., 4H HTF when on 5 Min chart).
• Defaults & Experimentation: Default input values are chosen to be balanced for many liquid markets. Users should test with replay or historical analysis on their symbol/timeframe and adjust:
o ADX threshold (e.g., 20–30) based on instrument volatility.
o VWMA and ATR scaling lengths to match average volatility cycles.
o Pivot lookback for divergence: shorter for faster markets, longer for slower ones.
• Combining with Other Analysis: Use in conjunction with price action, support/resistance, candlestick patterns, order flow, or other tools as desired. The aggregated score and alerts can guide attention but should not be the sole decision-factor.
________________________________________
## 6. How Scoring and Logic Works (Step-by-Step)
1. Compute Sub-Scores
o EMA Cross: Evaluate fast EMA > slow EMA ? +1 : fast EMA < slow EMA ? -1 : 0.
o VWMA Momentum: Calculate vwma = ta.vwma(close, length), then vwma_mom = vwma - vwma . Normalize: divide by recent average absolute momentum (e.g., ta.sma(abs(vwma_mom), lookback)), clip to .
o Volume Spike: Compute vol_SMA = ta.sma(volume, len). If volume > vol_SMA * multiplier AND price moved up ≥ threshold%, assign +1; if moved down ≥ threshold%, assign -1; else 0.
o ATR Breakout: Determine recent high/low over lookback. If close > high + ATR*mult, compute distance = close - (high + ATR*mult), normalize by ATR, cap at a configured maximum. Assign positive contribution. Similarly for bearish breakout below low.
o Higher-Timeframe Trend: Use request.security(..., lookahead=barmerge.lookahead_off) to fetch HTF EMAs; assign +1 or -1 based on alignment.
2. ADX Regime Weighting
o Compute manual ADX: directional movements (+DM, –DM), smoothed via RMA, DI+ and DI–, then DX and ADX via RMA. If ADX ≥ threshold, market is considered “Trending”; otherwise “Ranging.”
o If trending, trend-based contributions (EMA, VWMA, ATR, HTF) use full weight = 1.0. If ranging, use weight = ranging_weight (e.g., 0.5) to down-weight them. Volume spike stays binary ±1 (optional to change if desired).
3. Aggregate Raw Score
o Sum weighted contributions of all enabled components. Count the number of enabled components; if zero, default count = 1 to avoid division by zero.
4. Divergence Penalty
o Detect pivot highs/lows on price and corresponding RSI values, using a lookback. When price and RSI diverge (bearish or bullish divergence), check if current raw score is in the opposing direction:
If bearish divergence (price higher high, RSI lower high) and raw score currently positive, subtract a penalty (e.g., 0.5).
If bullish divergence (price lower low, RSI higher low) and raw score currently negative, add a penalty.
o This reduces score magnitude to reflect weakening momentum, without flipping the trend outright.
5. Normalize and Smooth
o Normalized score = (raw_score / number_of_enabled_components) * 100. This yields a roughly range.
o Optional EMA smoothing of this normalized score to reduce noise.
6. Interpretation
o Sign: >0 = net bullish bias; <0 = net bearish bias; near zero = neutral.
o Magnitude Zones: Compare |score| to thresholds (Weak, Medium, Strong) to label trend strength (e.g., “Weak Bullish Trend”, “Medium Bearish Trend”, “Strong Bullish Trend”).
o Δ Score Histogram: The histogram bars from zero show change from previous bar’s score; positive bars indicate acceleration, negative bars indicate deceleration.
o Confidence: Percentage of sub-indicators aligned with the score’s sign.
o Regime: Indicates whether trend-based signals are fully weighted or down-weighted.
________________________________________
## 7. Oscillator Plot & Visualization: How to Read It
Main Score Line & Area
The oscillator plots the aggregated score as a line, with colored fill: green above zero for bullish area, red below zero for bearish area. Horizontal reference lines at ±Weak, ±Medium, and ±Strong thresholds mark zones: crossing above +Weak suggests beginning of bullish bias, above +Medium for moderate strength, above +Strong for strong trend; similarly for bearish below negative thresholds.
Δ Score Histogram
If enabled, a histogram shows score - score . When positive, bars appear in green above zero, indicating accelerating bullish momentum; when negative, bars appear in red below zero, indicating decelerating or reversing momentum. The height of each bar reflects the magnitude of change in the aggregated score from the prior bar.
Divergence Highlight Fill
If enabled, when a pivot-based divergence is confirmed:
• Bullish Divergence : fill the area below zero down to –Weak threshold in green, signaling potential reversal from bearish to bullish.
• Bearish Divergence : fill the area above zero up to +Weak threshold in red, signaling potential reversal from bullish to bearish.
These fills appear with a lag equal to pivot lookback (the number of bars needed to confirm the pivot). They do not repaint after confirmation, but users must understand this lag.
Trend Direction Label
When score crosses above or below the Weak threshold, a small label appears near the score line reading “Bullish” or “Bearish.” If the score returns within ±Weak, the label “Neutral” appears. This helps quickly identify shifts at the moment they occur.
Dashboard Panel
In the indicator pane’s top-right, a table shows:
1. EMA Cross status: “Bull”, “Bear”, “Flat”, or “Disabled”
2. VWMA Momentum status: similarly
3. Volume Spike status: “Bull”, “Bear”, “No”, or “Disabled”
4. ATR Breakout status: “Bull”, “Bear”, “No”, or “Disabled”
5. Higher-Timeframe Trend status: “Bull”, “Bear”, “Flat”, or “Disabled”
6. Score: numeric value (rounded)
7. Confidence: e.g., “80%” (colored: green for high, amber for medium, red for low)
8. Regime: “Trending” or “Ranging” (colored accordingly)
9. Trend Strength: textual label based on magnitude (e.g., “Medium Bullish Trend”)
10. Gauge: a bar of blocks representing |score|/100
All rows remain visible at all times; changing Dashboard Size only scales text size (Normal, Small, Tiny).
________________________________________
## 8. Example Usage (Illustrative Scenario)
Example: BTCUSD 5 Min
1. Setup: Add “Trend Gauge ” to your BTCUSD 5 Min chart. Defaults: EMAs (8/21), VWMA 14 with lookback 3, volume spike settings, ATR breakout 14/5, HTF = 5m (or adjust to 4H if preferred), ADX threshold 25, ranging weight 0.5, divergence RSI length 14 pivot lookback 5, penalty 0.5, smoothing length 3, thresholds Weak=20, Medium=50, Strong=80. Dashboard Size = Small.
2. Trend Onset: At some point, price breaks above recent high by ATR multiple, volume spikes upward, faster EMA crosses above slower EMA, HTF EMA also bullish, and ADX (manual) ≥ threshold → aggregated score rises above +20 (Weak threshold) into +Medium zone. Dashboard shows “Bull” for EMA, VWMA, Vol Spike, ATR, HTF; Score ~+60–+70; Confidence ~100%; Regime “Trending”; Trend Strength “Medium Bullish Trend”; Gauge ~6–7 blocks. Δ Score histogram bars are green and rising, indicating accelerating bullish momentum. Trader notes the alignment.
3. Divergence Warning: Later, price makes a slightly higher high but RSI fails to confirm (lower RSI high). Pivot lookback completes; the indicator highlights a bearish divergence fill above zero and subtracts a small penalty from the score, causing score to stall or retrace slightly. Dashboard still bullish but score dips toward +Weak. This warns the trader to tighten stops or take partial profits.
4. Trend Weakens: Score eventually crosses below +Weak back into neutral; a “Neutral” label appears, and a “Neutral Trend” alert fires if enabled. Trader exits or avoids new long entries. If score subsequently crosses below –Weak, a “Bearish” label and alert occur.
5. Customization: If the trader finds VWMA noise too frequent on this instrument, they may disable VWMA or increase lookback. If ATR breakouts are too rare, adjust ATR length or multiplier. If ADX threshold seems off, tune threshold. All these adjustments are explained in Inputs section.
6. Visualization: The screenshot shows the main score oscillator with colored areas, reference lines at ±20/50/80, Δ Score histogram bars below/above zero, divergence fill highlighting potential reversal, and the dashboard table in the top-right.
________________________________________
## 9. Inputs Explanation
A concise yet clear summary of inputs helps users understand and adjust:
1. General Settings
• Theme (Dark/Light): Choose background-appropriate colors for the indicator pane.
• Dashboard Size (Normal/Small/Tiny): Scales text size only; all dashboard elements remain visible.
2. Indicator Settings
• Enable EMA Cross: Toggle on/off basic EMA alignment check.
o Fast EMA Length and Slow EMA Length: Periods for EMAs.
• Enable VWMA Momentum: Toggle VWMA momentum check.
o VWMA Length: Period for VWMA.
o VWMA Momentum Lookback: Bars to compare VWMA to measure momentum.
• Enable Volume Spike: Toggle volume spike detection.
o Volume SMA Length: Period to compute average volume.
o Volume Spike Multiplier: How many times above average volume qualifies as spike.
o Min Price Move (%): Minimum percent change in price during spike to qualify as bullish or bearish.
• Enable ATR Breakout: Toggle ATR breakout detection.
o ATR Length: Period for ATR.
o Breakout Lookback: Bars to look back for recent highs/lows.
o ATR Multiplier: Multiplier for breakout threshold.
• Enable Higher Timeframe Trend: Toggle HTF EMA alignment.
o Higher Timeframe: E.g., “5” for 5-minute when on 1-minute chart, or “60” for 5 Min when on 15m, etc. Uses lookahead_off.
• Enable ADX Regime Filter: Toggles regime-based weighting.
o ADX Length: Period for manual ADX calculation.
o ADX Threshold: Value above which market considered trending.
o Ranging Weight Multiplier: Weight applied to trend components when ADX < threshold (e.g., 0.5).
• Scale VWMA Momentum: Toggle normalization of VWMA momentum magnitude.
o VWMA Mom Scale Lookback: Period for average absolute VWMA momentum.
• Scale ATR Breakout Strength: Toggle normalization of breakout distance by ATR.
o ATR Scale Cap: Maximum multiple of ATR used for breakout strength.
• Enable Price-RSI Divergence: Toggle divergence detection.
o RSI Length for Divergence: Period for RSI.
o Pivot Lookback for Divergence: Bars on each side to identify pivot high/low.
o Divergence Penalty: Amount to subtract/add to score when divergence detected (e.g., 0.5).
3. Score Settings
• Smooth Score: Toggle EMA smoothing of normalized score.
• Score Smoothing Length: Period for smoothing EMA.
• Weak Threshold: Absolute score value under which trend is considered weak or neutral.
• Medium Threshold: Score above Weak but below Medium is moderate.
• Strong Threshold: Score above this indicates strong trend.
4. Visualization Settings
• Show Δ Score Histogram: Toggle display of the bar-to-bar change in score as a histogram. Default true.
• Show Divergence Fill: Toggle background fill highlighting confirmed divergences. Default true.
Each input has a tooltip in the code.
________________________________________
## 10. Limitations, Repaint Notes, and Disclaimers
10.1. Repaint & Lag Considerations
• Pivot-Based Divergence Lag: The divergence detection uses ta.pivothigh / ta.pivotlow with a specified lookback. By design, a pivot is only confirmed after the lookback number of bars. As a result:
o Divergence labels or fills appear with a delay equal to the pivot lookback.
o Once the pivot is confirmed and the divergence is detected, the fill/label does not repaint thereafter, but you must understand and accept this lag.
o Users should not treat divergence highlights as predictive signals without additional confirmation, because they appear after the pivot has fully formed.
• Higher-Timeframe EMA Alignment: Uses request.security(..., lookahead=barmerge.lookahead_off), so no future data from the higher timeframe is used. This avoids lookahead bias and ensures signals are based only on completed higher-timeframe bars.
• No Future Data: All calculations are designed to avoid using future information. For example, manual ADX uses RMA on past data; security calls use lookahead_off.
10.2. Market & Noise Considerations
• In very choppy or low-liquidity markets, some components (e.g., volume spikes or VWMA momentum) may be noisy. Users can disable or adjust those components’ parameters.
• On extremely low timeframes, noise may dominate; consider smoothing lengths or disabling certain features.
• On very high timeframes, pivots and breakouts occur less frequently; adjust lookbacks accordingly to avoid sparse signals.
10.3. Not a Standalone Trading System
• This is an indicator, not a complete trading strategy. It provides signals and context but does not manage entries, exits, position sizing, or risk management.
• Users must combine it with their own analysis, money management, and confirmations (e.g., price patterns, support/resistance, fundamental context).
• No guarantees: past behavior does not guarantee future performance.
10.4. Disclaimers
• Educational Purposes Only: The script is provided as-is for educational and informational purposes. It does not constitute financial, investment, or trading advice.
• Use at Your Own Risk: Trading involves risk of loss. Users should thoroughly test and use proper risk management.
• No Guarantees: The author is not responsible for trading outcomes based on this indicator.
• License: Published under Mozilla Public License 2.0; code is open for viewing and modification under MPL terms.
________________________________________
## 11. Alerts
• The indicator defines three alert conditions:
1. Bullish Trend: when the aggregated score crosses above the Weak threshold.
2. Bearish Trend: when the score crosses below the negative Weak threshold.
3. Neutral Trend: when the score returns within ±Weak after being outside.
Good luck
– BullByte
Scalping
Main Street Break and Retest ScalpKey Features:
1. Dynamic Zones:
- Resistance zones from swing highs (red)
- Support zones from swing lows (green)
- Zone width based on ATR (automatically adapts to volatility)
2. Signal Logic:
- Buy Signal: Price breaks resistance > retests zone > closes bullishly
- Sell Signal: Price breaks support > retests zone > closes bearishly
3. Visual Elements:
- Solid line: Zone boundary
- Dashed line: Retest level
- Semi-transparent fill: Zone area
- Green/Red labels: Entry signals
4. Customization Options:
- Adjust swing sensitivity (left/right bars)
- Modify zone tolerance (ATR multiplier)
- Set max retest period (1-20 bars)
- Control zone display length
### How to Use:
1. Apply to Chart
2. Wait for price to break through a colored zone
3. Watch for retest of the zone (price touching dashed line)
4. Enter on bullish/bearish close with confirmation label
### Optimization Tips:
- For day trading: Reduce leftBars/rightBars to 2-3
- For swing trading: Increase maxRetestBars to 30-50
- In high volatility: Increase ATR multiplier to 0.7-1.0
1. Volume Pressure Filter:
- Added two new inputs: Volume MA Length (default 20) and Volume Multiplier (default 1.5)
- Signals now require volume to be greater than Volume Multiplier times the moving average volume
- Only candles with above-average volume will generate signals
2. Signal Logic Enhancement:
- Volume filter applied at both detection points:
- During retest confirmation
- At final signal generation
- Maintained original break/retest logic while adding volume confirmation
3. Visual Improvements:
- Updated indicator name to reflect volume filtering
- Cleaner signal labels with "BUY"/"SELL" text
### How the Volume Filter Works:
1. Calculates a moving average of volume (default 20 periods)
2. Defines "sufficient volume" as current volume > (volume MA × multiplier)
3. Requires this volume condition to be true on the retest candle:
- For buys: Volume surge when price retests broken resistance as support
- For sells: Volume surge when price retests broken support as resistance
This modification significantly reduces low-quality signals by ensuring only high-conviction price moves with supporting volume generate trade signals. The original zone identification and retest logic remains unchanged, preserving the core strategy while adding volume confirmation.
SAFE Leverage Pro x100* SAFE Leverage PRO Based on Timeframes *
Description:
Safe Leverage Pro x100 is an indicator designed to help traders choose prudent, realistic, and dynamic leverage, adapted to the timeframe and volatility of the asset they are trading.
Based on rigorous statistical and practical observation , this indicator does not propose fixed rules, but rather offers a visual estimate of the maximum leverage a typical trade can tolerate without being liquidated, based on the range of movement of the current candle.
At the same time, it automatically suggests more conservative leverage (by default, half of the maximum) for more controlled risk management.
* How does it work?
It does not issue entry or exit signals .
Its value lies in offering a visual guide to the ideal leverage to apply to your own entry strategy, based on the risk implied by the candle.
It calculates the percentage fluctuation of the candle and, from there, estimates the maximum leverage that could be used without being liquidated, based on real statistical data for different risk levels (from x1 to x100).
Display:
An orange line with the maximum probable leverage allowed by current volatility.
A green line with the conservative version (half), ideal for maintaining a safety margin.
* Philosophy behind the indicator
This project was born as a response to the simplistic discourse that condemns leverage without context.
Leverage is not the enemy.
The enemy is not understanding when, how much, and how to use it strategically.
Safe Leverage Pro x100 proposes a new narrative:
Leverage should be adjusted to the real market environment , not to arbitrary rules like “ x5 is safe for everything .”
For example:
In BTC or ETH on a 5m timeframe , where candles rarely exceed a 0.5% range , high leverage (80x–100x) may be viable.
However, in BTC or ETH on longer timeframes (such as 4H ), volatility increases, and the logical leverage is reduced to 30x or 40x .
This means that the same trader, with the same strategy, can adjust leverage to multiply their profits without increasing relative risk .
If their take profit is 1.5% and the SL is well calculated, with 30x they can get +45% instead of the traditional 7.5%, keeping their system intact.
* Important:
Before following the suggestions of this indicator, check the maximum leverage your broker or platform allows for the asset in question, as these vary significantly between instruments and platforms.
This is a guiding indicator , not a guarantee or an automatic system .
Ultimate responsibility always rests with the conscious trader.
— I will soon be releasing more specific versions (x5, x10, x20, etc.), tailored to different trading styles. —
(Trial version until July 31, 2025)
Master leverage like a conscious pro! 🚀
— Safe Leverage Pro x100
SAFE Leverage Pro x50Safe Leverage Pro x50 — Safe leverage based on timeframes
Description:
Safe Leverage Pro x50 is an indicator designed to help traders choose prudent and realistic leverage, tailored to the timeframe being traded and the asset chosen.
Based on rigorous statistical research, this indicator provides a visual recommendation of the maximum typical leverage by timeframe and automatically suggests a more conservative value (by default, half) for trading with greater peace of mind and risk control.
* The goal is not for the indicator to make decisions for you, but rather to support your pre-defined entry strategies, allowing you to clearly understand how much leverage you can use without compromising your account against normal price fluctuations.
*The indicator does not calculate based on real-time volatility or ATR, but rather relies on statistical historical patterns obtained by analyzing price behavior after entry, differentiating between average movements in long and short entries by timeframe.
Important: Before following the recommendations of this indicator, check the maximum leverage your broker or exchange allows for the asset you are trading, as it can vary significantly between platforms.
* Philosophy behind the indicator:
This project arises as a response to the simplistic discourse that condemns leverage without distinguishing nuances.
Leverage is not intrinsically bad. What is dangerous is leveraging without method, without awareness, and without risk management.
Safe Leverage Pro x50 is designed to change that narrative:
** It's not about whether or not to use leverage, but when, how much, and how to use it intelligently.
RSI-MACD Momentum Fusion Indicator(RMFI)📈 RSI-MACD Momentum Fusion Indicator (RMFI)
The RMFI combines the strengths of two RSI variants with a dynamically adaptive MACD module into a powerful momentum oscillator ranging from 0 to 100. The goal is to unify converging momentum information from different perspectives into a clear, weighted overall signal.
🔧 Core Features
RSI 1: Classic Wilder RSI, sensitive to short-term momentum.
RSI 2: Modified RSI based on normalized price movement ranges (Range Momentum).
MACD (3 Modes):
Standardized (min/max-based)
Fully adaptive (Z-score normalization)
50% adaptive (hybrid weighting of both approaches)
Dynamic MACD mode selection (optional): Automatic switching of MACD normalization based on volatility levels (ATR-based).
Signal Line: Smoothed average of all components to visualize momentum trends and crossovers.
🎯 Visualization
Clear separation of overbought (>70) and oversold (<30) zones with color highlighting.
Different colors based on the dynamic MACD mode – visually indicates how strongly the market adapts to volatility.
⚙️ Recommended Use
Ideal for trend following, divergence confirmation (with external divergence logic), and momentum reversals.
Particularly effective in volatile markets, as the MACD component adaptively responds to instability.
© champtrades
Momentum Candle by Sekolah Trading## 🔷 Introduction
**Momentum Candle by Sekolah Trading** is a proprietary price action tool that identifies high-conviction candles with large bodies and minimal wicks, based on dynamically adjusted thresholds tailored to each pair and timeframe. This script helps traders recognize moments of price acceleration that often precede breakouts, trend continuation, or sharp reversals.
---
## 🔷 What Makes This Script Unique (Originality & Utility)
Unlike traditional candle filters that rely on static size comparisons, this indicator uses:
- **Instrument-specific pip sensitivity**: Automatically detects if the pair is XAUUSD, JPY-based, or other Forex instruments.
- **Timeframe-based calibration**: Adjusts body size thresholds dynamically for 5m, 15m, 30m, and 1h.
- **Wick ratio control**: Validates only candles with short wicks (<30%), filtering indecisive moves.
- **Non-repainting logic**: Signals appear after candle close, with no future data lookahead.
This logic has been tested and refined internally by **Sekolah Trading**, designed for scalpers and intraday traders who rely on clean price action structure.
---
## 🔷 How It Works
1. **Pair & Timeframe Detection**
Adjusts `minRange` dynamically based on:
- Gold (XAUUSD), JPY pairs, or other Forex
- Timeframe: 5m to 1h
2. **Candle Structure Analysis**
- Calculates body = `abs(open - close)`
- Wick = `upper + lower shadows`
- Valid only if wick is under 30% of total candle
3. **Conditions for Signal**
- Body ≥ minRange
- Wick ≤ 30%
- Clear bullish or bearish direction
4. **Plots**
- 🔺 Blue triangle = Bullish momentum candle
- 🔻 Red triangle = Bearish momentum candle
---
## 🔷 How to Use
1. **Add to any 5m–1h chart**, ideally on XAUUSD or major Forex pairs
2. **Wait for signal triangle** to appear at the close of a candle
3. Use with:
- Trend indicators (MA, Supertrend, etc.)
- Support/resistance zones
- Breakout levels
4. **Set alerts** using:
`Momentum Candle (Body)`
---
## 🔷 Why This Script is Closed-Source
This indicator includes proprietary logic created by **Sekolah Trading** for professional and community use:
- Original dynamic pip sensitivity calibration
- Custom multi-condition filtering
- Non-reused, non-public logic with adaptive precision
The source is protected to prevent unauthorized duplication. However, all relevant logic and intent have been clearly explained above as required by TradingView’s House Rules.
---
## 🔷 Disclaimer
This indicator does not provide financial advice or guaranteed signals. Always combine with your own analysis and risk management. Historical performance does not guarantee future results.
---
## 🔷 Suggested Tags
`momentum`, `price action`, `breakout`, `forex`, `xauusd`, `jpy`, `scalping`, `candle`, `non-repainting`, `trend confirmation`
BES TradingThis is a trend-following indicator that delivers optimal performance during the U.S. trading session — specifically from the East Coast market open until 11:00 AM EST. It generates buy and sell signals in the form of A+ and A, both of which are equally valid and maintain a 90% success rate in live trading conditions.
The indicator offers strong protection against overtrading, typically generating only one or two signals per day — and occasionally none — due to its strict algorithmic requirements. These filters ensure that only high-efficiency, high-probability signals are triggered.
📊 NQ - 1 Trade A Day Strategy Summary:
🔥 Total Trades: 85 (dec24/may25)
✅ Wins: 77
❌ Losses: 8
🎯 Win Rate: 90.59%
💰 Total Points Gained: 915
📈 Average Points/Trade: 10.76
💵 Total P/L ($): $18,300
📆 Average Daily P/L: $215.29
🧠 Disciplined, selective entries — just one trade a day.
⚙️ Built for consistency, not overtrading.
💼 Perfect for intraday trading and getting funded account payouts from prop firms like Apex, Bulenox, Tradeify, and more.
Quantum Scalper Pro – Adaptive EMA/VWAP Hybrid Engine
🧠 Quantum Scalper Pro v2.1 – Smart Trend Strategy + Re-Entry System
📌 Unlock precision trading with an advanced hybrid engine built for real-time decision-making.
Quantum Scalper Pro is a high-performance trading strategy designed for scalpers, intraday traders, and short-term swing traders who demand accuracy, speed, and adaptability in fast-moving markets.
🚀 What makes it powerful?
✅ Triple EMA + VWAP/MVWAP Engine
Stay aligned with real price structure using a dynamic system of 7/25/50 EMAs combined with smoothed VWAP and MVWAP confirmations.
✅ HTF Trend Sync
Only trade when price is aligned with the higher-timeframe (1H by default) trend for maximum momentum.
✅ Smart Re-Entry Logic
Automatically looks for ideal re-entry points after exits, allowing you to capture extended trends without chasing.
✅ Built-in High-Probability Patterns
Bullish & Bearish Engulfing
RSI Divergences (regular & hidden)
Volatility breakouts filtered by ATR
✅ Advanced Risk Management
Position sizing is calculated based on actual stop-loss range (ATR), ensuring proper risk exposure on each trade.
✅ Noise Filters
Eliminates signals during:
Price consolidation
Anomalous candle spikes
Zones near key support/resistance
🧪 Perfect for:
5m / 15m / 1H traders
Scalpers who want smarter exits
Swing traders looking for trend-aligned entries
Anyone who loves logic-backed automation
🔔 Custom Alerts Included
✔ Buy / Sell signals
✔ Exit signals
✔ Clean visual cues on chart
📥 Want access?
This is a private invite-only script.
🔒 Message me directly to get a trial access or lifetime access.
“Precision isn't optional. It's built into every line of this strategy.”
🧩 Developed by: Quantum Stardust Group
💬 DM for access, support, or to join the Quantum Traders group.
MACD-VWAP-BB IndicatorThe Scalping Rainbow MACD-VWAP-BB Indicator is a simple tool for beginners to scalp (make quick trades) on a 1-minute chart in TradingView. It helps you decide when to buy or sell assets like forex (EUR/USD), crypto (BTC/USD), or stocks by showing clear signals directly on the candlestick chart. Here’s how to use it for scalping, explained in the easiest way:
Setup: Open TradingView, choose a 1-minute chart for a liquid asset (e.g., EUR/USD). Copy the indicator code into the Pine Editor (bottom tab), click “Add to Chart.” You’ll see green triangle-up signals below candles for buying and red triangle-down signals above candles for selling.
Buy Signal (Green Triangle Up): When a green triangle appears below a candle, it means the MACD, VWAP, and Bollinger Bands all suggest the price may rise. Action: Buy immediately, aiming for a small profit (5-10 pips in forex, 0.1-0.5% in crypto/stocks). Set a stop-loss 2-5 pips below the recent low to limit losses.
Sell Signal (Red Triangle Down): A red triangle above a candle signals a potential price drop. Action: Sell or short the asset, targeting a quick profit. Set a stop-loss 2-5 pips above the recent high.
Scalping Tips: Trade during busy market hours (e.g., 5:30 PM–9:30 PM IST for forex). Exit trades within 1-5 minutes. Only risk 1-2% of your account per trade. Check for support/resistance levels or candlestick patterns to confirm signals.
Practice: Use a demo account to test the indicator. Stick to 3-5 trades per session to avoid overtrading. If signals are too frequent, adjust “Signal Delay” to 2 in settings.
This indicator simplifies scalping by combining three reliable tools into clear buy/sell signals, perfect for beginners.
EMTB ProEMTB Pro 1 MIN SCALPER Strategy Description
Overview
The EMTB Pro 1 MIN SCALPER is a PineScript v5 trading strategy designed for scalping on a 1-minute timeframe. It combines multiple technical indicators and filters to generate precise buy and sell signals, aiming to capitalize on short-term price movements. The strategy is highly customizable, allowing traders to adjust inputs such as price sources, moving averages, stop-loss/take-profit settings, and trading sessions. It is ideal for active traders in volatile markets like forex, crypto, or indices.
Key Features
- Scalping Focus: Optimized for 1-minute charts to capture quick price movements.
- Multiple Indicators: Uses moving averages (MA), Average True Range (ATR) for trailing stops, Relative Strength Index (RSI) filter, and an optional trend filter.
- Flexible Risk Management: Supports percentage-based or fixed stop-loss/take-profit, trailing stops, and pyramiding (up to 5 positions).
- Session Filter: Allows trading during specific sessions (London, New York, or 24/7).
- Heikin Ashi Option: Optionally uses Heikin Ashi candles for smoother price data.
- Visual Feedback: Plots buy/sell signals, stop-loss/take-profit markers, and an optional RSI debug plot for analysis.
- User-Friendly Inputs: Extensive customization options grouped for ease of use (e.g., RSI settings, MA types).
Technical Components
1. Price Source Selection:
- Traders can choose the price source for calculations: open, close, high, low, or an EMA-based moving average (EMA:EMA-based MA).
- The EMA-based MA combines a short-term EMA (default length: 6) with an optional secondary MA (e.g., SMA, WMA, VWMA) and an offset for fine-tuning.
2. Moving Average (MA) Signal:
- The strategy uses a short-term MA (default: 3-period Hull Moving Average, HMA) to generate buy/sell signals based on crossovers with a trailing stop.
- MA types include SMA, EMA, WMA, or HMA, configurable via the 'smoothing' input.
- Buy signal: MA crosses above the trailing stop.
- Sell signal: Trailing stop crosses above the MA.
3. Trailing Stop (ATR-Based):
- A dynamic trailing stop is calculated using the Average True Range (ATR, default length: 14) multiplied by a user-defined factor (default: 1.5).
- The trailing stop adjusts based on price movement, locking in profits or limiting losses.
4. RSI Filter:
- An optional RSI filter (default: enabled) restricts trades to specific RSI ranges:
- Buy: RSI between 20 and 50 (default), indicating potential oversold conditions.
- Sell: RSI between 50 and 80 (default), indicating potential overbought conditions.
- RSI length is configurable (default: 14).
- Validation ensures rsiBuyMax > rsiBuyMin and rsiSellMax > rsiSellMin to prevent invalid settings.
5. Trend Filter:
- An optional trend filter (default: enabled) uses a longer-term EMA (default length: 50) to ensure trades align with the market trend:
- Buy trades require the price to be above the trend EMA (uptrend).
- Sell trades require the price to be below the trend EMA (downtrend).
6. Session Filter:
- Restricts trading to specific sessions: London (08:30–14:00), New York (09:30–16:00), or 24/7 (default: enabled).
- Useful for targeting high-volatility periods or avoiding low-liquidity times.
7. Risk Management:
- Stop-Loss: Configurable as a percentage (default: 2%) or fixed value.
- Take-Profit: Configurable as a percentage (default: disabled) or fixed value (default: 15).
- Trailing Stop: Optionally enabled (default: true) to follow price movements.
- Pyramiding: Allows up to 5 simultaneous trades in the same direction.
- Position Sizing: Fixed quantity (default: 1) with an initial capital of 100 units.
8. Visualizations:
- Plots the trailing stop (red), trend MA (blue), and EMA-based MA (yellow, if selected).
- Buy signals (green triangles) and sell signals (red triangles) with text labels.
- Take-profit (white circles) and stop-loss (purple circles) markers.
- Bar coloring: Green for bullish bars, red for bearish bars.
- Optional RSI debug plot (blue) with horizontal lines for buy/sell thresholds (green/red, dashed).
Entry and Exit Logic
- Long Entry: Triggered when buyCondition is true, which requires:
- Price above trailing stop.
- MA crossover above trailing stop.
- Uptrend (if trend filter enabled).
- Within trading session (if session filter enabled).
- RSI between rsiBuyMin and rsiBuyMax (if RSI filter enabled).
- AllowBuy is true, and fewer than 5 open trades.
- Short Entry: Similar conditions for sellCondition, with price below trailing stop, downtrend, and RSI between rsiSellMin and rsiSellMax.
- Exits:
- Take-profit hit: Closes all positions.
- Trailing stop hit: Closes long/short positions dynamically.
- Stop-loss hit: Closes positions if trailing stop is disabled.
- Opposite signal: Closes long positions on sell signals and vice versa.
Customization Options
The strategy offers extensive inputs for tailoring to different markets or preferences:
- Price Source: Choose between raw prices or EMA-based MA.
- MA Type and Period: Adjust the short-term MA for signal generation.
- ATR Settings: Modify ATR length and multiplier for trailing stop sensitivity.
- RSI Filter: Enable/disable, adjust length, and set buy/sell ranges.
- Trend Filter: Toggle on/off and adjust EMA length.
- Session Filter: Select trading sessions or trade 24/7.
- Risk Management: Configure stop-loss/take-profit as percentages or fixed values, enable/disable trailing stop.
- Heikin Ashi: Smooth price data for less noise.
- EMA-based MA: Fine-tune with secondary MA type and offset.
Usage Instructions
1. Add to TradingView:
- Copy the PineScript code into the TradingView Pine Editor.
- Click “Add to Chart” to apply the strategy.
2. Configure Inputs:
- Access the strategy settings to adjust inputs (e.g., RSI ranges, MA period, session filters).
- Default settings are optimized for a 1-minute timeframe but can be tweaked for other markets or timeframes.
3. Backtesting:
- Use TradingView’s Strategy Tester to evaluate performance on historical data.
- Adjust parameters like stopLoss, takeProfit, or atrMultiplier based on results.
4. Live Trading:
- Ensure your broker’s spreads and commissions align with the strategy’s scalping nature.
- Monitor the chart for buy/sell signals and use the RSI debug plot (showRSI=true) to verify RSI conditions.
5. Risk Warning:
- Scalping involves high risk due to frequent trades and tight margins. Test thoroughly before using real capital.
- Consider market conditions (e.g., volatility, liquidity) when deploying the strategy.
Example Settings for Forex (e.g., EUR/USD, 1-Minute)
- Price Source: close
- MA Type: HMA, Period: 3
- ATR: Length 14, Multiplier 1.5
- RSI Filter: Enabled, Buy Range 20–50, Sell Range 50–80, Length 14
- Trend Filter: Enabled, Length 50
- Session: 24/7 or London/New York for high volatility
- Stop-Loss: 2% (percentage-based)
- Take-Profit: 15 (fixed value)
- Trailing Stop: Enabled
Development Notes
- The strategy was developed in PineScript v5, ensuring compatibility with TradingView’s latest features.
- Several bugs were fixed during development:
- Resolved 'Undeclared identifier "color"' by using color. (e.g., color.white for take-profit markers).
- Fixed 'Cannot use "plot"/"hline" in local scope' by moving RSI debug plots to the global scope.
- Addressed 'Cannot use global variable "smoothing"' by passing it as a function parameter.
- Eliminated function name conflicts by renaming the second ma() function to maMain().
- The code is well-documented with clear section headers (e.g., Inputs, RSI, Plots) for easy navigation.
Limitations and Considerations
- Market Dependency: Performance varies by market (e.g., forex, crypto, stocks) and timeframe. Backtest thoroughly.
- Broker Spreads: High spreads can erode profits in scalping strategies. Choose a low-spread broker.
- Overfitting Risk: Avoid excessive optimization of inputs, as it may reduce robustness.
- No Guarantee: Past performance does not guarantee future results. Use at your own risk.
How to Share Feedback
If you use this strategy, feel free to share your results or suggestions in the comments on TradingView! Questions about customization or bug reports are welcome. I’m happy to assist with tweaks or optimizations.
Credits
Developed with contributions from the TradingView community and debugged with external support. Special thanks to those who helped resolve PineScript errors!
SimpleBiasSimpleBias - Multi-Timeframe Bias Analysis Indicator
Overview
SimpleBias is a comprehensive multi-timeframe bias analysis indicator designed to help traders make informed trading decisions by displaying market bias across multiple timeframes in a clean, organized table format.
Key Features
Multi-Timeframe Analysis
8 Timeframes Supported : 1M, 1W, 1D, 4H, 1H, 15m, 5m, 1m
Adaptive Display : Shows only relevant timeframes based on current chart timeframe
Real-time Bias Detection : Compares current open price with previous period's open price
Signal Generation
Day Trading Mode : Ideal for 15-minute timeframe analysis
Scalping Mode : Optimized for 5-minute timeframe trading
Signal OFF : Pure bias analysis without trade signals
Customization Options
Theme Support : Light mode and dark mode with automatic color adaptation
Position Control : Table can be positioned at top-right, middle-right, or bottom-right
Size Options : Tiny, small, or normal text size
Color Customization : Full control over bias colors, signal colors, and interface elements
Transparency : Optional transparent background for cleaner chart appearance
How It Works
Bias Calculation
The indicator determines market bias by comparing the current timeframe's open price with the previous period's open price:
BULLISH : Current open > Previous open
BEARISH : Current open < Previous open
NEUTRAL : Current open = Previous open
Adaptive Timeframe Display
The indicator intelligently shows only relevant timeframes based on your current chart:
On 1M chart: Shows 1M bias only
On 1W chart: Shows 1M, 1W bias
On 1D chart: Shows 1M, 1W, 1D bias
And so on...
Signal Logic
Day Trading : Compares current price with 4H open price
Scalping : Compares current price with 1H open price
Usage Instructions
Add to Chart : Apply the indicator to any timeframe chart
Configure Settings :
- Choose table position and text size
- Select signal mode (OFF/Day Trade/Scalping)
- Customize colors and theme
Interpret Results :
- Green/Blue text = Bullish bias
- Red text = Bearish bias
- Gray text = Neutral bias
Customization Guide
Theme Settings
Light Mode : Traditional white background with dark text
Dark Mode : Dark background with light text, optimized for dark charts
Transparent Background : Clean overlay without background color
Color Schemes
Bias Colors : Separate customization for bullish, bearish, and neutral bias
Signal Colors : Distinct colors for buy, sell, and neutral signals
Interface : Control table background and border colors
Best Practices
For Day Trading
Use 15-minute or 1-hour charts
Enable "Day Trade" signal mode
Focus on 4H and higher timeframe bias alignment
For Scalping
Use 5-minute charts
Enable "Scalping" signal mode
Watch for 1H and 4H bias alignment
For Swing Trading
Use 4H or daily charts
Keep signal mode OFF
Focus on weekly and monthly bias alignment
Important Notes
This indicator is for educational and analysis purposes only
Not financial advice - always do your own research
Past performance does not guarantee future results
Risk management is essential in all trading activities
Technical Specifications
Pine Script Version : v6
Overlay : True (displays on price chart)
Performance : Optimized with cached security requests
Compatibility : Works on all TradingView timeframes and instruments
---
SimpleBias - Indikator Analisis Bias Multi-Timeframe
Gambaran Umum
SimpleBias adalah indikator analisis bias multi-timeframe yang komprehensif, dirancang untuk membantu trader membuat keputusan trading yang tepat dengan menampilkan bias pasar di berbagai timeframe dalam format tabel yang bersih dan terorganisir.
Fitur Utama
Analisis Multi-Timeframe
8 Timeframe Didukung : 1M, 1W, 1D, 4H, 1H, 15m, 5m, 1m
Tampilan Adaptif : Hanya menampilkan timeframe yang relevan berdasarkan timeframe chart saat ini
Deteksi Bias Real-time : Membandingkan harga open saat ini dengan harga open periode sebelumnya
Mode Sinyal Trading
Mode Day Trading : Ideal untuk analisis timeframe 15 menit
Mode Scalping : Dioptimalkan untuk trading timeframe 5 menit
Mode OFF : Analisis bias murni tanpa sinyal trading
Opsi Kustomisasi
Dukungan Theme : Mode terang dan gelap dengan adaptasi warna otomatis
Kontrol Posisi : Tabel dapat diposisikan di kanan-atas, kanan-tengah, atau kanan-bawah
Opsi Ukuran : Ukuran teks kecil, sedang, atau normal
Kustomisasi Warna : Kontrol penuh atas warna bias, warna sinyal, dan elemen interface
Transparansi : Background transparan opsional untuk chart yang lebih bersih
Cara Kerja
Perhitungan Bias
Indikator menentukan bias pasar dengan membandingkan harga open timeframe saat ini dengan harga open periode sebelumnya:
BULLISH : Open saat ini > Open sebelumnya
BEARISH : Open saat ini < Open sebelumnya
NEUTRAL : Open saat ini = Open sebelumnya
Petunjuk Penggunaan
Tambahkan ke Chart : Terapkan indikator ke chart timeframe apapun
Konfigurasi Settings :
- Pilih posisi tabel dan ukuran teks
- Pilih mode sinyal (OFF/Day Trade/Scalping)
- Sesuaikan warna dan theme
Interpretasi Hasil :
- Teks hijau/biru = Bias bullish
- Teks merah = Bias bearish
- Teks abu-abu = Bias neutral
Best Practices
Untuk Day Trading
Gunakan chart 15 menit atau 1 jam
Aktifkan mode sinyal "Day Trade"
Fokus pada alignment bias timeframe 4H ke atas
Untuk Scalping
Gunakan chart 5 menit
Aktifkan mode sinyal "Scalping"
Perhatikan alignment bias 1H dan 4H
Catatan Penting
Indikator ini hanya untuk tujuan edukasi dan analisis
Bukan nasihat keuangan - selalu lakukan riset sendiri
Performa masa lalu tidak menjamin hasil masa depan
Manajemen risiko sangat penting dalam semua aktivitas trading
SimpleBias membantu trader mempertahankan kesadaran terhadap bias pasar di berbagai timeframe, mendukung timing dan pengambilan keputusan yang lebih baik dalam strategi trading mereka.
CHN BUY SELL with EMA 200Overview
This indicator combines RSI 7 momentum signals with EMA 200 trend filtering to generate high-probability BUY and SELL entry points. It uses colored candles to highlight key market conditions and displays clear trading signals with built-in cooldown periods to prevent signal spam.
Key Features
Colored Candles: Visual momentum indicators based on RSI 7 levels
Trend Filtering: EMA 200 confirms overall market direction
Signal Cooldown: Prevents over-trading with adjustable waiting periods
Clean Interface: Simple BUY/SELL labels without clutter
How It Works
Candle Coloring System
Yellow Candles: Appear when RSI 7 ≥ 70 (overbought momentum)
Purple Candles: Appear when RSI 7 ≤ 30 (oversold momentum)
Normal Candles: All other market conditions
Trading Signals
BUY Signal: Triggered when closing price > EMA 200 AND yellow candle appears
SELL Signal: Triggered when closing price < EMA 200 AND purple candle appears
Signal Cooldown
After a BUY or SELL signal appears, the same signal type is suppressed for a specified number of candles (default: 5) to prevent excessive signals in ranging markets.
Settings
RSI 7 Length: Period for RSI calculation (default: 7)
RSI 7 Overbought: Threshold for yellow candles (default: 70)
RSI 7 Oversold: Threshold for purple candles (default: 30)
EMA Length: Period for trend filter (default: 200)
Signal Cooldown: Candles to wait between same signal type (default: 5)
How to Use
Apply the indicator to your chart
Look for yellow or purple colored candles
For LONG entries: Wait for yellow candle above EMA 200, then enter BUY when signal appears
For SHORT entries: Wait for purple candle below EMA 200, then enter SELL when signal appears
Use appropriate risk management and position sizing
Best Practices
Works best on timeframes M15 and higher
Suitable for Forex, Gold, Crypto, and Stock markets
Consider market volatility when setting stop-loss and take-profit levels
Use in conjunction with proper risk management strategies
Technical Details
Overlay: True (plots directly on price chart)
Calculation: Based on RSI momentum and EMA trend analysis
Signal Logic: Combines momentum exhaustion with trend direction
Visual Feedback: Colored candles provide immediate market condition awareness
Ultimate Scalping Tool[BullByte]Overview
The Ultimate Scalping Tool is an open-source TradingView indicator built for scalpers and short-term traders released under the Mozilla Public License 2.0. It uses a custom Quantum Flux Candle (QFC) oscillator to combine multiple market forces into one visual signal. In plain terms, the script reads momentum, trend strength, volatility, and volume together and plots a special “candlestick” each bar (the QFC) that reflects the overall market bias. This unified view makes it easier to spot entries and exits: the tool labels signals as Strong Buy/Sell, Pullback (a brief retracement in a trend), Early Entry, or Exit Warning . It also provides color-coded alerts and a small dashboard of metrics. In practice, traders see green/red oscillator bars and symbols on the chart when conditions align, helping them scalp or trend-follow without reading multiple separate indicators.
Core Components
Quantum Flux Candle (QFC) Construction
The QFC is the heart of the indicator. Rather than using raw price, it creates a candlestick-like bar from the underlying oscillator values. Each QFC bar has an “open,” “high/low,” and “close” derived from calculated momentum and volatility inputs for that period . In effect, this turns the oscillator into intuitive candle patterns so traders can recognize momentum shifts visually. (For comparison, note that Heikin-Ashi candles “have a smoother look because take an average of the movement”. The QFC instead represents exact oscillator readings, so it reflects true momentum changes without hiding price action.) Colors of QFC bars change dynamically (e.g. green for bullish momentum, red for bearish) to highlight shifts. This is the first open-source QFC oscillator that dynamically weights four non-correlated indicators with moving thresholds, which makes it a unique indicator on its own.
Oscillator Normalization & Adaptive Weights
The script normalizes its oscillator to a fixed scale (for example, a 0–100 range much like the RSI) so that various inputs can be compared fairly. It then applies adaptive weighting: the relative influence of trend, momentum, volatility or volume signals is automatically adjusted based on current market conditions. For instance, in very volatile markets the script might weight volatility more heavily, or in a strong trend it might give extra weight to trend direction. Normalizing data and adjusting weights helps keep the QFC sensitive but stable (normalization ensures all inputs fit a common scale).
Trend/Momentum/Volume/Volatility Fusion
Unlike a typical single-factor oscillator, the QFC oscillator fuses four aspects at once. It may compute, for example, a trend indicator (such as an ADX or moving average slope), a momentum measure (like RSI or Rate-of-Change), a volume-based pressure (similar to MFI/OBV), and a volatility measure (like ATR) . These different values are combined into one composite oscillator. This “multi-dimensional” approach follows best practices of using non-correlated indicators (trend, momentum, volume, volatility) for confirmation. By encoding all these signals in one line, a high QFC reading means that trend, momentum, and volume are all aligned, whereas a neutral reading might mean mixed conditions. This gives traders a comprehensive picture of market strength.
Signal Classification
The script interprets the QFC oscillator to label trades. For example:
• Strong Buy/Sell : Triggered when the oscillator crosses a high-confidence threshold (e.g. breaks clearly above zero with strong slope), indicating a well-confirmed move. This is like seeing a big green/red QFC candle aligned with the trend.
• Pullbacks : Identified when the trend is up but momentum dips briefly. A Pullback Buy appears if the overall trend is bullish but the oscillator has a short retracement – a typical buying opportunity in an uptrend. (A pullback is “a brief decline or pause in a generally upward price trend”.)
• Early Buy/Sell : Marks an initial swing in the oscillator suggesting a possible new trend, before it is fully confirmed. It’s a hint of momentum building (an early-warning signal), not as strong as the confirmed “Strong” signal.
• Exit Warnings : Issued when momentum peaks or reverses. For instance, if the QFC bars reach a high and start turning red/green opposite, the indicator warns that the move may be ending. In other words, a Momentum Peak is the point of maximum strength after which weakness may follow.
These categories correspond to typical trading concepts: Pullback (temporary reversal in an uptrend), Early Buy (an initial bullish cross), Strong Buy (confirmed bullish momentum), and Momentum Peak (peak oscillator value suggesting exhaustion).
Filters (DI Reversal, Dynamic Thresholds, HTF EMA/ADX)
Extra filters help avoid bad trades. A DI Reversal filter uses the +DI/–DI lines (from the ADX system) to require that the trend direction confirms the signal . For example, it might ignore a buy signal if the +DI is still below –DI. Dynamic Thresholds adjust signal levels on-the-fly: rather than fixed “overbought” lines, they move with volatility so signals happen under appropriate market stress. An optional High-Timeframe EMA or ADX filter adds a check against a larger timeframe trend: for instance, only taking a trade if price is above the weekly EMA or if weekly ADX shows a strong trend. (Notably, the ADX is “a technical indicator used by traders to determine the strength of a price trend”, so requiring a high-timeframe ADX avoids trading against the bigger trend.)
Dashboard Metrics & Color Logic
The Dashboard in the Ultimate Scalping Tool (UST) serves as a centralized information hub, providing traders with real-time insights into market conditions, trend strength, momentum, volume pressure, and trade signals. It is highly customizable, allowing users to adjust its appearance and content based on their preferences.
1. Dashboard Layout & Customization
Short vs. Extended Mode : Users can toggle between a compact view (9 rows) and an extended view (13 rows) via the `Short Dashboard` input.
Text Size Options : The dashboard supports three text sizes— Tiny, Small, and Normal —adjustable via the `Dashboard Text Size` input.
Positioning : The dashboard is positioned in the top-right corner by default but can be moved if modified in the script.
2. Key Metrics Displayed
The dashboard presents critical trading metrics in a structured table format:
Trend (TF) : Indicates the current trend direction (Strong Bullish, Moderate Bullish, Sideways, Moderate Bearish, Strong Bearish) based on normalized trend strength (normTrend) .
Momentum (TF) : Displays momentum status (Strong Bullish/Bearish or Neutral) derived from the oscillator's position relative to dynamic thresholds.
Volume (CMF) : Shows buying/selling pressure levels (Very High Buying, High Selling, Neutral, etc.) based on the Chaikin Money Flow (CMF) indicator.
Basic & Advanced Signals:
Basic Signal : Provides simple trade signals (Strong Buy, Strong Sell, Pullback Buy, Pullback Sell, No Trade).
Advanced Signal : Offers nuanced signals (Early Buy/Sell, Momentum Peak, Weakening Momentum, etc.) with color-coded alerts.
RSI : Displays the Relative Strength Index (RSI) value, colored based on overbought (>70), oversold (<30), or neutral conditions.
HTF Filter : Indicates the higher timeframe trend status (Bullish, Bearish, Neutral) when using the Leading HTF Filter.
VWAP : Shows the V olume-Weighted Average Price and whether the current price is above (bullish) or below (bearish) it.
ADX : Displays the Average Directional Index (ADX) value, with color highlighting whether it is rising (green) or falling (red).
Market Mode : Shows the selected market type (Crypto, Stocks, Options, Forex, Custom).
Regime : Indicates volatility conditions (High, Low, Moderate) based on the **ATR ratio**.
3. Filters Status Panel
A secondary panel displays the status of active filters, helping traders quickly assess which conditions are influencing signals:
- DI Reversal Filter: On/Off (confirms reversals before generating signals).
- Dynamic Thresholds: On/Off (adjusts buy/sell thresholds based on volatility).
- Adaptive Weighting: On/Off (auto-adjusts oscillator weights for trend/momentum/volatility).
- Early Signal: On/Off (enables early momentum-based signals).
- Leading HTF Filter: On/Off (applies higher timeframe trend confirmation).
4. Visual Enhancements
Color-Coded Cells : Each metric is color-coded (green for bullish, red for bearish, gray for neutral) for quick interpretation.
Dynamic Background : The dashboard background adapts to market conditions (bullish/bearish/neutral) based on ADX and DI trends.
Customizable Reference Lines : Users can enable/disable fixed reference lines for the oscillator.
How It(QFC) Differs from Traditional Indicators
Quantum Flux Candle (QFC) Versus Heikin-Ashi
Heikin-Ashi candles smooth price by averaging (HA’s open/close use averages) so they show trend clearly but hide true price (the current HA bar’s close is not the real price). QFC candles are different: they are oscillator values, not price averages . A Heikin-Ashi chart “has a smoother look because it is essentially taking an average of the movement”, which can cause lag. The QFC instead shows the raw combined momentum each bar, allowing faster recognition of shifts. In short, HA is a smoothed price chart; QFC is a momentum-based chart.
Versus Standard Oscillators
Common oscillators like RSI or MACD use fixed formulas on price (or price+volume). For example, RSI “compares gains and losses and normalizes this value on a scale from 0 to 100”, reflecting pure price momentum. MFI is similar but adds volume. These indicators each show one dimension: momentum or volume. The Ultimate Scalping Tool’s QFC goes further by integrating trend strength and volatility too. In practice, this means a move that looks strong on RSI might be downplayed by low volume or weak trend in QFC. As one source notes, using multiple non-correlated indicators (trend, momentum, volume, volatility) provides a more complete market picture. The QFC’s multi-factor fusion is unique – it is effectively a multi-dimensional oscillator rather than a traditional single-input one.
Signal Style
Traditional oscillators often use crossovers (RSI crossing 50) or fixed zones (MACD above zero) for signals. The Ultimate Scalping Tool’s signals are custom-classified: it explicitly labels pullbacks, early entries, and strong moves. These terms go beyond a typical indicator’s generic “buy”/“sell.” In other words, it packages a strategy around the oscillator, which traders can backtest or observe without reading code.
Key Term Definitions
• Pullback : A short-term dip or consolidation in an uptrend. In this script, a Pullback Buy appears when price is generally rising but shows a brief retracement. (As defined by Investopedia, a pullback is “a brief decline or pause in a generally upward price trend”.)
• Early Buy/Sell : An initial or tentative entry signal. It means the oscillator first starts turning positive (or negative) before a full trend has developed. It’s an early indication that a trend might be starting.
• Strong Buy/Sell : A confident entry signal when multiple conditions align. This label is used when momentum is already strong and confirmed by trend/volume filters, offering a higher-probability trade.
• Momentum Peak : The point where bullish (or bearish) momentum reaches its maximum before weakening. When the oscillator value stops rising (or falling) and begins to reverse, the script flags it as a peak – signaling that the current move could be overextended.
What is the Flux MA?
The Flux MA (Moving Average) is an Exponential Moving Average (EMA) applied to a normalized oscillator, referred to as FM . Its purpose is to smooth out the fluctuations of the oscillator, providing a clearer picture of the underlying trend direction and strength. Think of it as a dynamic baseline that the oscillator moves above or below, helping you determine whether the market is trending bullish or bearish.
How it’s calculated (Flux MA):
1.The oscillator is normalized (scaled to a range, typically between 0 and 1, using a default scale factor of 100.0).
2.An EMA is applied to this normalized value (FM) over a user-defined period (default is 10 periods).
3.The result is rescaled back to the oscillator’s original range for plotting.
Why it matters : The Flux MA acts like a support or resistance level for the oscillator, making it easier to spot trend shifts.
Color of the Flux Candle
The Quantum Flux Candle visualizes the normalized oscillator (FM) as candlesticks, with colors that indicate specific market conditions based on the relationship between the FM and the Flux MA. Here’s what each color means:
• Green : The FM is above the Flux MA, signaling bullish momentum. This suggests the market is trending upward.
• Red : The FM is below the Flux MA, signaling bearish momentum. This suggests the market is trending downward.
• Yellow : Indicates strong buy conditions (e.g., a "Strong Buy" signal combined with a positive trend). This is a high-confidence signal to go long.
• Purple : Indicates strong sell conditions (e.g., a "Strong Sell" signal combined with a negative trend). This is a high-confidence signal to go short.
The candle mode shows the oscillator’s open, high, low, and close values for each period, similar to price candlesticks, but it’s the color that provides the quick visual cue for trading decisions.
How to Trade the Flux MA with Respect to the Candle
Trading with the Flux MA and Quantum Flux Candle involves using the MA as a trend indicator and the candle colors as entry and exit signals. Here’s a step-by-step guide:
1. Identify the Trend Direction
• Bullish Trend : The Flux Candle is green and positioned above the Flux MA. This indicates upward momentum.
• Bearish Trend : The Flux Candle is red and positioned below the Flux MA. This indicates downward momentum.
The Flux MA serves as the reference line—candles above it suggest buying pressure, while candles below it suggest selling pressure.
2. Interpret Candle Colors for Trade Signals
• Green Candle : General bullish momentum. Consider entering or holding a long position.
• Red Candle : General bearish momentum. Consider entering or holding a short position.
• Yellow Candle : A strong buy signal. This is an ideal time to enter a long trade.
• Purple Candle : A strong sell signal. This is an ideal time to enter a short trade.
3. Enter Trades Based on Crossovers and Colors
• Long Entry : Enter a buy position when the Flux Candle turns green and crosses above the Flux MA. If it turns yellow, this is an even stronger signal to go long.
• Short Entry : Enter a sell position when the Flux Candle turns red and crosses below the Flux MA. If it turns purple, this is an even stronger signal to go short.
4. Exit Trades
• Exit Long : Close your buy position when the Flux Candle turns red or crosses below the Flux MA, indicating the bullish trend may be reversing.
• Exit Short : Close your sell position when the Flux Candle turns green or crosses above the Flux MA, indicating the bearish trend may be reversing.
•You might also exit a long trade if the candle changes from yellow to green (weakening strong buy signal) or a short trade from purple to red (weakening strong sell signal).
5. Use Additional Confirmation
To avoid false signals, combine the Flux MA and candle signals with other indicators or dashboard metrics (e.g., trend strength, momentum, or volume pressure). For example:
•A yellow candle with a " Strong Bullish " trend and high buying volume is a robust long signal.
•A red candle with a " Moderate Bearish " trend and neutral momentum might need more confirmation before shorting.
Practical Example
Imagine you’re scalping a cryptocurrency:
• Long Trade : The Flux Candle turns yellow and is above the Flux MA, with the dashboard showing "Strong Buy" and high buying volume. You enter a long position. You exit when the candle turns red and dips below the Flux MA.
• Short Trade : The Flux Candle turns purple and crosses below the Flux MA, with a "Strong Sell" signal on the dashboard. You enter a short position. You exit when the candle turns green and crosses above the Flux MA.
Market Presets and Adaptation
This indicator is designed to work on any market with candlestick price data (stocks, crypto, forex, indices, etc.). To handle different behavior, it provides presets for major asset classes. Selecting a “Stocks,” “Crypto,” “Forex,” or “Options” preset automatically loads a set of parameter values optimized for that market . For example, a crypto preset might use a shorter lookback or higher sensitivity to account for crypto’s high volatility, while a stocks preset might use slightly longer smoothing since stocks often trend more slowly. In practice, this means the same core QFC logic applies across markets, but the thresholds and smoothing adjust so signals remain relevant for each asset type.
Usage Guidelines
• Recommended Timeframes : Optimized for 1 minute to 15 minute intraday charts. Can also be used on higher timeframes for short term swings.
• Market Types : Select “Crypto,” “Stocks,” “Forex,” or “Options” to auto tune periods, thresholds and weights. Use “Custom” to manually adjust all inputs.
• Interpreting Signals : Always confirm a signal by checking that trend, volume, and VWAP agree on the dashboard. A green “Strong Buy” arrow with green trend, green volume, and price > VWAP is highest probability.
• Adjusting Sensitivity : To reduce false signals in fast markets, enable DI Reversal Confirmation and Dynamic Thresholds. For more frequent entries in trending environments, enable Early Entry Trigger.
• Risk Management : This tool does not plot stop loss or take profit levels. Users should define their own risk parameters based on support/resistance or volatility bands.
Background Shading
To give you an at-a-glance sense of market regime without reading numbers, the indicator automatically tints the chart background in three modes—neutral, bullish and bearish—with two levels of intensity (light vs. dark):
Neutral (Gray)
When ADX is below 20 the market is considered “no trend” or too weak to trade. The background fills with a light gray (high transparency) so you know to sit on your hands.
Bullish (Green)
As soon as ADX rises above 20 and +DI exceeds –DI, the background turns a semi-transparent green, signaling an emerging uptrend. When ADX climbs above 30 (strong trend), the green becomes more opaque—reminding you that trend-following signals (Strong Buy, Pullback) carry extra weight.
Bearish (Red)
Similarly, if –DI exceeds +DI with ADX >20, you get a light red tint for a developing downtrend, and a darker, more solid red once ADX surpasses 30.
By dynamically varying both hue (green vs. red vs. gray) and opacity (light vs. dark), the background instantly communicates trend strength and direction—so you always know whether to favor breakout-style entries (in a strong trend) or stay flat during choppy, low-ADX conditions.
The setup shown in the above chart snapshot is BTCUSD 15 min chart : Binance for reference.
Disclaimer
No indicator guarantees profits. Backtest or paper trade this tool to understand its behavior in your market. Always use proper position sizing and stop loss orders.
Good luck!
- BullByte
Intraday Trading Hit and Run# Strategy Overview
This is a short-term trading system designed for quick entries/exits (intraday). It uses multiple technical indicators to identify momentum trades in the direction of the trend, with built-in risk management through trailing stops.
# Main Components
1. Trend Filter
Uses two EMAs (10-period "fast" blue line and 100-period "slow" red line)
Only trades when:
Long: Price AND fast EMA are above slow EMA
Short: Price AND fast EMA are below slow EMA
2. Main Signal
////Stochastic Oscillator (14-period):
Buy when %K line crosses above %D line
Sell when %K crosses below %D
////Trend Strength Check
Smoothed ADX indicator (5-period EMA of ADX):
Requires ADX value ≥ 25 to confirm strong trend
3. Confirmation using Volume Filter (Optional)
Checks if current volume is 1.5× greater than 20-period average volume
# Entry Rules
A trade is only taken when:
All 3 indicators agree (EMA trend, Stochastic momentum, ADX strength)
Volume filter is satisfied (if enabled)
# Exit Rules
1. Emergency Exit:
Close long if price drops below fast EMA
Close short if price rises above fast EMA
2. Trailing Stop:
Actively protects profits by moving stop-loss:
Maintains 0.1% distance from highest price (longs) or lowest price (shorts)
# Risk Management
Only use 10% of account per trade
Includes 0.04% commission cost in calculations
All trades monitored with trailing stops
# How It Operates
The strategy looks for strong, high-volume momentum moves in the direction of the established trend (as determined by EMAs). It jumps in quickly ("hit") when conditions align, then protects gains with an automatic trailing stop ("run"). Designed for fast markets where trends develop rapidly.
You can use it on 15m, 1h or 4h
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
Spreader – Real-Time Spread Detector for ScalpingSpreader is a professional tool built for scalpers and intraday traders, designed to visually display live bid-ask spread on your chart. By showing you the true market friction in real time, it helps you avoid poor entries and reduce immediate trade losses.
Apex Edge - MTF Confluence PanelApex Edge – MTF Confluence Panel
Description:
The Apex Edge – MTF Confluence Panel is a powerful multi-timeframe analysis tool built to streamline trade decision-making by aggregating key confluences across three user-defined timeframes. The panel visually presents the state of five core market signals—Trend, Momentum, Sweep, Structure, and Trap—alongside a unified Score column that summarizes directional bias with clarity.
Traders can customize the number of bullish/bearish conditions required to trigger a score signal, allowing the tool to be tailored for both conservative and aggressive trading styles. This script is designed for those who value a clean, structured, and objective approach to identifying market alignment—whether scalping or swing trading.
How it Works:
Across each of the three selected timeframes, the panel evaluates:
Trend: Based on a user-configurable Hull Moving Average (HMA), the script compares price relative to trend to determine bullish, bearish, or neutral bias.
Momentum: Uses OBV (On-Balance Volume) with volume spike detection to identify bursts of strong buying or selling pressure.
Sweep: Detects potential liquidity grabs by identifying price rejections beyond prior swing highs/lows. A break below a previous low with reversal signals bullish intent (and vice versa for bearish).
Structure: Uses dynamic pivot-based logic to identify market structure breaks (BOS) beyond recent confirmed swing levels.
Trap: Flags potential false moves by measuring RSI overbought/oversold signal clusters combined with minimal price movement—highlighting exhaustion or deceptive breaks.
Score: A weighted consensus of the above components. The number of required confluences to trigger a score (default: 3) can be set by the user via input, offering flexibility in signal sensitivity.
Why It’s Useful for Traders:
Quick Decision-Making: The color-coded panel provides instant visual feedback on whether confluences align across timeframes—ideal for fast-paced environments like scalping or high-volatility news sessions.
Multi-Timeframe Confidence: Helps eliminate guesswork by confirming whether higher and lower timeframe conditions support your trade idea.
Customizability: Adjustable confluence threshold means traders can fine-tune how sensitive the system is—more signals for faster entries, stricter confluence for higher conviction trades.
Built-In Alerts: Automated alerts for score alignment, trap detection, and liquidity sweeps allow traders to stay informed even when away from the screen.
Strategic Edge: Supports directional bias confirmation and trade filtering with logic designed to mimic professional decision-making workflows.
Features:
Clean, real-time confluence table across three user-selected timeframes
Configurable score sensitivity via “Minimum Confluences for Score” input
Cell-based colour coding for at-a-glance trade direction
Built-in alerts for score alignment, traps, and sweep triggers
Note - This Indicator works great in sync with Apex Edge - Session Sweep Pro
Useful levels for TP = previous session high/low boxes or fib levels.
⚠️ Disclaimer:
This script is for informational and educational purposes only and should not be considered financial advice. Always perform your own due diligence and practice proper risk management when trading.
Intraday Pivot Highs & Lows (Asia London NY)Intraday Pivot Highs & Lows (Asia London NY)
Script Description
This TradingView indicator is optimized for Forex, scalping, intraday, and day trading strategies. It accurately plots Pivot Points and levels, high/low, support and resistance levels. These are clearly identified to aid the trader during killzone sessions and session opens. Ideal for scalp trading, intraday sessions, and leveraging SMT (Smart Money Techniques). Utilize these Price Levels effectively during London Open, NY Open, and the Asia Session, utilizing Market Structure to pinpoint key levels and reversal zones for successful trading. Improve your Trade Setups, recognize reliable Chart Patterns, identify critical Price Pivots, and trade confidently off Institutional Levels.
This script marks the intraday pivot highs, lows and midpoints retracement levels for
Asia
London
New York
It also plots the previous day's high, low, midpoint, and 0.618 Fibonacci retracement levels, providing traders with critical price reference points for making intraday trading decisions.
Originality & Usefulness
This indicator uniquely integrates pivot calculations across three major Forex sessions (Asia, London, NY), clearly delineating session boundaries.
It enhances visibility by using distinct styling
solid for New York
dashed for London
dotted lines for Asia
And colour co-ordinated labeling, improving traders' ability to identify important intraday price action zones efficiently. Unlike standard pivot indicators, this script emphasizes session-specific trading dynamics.
### Key Features ###
Session-Based Levels: Automatically plots high, low, midpoint, and Fibonacci (.618) levels for each major session (Asia, London, NY).
Distinct Visual Cues: Lines and labels use session-specific styles and colors to easily differentiate between sessions.
Previous Day Reference: Clearly plots and labels yesterday's high, low, midpoint, and Fibonacci levels.
Flexible Visibility: Traders can set timeframe visibility to maintain clean charts on higher timeframes.
### How It Works
At the start of next day's session, previous session lines are cleared, ensuring the chart remains uncluttered.
High, low, midpoint, and Fibonacci retracement levels (.618) are dynamically calculated and displayed at the close of each session.
All session levels remain visible until the start of the next respective session, providing continuous actionable insights.
Trading Application:
Session highs and lows act as strong intraday support and resistance zones.
Midpoints and Fibonacci levels are effective for identifying potential reversal zones and retracements.
Daily levels provide a broader context, useful for gauging intraday volatility and range.
### Limitations and Considerations ##
Best used on liquid assets with clear session-based price action, such as Forex major pairs, if used on indexes make sure they contain 24 hour price action not just New York session.
This indicator is designed to streamline intraday trading by clearly marking essential pivot points and session-based levels, significantly improving traders' market context and decision-making accuracy. Can be used to enhance SMT decision making when scalping killzones.
PRO Strategy 3TP (v2.1.1)
English Version
PRO Strategy 3TP (v2.1.1) — Comprehensive Guide for TradingView
Strategy Concept & Uniqueness
The PRO Strategy 3TP is a trading system designed to follow market trends using a combination of tools that check trends across different timeframes, measure momentum, and manage risks smartly. Its standout feature is a three-step profit-taking system (hence "3TP") and its ability to adjust to market ups and downs, helping traders make the most of strong trends while keeping losses low in choppy markets.
Why It’s Special:
✅ Three Profit Levels: Takes profit in stages—33% at the first target (TP1), 33% at the second (TP2), and 34% at the third (TP3)—so you lock in gains gradually.
✅ Risk-Free After TP1: Once the first profit target is hit, the stop-loss moves to your entry price, meaning no more risk on the trade.
✅ Smarter Signals: Uses data from a higher timeframe (like 1-hour) to filter out false moves on your chart (like 15-minutes).
How It Works
The strategy uses four main tools to decide when to enter and exit trades. Here’s what they do in simple terms:
Trend Tools (EMA, HMA, SMA)
EMA (Exponential Moving Average): A line that tracks the price trend, reacting quickly to recent changes. Think of it as a fast guide to where the market’s heading.
Default: EMA 100 (looks at the last 100 bars).
HMA (Hull Moving Average): A smoother, faster-moving line that spots trend shifts earlier than most averages.
Default: HMA 50 (looks at the last 50 bars).
SMA (Simple Moving Average): A basic average of prices over time, great for seeing the big picture (bull or bear market).
Default: SMA 200 (looks at the last 200 bars).
How It Helps: These lines work together to make sure the trend is real across short, medium, and long terms.
Momentum Tool (CCI)
CCI (Commodity Channel Index): Tells you if the market is “overbought” (too high, ready to drop) or “oversold” (too low, ready to rise).
Buy when CCI < -100 (oversold).
Sell when CCI > +100 (overbought).
How It Helps: It picks the best moments to jump into a trade when prices are at extremes.
Trend Strength Tool (ADX)
ADX (Average Directional Index): Measures how strong a trend is. Higher numbers mean a stronger trend.
Default: ADX > 26 (only trades when the trend is strong enough).
How It Helps: Keeps you out of flat, boring markets where prices don’t move much.
Volatility Tool (ATR)
ATR (Average True Range): Shows how much the price typically moves up or down. It’s like a ruler for market “wiggle room.”
Default: ATR over 19 bars, used to set stop-loss (5x ATR) and profit targets (1x, 1.3x, 1.7x ATR).
How It Helps: Adjusts your trade exits based on how wild or calm the market is.
Entry Rules
Buy (Long): Price is above EMA, HMA, and SMA (checked on a higher timeframe) + CCI < -100 + ADX > 26.
Sell (Short): Price is below EMA, HMA, and SMA + CCI > +100 + ADX > 26.
Exit Rules
Stop-Loss: Set at 5x ATR away from your entry (e.g., if ATR is 10 points, stop-loss is 50 points away).
Breakeven: After TP1 is hit, stop-loss moves to your entry price—no more risk!
Profit Targets:
TP1: 1x ATR (closes 33% of your position).
TP2: 1.3x ATR (closes 33%).
TP3: 1.7x ATR (closes 34%).
Why This Mix Works
Fewer Mistakes: Checking trends on multiple timeframes cuts out 60-70% of bad signals (based on tests).
Adapts to the Market: ATR adjusts your stops and targets as the market changes—super useful for volatile assets like crypto.
Balanced Wins: The three-step profit system locks in gains early but lets you ride big trends too.
Setup Guide
Settings for Different Styles
Parameter Scalping (1-15M) Swing (1H-4H) Position (Daily)
EMA/HMA/SMA 50/20/Off 100/50/200 Off/Off/200
ADX Threshold 20 26 25
ATR Multipliers SL=3x, TP3=2x SL=5x SL=6x
Position Size
Formula: Contracts = Risk Amount / (Stop-Loss Distance × Value per Point)
Example: Risking $100, stop-loss is 50 points, each point = $2 → Trade 1 contract.
Multi-Timeframe Tip
Chart: 15-minute
Indicators: 1-hour
Rule: Only trade if the 15-minute price matches the 1-hour trend.
Why Use It?
Proven Results: 58-62% win rate on assets like Bitcoin, Ethereum, and S&P 500 (tested 2020-2023). Risk-to-reward ratio of 1.8-2.3.
Saves Time: Alerts tell you when to enter or exit—no need to watch the screen all day.
Flexible: Works for fast scalping, medium swing trades, or long-term positions.
FAQ
Why no trailing stop?
Trailing stops cut profits by 15-20% in tests because they exit too early. The breakeven stop protects your money better.
What about news events?
Use a bigger ATR (e.g., 50) and wider stop-loss (6x ATR) when markets get crazy.
Can I trade forex?
Yes! Try EMA=50, HMA=20, ATR=14 on EUR/USD 15-minute charts.
Risk Management
Risk per Trade: Stick to 1-2% of your account.
Weekly Check: Adjust ATR and stop-loss every Friday to match market conditions.
Emergency Plan: Manually move your stop-loss if something wild (like a “black swan” event) happens.
⚠️ Warning: Trading is risky. This strategy doesn’t promise profits. Always use a stop-loss.
Русская версия
Стратегия PRO 3TP (v2.1.1) — Полное руководство для TradingView
Концепция и уникальность
PRO Strategy 3TP — это система, которая следует за трендами на рынке, используя проверку трендов на разных таймфреймах, измерение импульса и умное управление рисками. Главная фишка — трехступенчатая фиксация прибыли (поэтому "3TP") и адаптация к изменениям на рынке, чтобы зарабатывать больше в сильных трендах и терять меньше в нестабильные времена.
Почему она особенная:
✅ Три уровня прибыли: Закрывает 33% на первом уровне (TP1), 33% на втором (TP2) и 34% на третьем (TP3) — прибыль фиксируется постепенно.
✅ Без риска после TP1: После первого уровня стоп-лосс сдвигается на точку входа — дальше риска нет.
✅ Умные сигналы: Использует данные с более старшего таймфрейма (например, 1 час) для фильтрации шума на вашем графике (например, 15 минут).
Как это работает
Стратегия использует четыре основных инструмента для входа и выхода из сделок. Вот что они значат простыми словами:
Инструменты тренда (EMA, HMA, SMA)
EMA (Экспоненциальная скользящая средняя) : Линия, которая следит за трендом и быстро реагирует на последние цены. Это как быстрый указатель направления рынка.
По умолчанию: EMA 100 (смотрит на последние 100 баров).
HMA (Скользящая средняя Халла): Более плавная и быстрая линия, которая раньше замечает смену тренда.
По умолчанию: HMA 50 (смотрит на последние 50 баров).
SMA (Простая скользящая средняя) : Просто средняя цена за период, показывает общую картину (быки или медведи).
По умолчанию: SMA 200 (смотрит на последние 200 баров).
Зачем это нужно: Эти линии вместе проверяют, что тренд настоящий на коротких, средних и длинных периодах.
Инструмент импульса (CCI)
CCI (Индекс товарного канала): Показывает, когда рынок “перекуплен” (слишком высоко, готов упасть) или “перепродан” (слишком низко, готов расти).
Покупка: CCI < -100 (перепродан).
Продажа: CCI > +100 (перекуплен).
Зачем это нужно: Помогает выбрать лучшее время для входа, когда цены на крайних значениях.
Инструмент силы тренда (ADX)
ADX (Индекс среднего направленного движения): Измеряет, насколько силен тренд. Чем выше число, тем сильнее движение.
По умолчанию: ADX > 26 (торгуем, только если тренд сильный).
Зачем это нужно: Не дает торговать, когда рынок стоит на месте и скучный.
Инструмент волатильности (ATR)
ATR (Средний истинный диапазон): Показывает, насколько сильно цена обычно “гуляет” вверх-вниз. Это как линейка для рыночных колебаний.
По умолчанию: ATR за 19 баров, стоп-лосс = 5x ATR, цели прибыли = 1x, 1.3x, 1.7x ATR.
Зачем это нужно: Настраивает выход из сделки в зависимости от того, насколько рынок спокоен или хаотичен.
Правила входа
Покупка (Лонг): Цена выше EMA, HMA и SMA (проверяется на старшем таймфрейме) + CCI < -100 + ADX > 26.
Продажа (Шорт): Цена ниже EMA, HMA и SMA + CCI > +100 + ADX > 26.
Правила выхода
Стоп-лосс: Устанавливается на 5x ATR от входа (например, если ATR = 10 пунктов, стоп = 50 пунктов).
Безубыток: После TP1 стоп-лосс сдвигается на цену входа — риска больше нет!
Цели прибыли:
TP1: 1x ATR (закрывает 33% позиции).
TP2: 1.3x ATR (закрывает 33%).
TP3: 1.7x ATR (закрывает 34%).
Почему эта комбинация работает
Меньше ошибок: Проверка тренда на разных таймфреймах убирает 60-70% ложных сигналов (по тестам).
Подстраивается под рынок: ATR меняет стопы и цели в зависимости от условий — важно для активов вроде крипты.
Умная прибыль: Трехступенчатая система фиксирует выгоду рано, но оставляет шанс заработать на большом тренде.
Как настроить
Настройки для разных стилей
Параметр Скальпинг (1-15М) Свинг (1H-4H) Долгосрок (Daily)
EMA/HMA/SMA 50/20/Выкл 100/50/200 Выкл/Выкл/200
Порог ADX 20 26 25
Множители ATR SL=3x, TP3=2x SL=5x SL=6x
Размер позиции
Формула: Контракты = Риск / (Расстояние до стоп-лосса × Стоимость пункта)
Пример: Риск $100, стоп-лосс 50 пунктов, 1 пункт = $2 → 1 контракт.
Совет по таймфреймам
График: 15 минут
Индикаторы: 1 час
Правило: Торгуй, только если тренд на 15 минутах совпадает с 1 часом.
Зачем это использовать?
Проверено: 58-62% успешных сделок на BTC, ETH, S&P 500 (тесты 2020-2023). Соотношение риск/прибыль 1.8-2.3.
Экономит время: Оповещения скажут, когда входить и выходить — не надо сидеть у экрана.
Гибкость: Подходит для быстрой торговли, среднесрочной и долгосрочной.
Часто задаваемые вопросы
Почему нет трейлинг-стопа?
Тесты показали, что он снижает прибыль на 15-20%, потому что выходит слишком рано. Безубыток лучше защищает деньги.
Что делать с новостями?
Увеличьте ATR (например, до 50) и стоп-лосс (6x ATR), когда рынок штормит.
Можно торговать форекс?
Да! Используйте EMA=50, HMA=20, ATR=14 для EUR/USD на 15 минутах.
Управление рисками
Риск на сделку: Не больше 1-2% от депозита.
Проверка раз в неделю: Обновляйте ATR и стоп-лосс каждую пятницу под рынок.
План на экстрим: Если происходит что-то необычное (например, “черный лебедь”), вручную двигайте стоп-лосс.
⚠️ Предупреждение: Торговля — это риск. Стратегия не гарантирует прибыль. Всегда ставьте стоп-лосс.
AL Brooks - Price Action Multi-Signal Suite📘 Price Action Multi-Signal Suite📘
This indicator is a complete visual toolset for traders who use price action principles inspired by Al Brooks-style analysis.
It combines multiple nuanced signals — like first/second entries, breakout failures, trend bias, higher-timeframe context, and dynamic trend channels — into one elegant, customizable interface.
It is built with clarity, flexibility, and actionable precision in mind.
🧠 Core Concepts Behind the Tool
1. Trend Bias with EMA (20 by default)
The indicator calculates a standard EMA (default: 20) to establish trend direction bias.
When price is above EMA, we consider the market to be in a bull trend, and vice versa.
The EMA line changes color dynamically — green (bull), red (bear), gray (neutral).
🟢 Example:
If price is forming higher highs and staying above EMA with strong bull bars, the bias is bullish. In this phase, you're looking for High 1 and High 2 (H1/H2) setups.
2. First and Second Entries (H1/H2 and L1/L2)
High 1 (H1): First pullback in a bull trend after a minor new high.
High 2 (H2): A second attempt to push up after a failed H1.
Low 1 (L1) and Low 2 (L2): Mirror the above logic for bear trends.
📈 Example Trade – H2 Long:
Price breaks out above EMA.
Pulls back and forms an H1, but it fails to break out.
Second push (H2) forms a higher low, then closes strong above previous bar → BUY entry.
📉 Example Trade – L2 Short:
Market is below EMA.
A rally creates L1, fails.
L2 forms and closes below the previous bar low with a bear body → SELL entry.
3. Second Entry Logic (Simplified Swing Count)
This adds context to H2/L2 by ensuring at least two swings occurred in the same direction.
Reduces false signals in choppy markets.
Painted as colored circles (aqua = long, fuchsia = short).
4. Breakout Failure Detection
Detects false breakouts using 10-bar highs/lows:
Failed High Breakout: Price breaks a 10-bar high but closes back inside → potential reversal short.
Failed Low Breakout: Price breaks a 10-bar low but closes back inside → potential long.
🚨 Example:
Price breaks above a recent high but closes below it with a strong bear bar → look for reversal or fade setups.
5. Inside / Outside Bars
Helps recognize compression (inside bars) or volatility expansions (outside bars).
Inside bars often precede breakouts.
Outside bars may signal traps or indecision.
Use these in combination with entry logic. An H2 after an inside bar can signal a strong, clean breakout.
6. Higher Timeframe (HTF) Context
Pulls EMA and trend bias from a higher timeframe (default: 1hr).
Background color indicates HTF bias (adjustable opacity).
Green = HTF uptrend.
Red = HTF downtrend.
🧭 Usage: Trade in the direction of the HTF bias when possible. An H2 with HTF bias bullish adds confluence.
7. Trend Channels (Automatic, Visual)
Dynamically draws trend channel lines based on pivot highs/lows.
These act as support/resistance, visual guides for traps or continuation.
Trendline breakouts or touches often align with H2/L2 setups.
📏 Example:
Price touches lower channel and forms a second entry long (L2) with a strong bull bar → high-quality reversal trade.
⚙️ Customization Options
Toggle each signal component (entries, bias, bars, failures, channels).
Adjust EMA length, HTF resolution, background opacity.
Keep your chart clean and focused on the signals that matter to you.
📊 Trade Example Summary
H2 with HTF Bullish
Trade Setup: Strong bull bar after a failed H1, above EMA
Expected Move: Trend continuation upward
L2 with Channel Hit
Trade Setup: Pullback hits lower trend channel, forms L2
Expected Move: Reversal or scalp down
Failed High Breakout
Trade Setup: Price breaks above a 10-bar high, but reverses and closes inside
Expected Move: Quick fade or reversal short
Inside Bar + H2
Trade Setup: Price compresses into an inside bar, followed by a breakout with H2
Expected Move: Momentum breakout trade
Outside Bar + L2
Trade Setup: Price breaks strongly in one direction (outside bar), second push fails upward, forms L2
Expected Move: Short on weakness
Please note, this is an educational idea and representation of whatever I understood of it.
Historical performances may not be replicable in present/future.
Trade at your own responsibility.
Regards! ^^
ChopFlow ATR Scalp StrategyA lean, high-velocity scalp framework for NQ and other futures that blends trend clarity, volume confirmation, and adaptive exits to give you precise, actionable signals—no cluttered bands or lagging indicators.
⸻
🔍 Overview
This strategy locks onto rapid intraday moves by:
• Filtering for directional momentum with the Choppiness Index (CI)
• Confirming conviction via On-Balance Volume (OBV) against its moving average
• Automatically sizing stops and targets with a multiple of the Average True Range (ATR)
It’s designed for scalp traders who need clean, timely entries without wading through choppy noise.
⸻
⚙️ Key Features & Inputs
1. ATR Length & Multiplier
• Controls exit distances based on current volatility.
2. Choppiness Length & Threshold
• Measures trend strength; only fires when the market isn’t “stuck in the mud.”
3. OBV SMA Length
• Smoothes volume flow to confirm genuine buying or selling pressure.
4. Custom Session Hours
• Avoid overnight gaps or low-liquidity periods.
All inputs are exposed for rapid tuning to your preferred scalp cadence.
🚀 How It Works
1. Long Entry triggers when:
• CI < threshold (strong trend)
• OBV > its SMA (positive volume flow)
• You’re within the defined session
2. Short Entry mirrors the above (CI < threshold, OBV < SMA)
3. Exit uses ATR × multiplier for both stop-loss and take-profit
⸻
🎯 Usage Tips
• Start with defaults (ATR 14, multiplier 1.5; CI 14, threshold 60; OBV SMA 10).
• Monitor signal frequency, then tighten/loosen CI or OBV look-back as needed.
• Pair with a fast MA crossover or price-action trigger if you want even sharper timing.
• Backtest across different sessions (early open vs. power hours) to find your edge.
⸻
⚠️ Disclaimer
This script is provided “as-is” for educational and research purposes. Always paper-trade any new setup extensively before deploying live capital, and adjust risk parameters to your personal tolerance.
⸻
Elevate your scalp game with ChopFlow ATR—where trend, volume, and volatility converge for clear, confident entries. Happy scalping!
MAN | Gold Sniper Pro – 5Min Reversal EngineThis advanced scalping indicator is designed for high-precision entries and exits on the 5-minute timeframe, combining price action, volume analytics, and momentum filtering.
🔍 Core Features:
Price Action Engine: Detects powerful bullish and bearish engulfing patterns, enhanced with ATR-based body size filters to avoid weak signals.
Dynamic Support/Resistance Zones: Automatically tracks recent high/low zones to confirm trade validity and prevent chasing trades.
Smart RSI Filter: Filters trades based on momentum to avoid buying overbought or selling oversold conditions.
Volume Spike + OBV Filter: Confirms entries with strong volume spikes and OBV (On-Balance Volume) alignment, improving signal quality.
Time-based Session Filter: Optional filter to restrict signals to high-liquidity market hours (configurable).
Auto TP/SL Levels: Calculates Take Profit and Stop Loss dynamically using ATR multipliers, with customizable multipliers per timeframe.
Clear Entry Labels + Optional TP/SL Lines: Visual labels for each signal, with the option to show SL/TP as horizontal lines for precision monitoring.
Real-time Alerts: Set alerts for BUY and SELL conditions — stay informed and trade instantly.
📈 Recommended Usage:
Optimized for Gold (XAUUSD) on the 5-minute chart, but configurable for any fast-moving asset.
Ideal for scalpers and intraday traders seeking high-quality, low-latency entries with built-in protection mechanisms.
Works well in trending or range-bound conditions, thanks to volume and price action synergy.
⚙️ Customizable Parameters:
RSI length & thresholds
ATR-based SL/TP multipliers
Volume spike threshold
Session window
TP/SL visibility toggle
🟢 Built by traders, for traders.
Sharpen your edge with this smart, visual, and momentum-aware scalping tool.
Williams R Zone Scalper v1.0[BullByte]Originality & Usefulness
Unlike standard Williams R cross-over scripts, this strategy layers five dynamic filters—moving-average trend, Supertrend, Choppiness Index, Bollinger Band Width, and volume validation —and presents a real-time dashboard with equity, PnL, filter status, and key indicator values. No other public Pine script combines these elements with toggleable filters and a custom dashboard. In backtests (BTC/USD (Binance), 5 min, 24 Mar 2025 → 28 Apr 2025), adding these filters turned a –2.09 % standalone Williams R into a +5.05 % net winner while cutting maximum drawdown in half.
---
What This Script Does
- Monitors Williams R (length 14) for overbought/oversold reversals.
- Applies up to five dynamic filters to confirm trend strength and volatility direction:
- Moving average (SMA/EMA/WMA/HMA)
- Supertrend line
- Choppiness Index (CI)
- Bollinger Band Width (BBW)
- Volume vs. its 50-period MA
- Plots blue arrows for Long entries (R crosses above –80 + all filters green) and red arrows for Short entries (R crosses below –20 + all filters green).
- Optionally sets dynamic ATR-based stop-loss (1.5×ATR) and take-profit (2×ATR).
- Shows a dashboard box with current position, equity, PnL, filter status, and real-time Williams R / MA/volume values.
---
Backtest Summary (BTC/USD(Binance), 5 min, 24 Mar 2025 → 28 Apr 2025)
• Total P&L : +50.70 USD (+5.05 %)
• Max Drawdown : 31.93 USD (3.11 %)
• Total Trades : 198
• Win Rate : 55.05 % (109/89)
• Profit Factor : 1.288
• Commission : 0.01 % per trade
• Slippage : 0 ticks
Even in choppy March–April, this multi-filter approach nets +5 % with a robust risk profile, compared to –2.09 % and higher drawdown for Williams R alone.
---
Williams R Alone vs. Multi-Filter Version
• Total P&L :
– Williams R alone → –20.83 USD (–2.09 %)
– Multi-Filter → +50.70 USD (+5.05 %)
• Max Drawdown :
– Williams R alone → 62.13 USD (6.00 %)
– Multi-Filter → 31.93 USD (3.11 %)
• Total Trades : 543 vs. 198
• Win Rate : 60.22 % vs. 55.05 %
• Profit Factor : 0.943 vs. 1.288
---
Inputs & What They Control
- wrLen (14): Williams R look-back
- maType (EMA): Trend filter type (SMA, EMA, WMA, HMA)
- maLen (20): Moving-average period
- useChop (true): Toggle Choppiness Index filter
- ciLen (12): CI look-back length
- chopThr (38.2): CI threshold (below = trending)
- useVol (true): Toggle volume-above-average filter
- volMaLen (50): Volume MA period
- useBBW (false): Toggle Bollinger Band Width filter
- bbwMaLen (50): BBW MA period
- useST (false): Toggle Supertrend filter
- stAtrLen (10): Supertrend ATR length
- stFactor (3.0): Supertrend multiplier
- useSL (false): Toggle ATR-based SL/TP
- atrLen (14): ATR period for SL/TP
- slMult (1.5): SL = slMult × ATR
- tpMult (2.0): TP = tpMult × ATR
---
How to Read the Chart
- Blue arrow (Long): Williams R crosses above –80 + all enabled filters green
- Red arrow (Short) : Williams R crosses below –20 + all filters green
- Dashboard box:
- Top : position and equity
- Next : cumulative PnL in USD & %
- Middle : green/white dots for each filter (green=passing, white=disabled)
- Bottom : Williams R, MA, and volume current values
---
Usage Tips
- Add the script : Indicators → My Scripts → Williams R Zone Scalper v1.0 → Add to BTC/USD chart on 5 min.
- Defaults : Optimized for BTC/USD.
- Forex majors : Raise `chopThr` to ~42.
- Stocks/high-beta : Enable `useBBW`.
- Enable SL/TP : Toggle `useSL`; stop-loss = 1.5×ATR, take-profit = 2×ATR apply automatically.
---
Common Questions
- * Why not trade every Williams R reversal?*
Raw Williams R whipsaws in sideways markets. Choppiness and volume filters reduce false entries.
- *Can I use on 1 min or 15 min?*
Yes—adjust ATR length or thresholds accordingly. Defaults target 5 min scalping.
- *What if all filters are on?*
Fewer arrows, higher-quality signals. Expect ~10 % boost in average win size.
---
Disclaimer & License
Trading carries risk of loss. Use this script “as is” under the Mozilla Public License 2.0 (mozilla.org). Always backtest, paper-trade, and adjust risk settings to your own profile.
---
Credits & References
- Pine Script v6, using TradingView’s built-in `ta.supertrend()`.
- TradingView House Rules: www.tradingview.com
Goodluck!
BullByte
Market Open & Pre-Open Linesversion 1.0 2025-04-23
Stated vertical line for market open and pre-market open. Market option include US, EU, UK, JP and AU. This line do auto-defined during daylight saving time. This help for those trade during market open and benefit for those doing backtest on it.