FijuThis indicator is designed to identify buy opportunities and then assist in trade management.
It relies on several technical filters:
Long-term trend: price above the 200-period moving average.
Momentum: bullish MACD (MACD line > signal line) and optionally positive.
Relative strength: RSI above 30, with detection of overbought conditions and weakness through the RSI moving average.
Timing: additional validation using candle color and proximity of the price to the SMA200 (limited deviation).
The indicator highlights different states using background colors and a label on the last candle:
🟢 Buy: potential buy signal.
🔵 Hold: keep the position.
🟠 Warning: caution, RSI is overbought or losing strength.
🔴 Sell: conditions invalidated, exit recommended.
👉 This is not an automated system but a decision-support tool. It only works for long entries and must be combined with a proper trade management methodology (money management, stop-loss, take-profit, trend following, etc.).
Simple Moving Average (SMA)
Moving Average Simple 1_M colorThis is a simple moving average. There is an option to show the last 1 month or last 20 bars in a different color. This can more clearly show the most recent change in direction
5ema&1maI wanted a simple indicator that had 5 EMAs and 1 MA. But I wanted to be able to change the values for all averages depending on my use.
This is a simple script that does that.
Manish's Momentum Indicator
Combines **Trend Highlighter** (GMMA + SMA89) with **Trend Power** (MFI + ATR Normalization) for a dual framework.
Auto-marks fresh **BULL/BEAR trend shifts** and momentum extremes (Overheated, Oversold, Volatile Reversals, Calm Distribution).
ATR is normalized (0–100 scale) to identify whether moves happen in calm or volatile conditions.
Optionally plots the **15-min opening range box** to highlight the day’s initial balance.
Background coloring distinguishes trend bias vs. momentum extremes for quick chart scanning.
Built-in info table shows live readings of MFI, ATR Normalization, Composite Signal, and Trend Signal.
All-in-one dashboard for fast assessment of trend alignment, volatility regime, and momentum strength.
All in One (5 MAs + Dynamic Cloud + OH/OL + Narrow Range)The indicator is an All In One indicator to show 5 MAs, Open=High/Low candle and to mark the expected narrow range of the candle.
SMA200 - 400 Cross AlertYou can set the alarm by clicking the three dots on the top left of the main chart.
Alarms for Golden Cross and Dead Cross are available.
Alpha v1Heiken Ashi based indicator using moving average crossovers combined with LuxAlgo Ultimate RSI with custom weighting to trigger buy and sell signals. SMAs can be toggled under the style tab of indicator settings.
For 30m time frame SMAs:
First Period = 9
Second Period = 21
Third Period = 100
All other time frame SMAs:
First Period = 21
Second Period = 50
Third Period = 200
Multi EMA/SMA with labels of period and timeframe(Any timeframe)Now you can select anykind of Moving Averages(SMA/EMA) with any period AND anytime frame.Specially for those who love to work with multi moving averages. In addition to MAs you dont need to confuse with the lines as all MA lines will have timeframe and period in front of them
Multi EMA/SMA with labels (Any timeframe)Now you can select anykind of Moving Averages(SMA/EMA) with any period AND anytime frame.Specially for those who love to work with multi moving averages
Multi EMA/SMA with labels (Any timeframe)Now you can select anykind of Moving Averages(SMA/EMA) with any period AND anytime frame.Specially for those who love to work with multi moving averages
BPS Multi-MA 5 — 22/30, SMA/WMA/EMA# Multi-MA 5 — 22/30 base, SMA/WMA/EMA
**What it is**
A lightweight 5-line moving-average ribbon for fast visual bias and trend/mean-reversion reads. You can switch the MA type (SMA/WMA/EMA) and choose between two ways of setting lengths: by monthly “session-based” base (22 or 30) with multipliers, or by entering exact lengths manually. An optional info table shows the effective settings in real time.
---
## How it works
* Calculates five moving averages from the selected price source.
* Lengths are either:
* **Multipliers mode:** `Base × Multiplier` (e.g., base 22 → 22/44/66/88/110), or
* **Manual mode:** any five exact lengths (e.g., 10/22/50/100/200).
* Plots five lines with fixed legend titles (MA1…MA5); the **info table** displays the actual type and lengths.
---
## Inputs
**Length Mode**
* **Multipliers** — choose a **Base** of **22** (≈ trading sessions per month) or **30** (calendar-style, smoother) and set **×1…×5** multipliers.
* **Manual** — enter **Len1…Len5** directly.
**MA Settings**
* **MA Type:** SMA / WMA / EMA
* **Source:** any series (e.g., `close`, `hlc3`, etc.)
* **Use true close (ignore Heikin Ashi):** when enabled, the MA is computed from the underlying instrument’s real `close`, not HA candles.
* **Show info table:** toggles the on-chart table with the current mode, type, base, and lengths.
---
## Quick start
1. Add the indicator to your chart.
2. Pick **MA Type** (e.g., **WMA** for faster response, **SMA** for smoother).
3. Choose **Length Mode**:
* **Multipliers:** set **Base = 22** for session-based monthly lengths (stocks/FX), or **30** for heavier smoothing.
* **Manual:** enter your exact lengths (e.g., 10/22/50/100/200).
4. (Optional) On **Heikin Ashi** charts, enable **Use true close** if you want the lines based on the instrument’s real close.
---
## Tips & notes
* **1 month ≈ 21–22 sessions.** Using 30 as “monthly” yields a smoother, more delayed curve.
* **WMA** reacts faster than **SMA** at the same length; expect earlier signals but more whipsaws in chop.
* **Len = 1** makes the MA track the chosen source (e.g., `close`) almost exactly.
* If changing lengths doesn’t move the lines, ensure you’re editing fields for the **active Length Mode** (Multipliers vs Manual).
* For clean comparisons, use the **same timeframe**. If you later wrap this in MTF logic, keep `lookahead_off` and handle gaps appropriately.
---
## Use cases
* Trend ribbon and dynamic bias zones
* Pullback entries to the mid/slow lines
* Crossovers (fast vs slow) for confirmation
* Volatility filtering by spreading lengths (e.g., 22/44/88/132/176)
---
**Credits:** Built for clarity and speed; designed around session-based “monthly” lengths (22) or smoother calendar-style (30).
Market Internal Strength (DJI/Nasdaq/S&P)Market Health Dow, Nasdaq & S\&P 500 Breadth
Track the true internal health of the US market's three most important indices the Dow Jones Industrial Average (DJI), the Nasdaq 100 (NDX), and the S\&P 500 (SPX).
Price action alone can be deceiving. A rising index might be driven by only a handful of mega-cap stocks, masking underlying weakness. This indicator provides a crucial look "under the hood" to measure the market's true breadth.
It visualizes the percentage of stocks within each index that are trading above their key moving averages (5, 20, 50, 100, 150, and 200-day). This allows you to instantly gauge whether a market trend is broadly supported by the majority of its constituent stocks.
Key Features
* Covers 3 Major US Indices Seamlessly switch your analysis between the Dow Jones, Nasdaq 100, and S\&P 500.
* Complete Breadth Picture Six MA periods offer a full view, from short-term momentum (5D, 20D) to the long-term institutional trend (150D, 200D).
* Fully Customizable Toggle the visibility of any line and adjust overbought/oversold levels to fit your personal strategy.
How to Use
1. Extreme Readings (Overbought/Oversold)
* Above 80% Signals a very strong, potentially overbought market. Caution is advised as a pullback could be near.
* Below 20% Signals a deeply oversold market, often indicating capitulation and potential buying opportunities.
2. Divergence (Powerful Warning Signal)
* Bearish The index price makes a new high, but this indicator makes a lower high. This warns that the rally is not broad-based and may be losing steam.
* Bullish The index price makes a new low, but this indicator makes a higher low. This suggests internal strength is building and a bottom may be forming.
3. Trend Confirmation
When the long-term lines (150D, 200D) remain high (e.g., \> 50%), the primary market trend is healthy and confirmed.
PowerTrend Pro Strategy – Gold OptimizedTired of false signals on Gold?
PowerTrend Pro combines VWAP, Supertrend, RSI, and smart MA filters with trailing stops & break-even logic to deliver high-probability trades on XAUUSD.
PowerTrend Pro Strategy is a professional-grade trading system designed to capture high-probability swing and intraday opportunities on XAUUSD (Gold) and other volatile markets.
🔑 Core Features
VWAP Anchoring – institutional fair value reference to filter trades.
Supertrend (ATR-based) – adaptive trend filter tuned for Gold’s volatility.
Multi-Timeframe RSI – confirms momentum alignment across intraday and higher timeframe.
EMA + SMA Combo – ensures trades follow strong directional bias, reducing false signals.
Dynamic Risk Management
Adjustable Take Profit / Stop Loss (%)
Trailing Stop that locks in profits on extended moves
Break-Even Logic (stop loss moves to entry once price is in profit)
⚡ Gold-Tuned Presets
XAUUSD 1H → tighter TP/SL & faster entries for active intraday trading.
XAUUSD 4H → wider ATR filter & trailing stops to capture bigger swings.
Generic Mode → works on Forex, Indices, and Crypto (fully customizable).
🎯 Why It Works
Gold is notoriously volatile — quick spikes wipe out weak strategies. PowerTrend Pro solves this by combining:
✅ Institutional bias (VWAP)
✅ Adaptive trend filter (Supertrend)
✅ Momentum confirmation (RSI MTF)
✅ Robust trend structure (EMA + SMA)
✅ Smart exits (TP, SL, trailing & breakeven)
This multi-layer confirmation makes entries stronger and keeps risk under control.
🛠️ Usage
Add the strategy to your chart.
Choose a preset (XAUUSD 1H, 4H, or Generic).
Run Strategy Tester for performance metrics.
Optimize TP/SL and ATR values for your broker & market conditions.
🔥 Pro Tip: Combine this strategy with a session filter (London/NY overlap) or volume confirmation to boost accuracy in Gold.
FUMO 200 MagnetWhat it does
FUMO Magnet measures how far price has stretched away from its long-term “magnet” — a blended EMA/SMA moving average (200 by default).
It plots a logarithmic deviation (optionally normalized) as an oscillator around zero.
Above 0** → price is above the magnet (stretched up)
Below 0** → price is below the magnet (stretched down)
Guide levels** highlight potential overbought/oversold zones
---
Why log deviation?
Log returns make extremes comparable across cycles and compress exponential trends — especially useful for BTC and other crypto assets.
Normalization modes further adjust the scale, keeping the oscillator readable on any chart.
---
Inputs
**Base**
* Source (default: Close)
* Base Length (default: 200 EMA/SMA)
* EMA vs SMA weight (%) — 0% = pure SMA, 100% = pure EMA, 50% = blended
* EMA smoothing of deviation — acts as a noise filter
**Normalization**
* None (Log Deviation) — raw log stretch in % terms
* Z-score — deviation in standard deviations (σ)
* Robust Z (MAD) — deviation vs median absolute deviation, resistant to outliers
* Tanh squash — smooth nonlinear squash of extremes for compact scale
* Normalization window (for Z / MAD)
* Tanh scale (lower = stronger squash)
* Clamp after normalization — hard cap at ±X
**Levels**
* Guide levels (Upper / Lower) — visual thresholds (default ±12)
* Zero line toggle
---
### How to read it
* **Trend bias**: sustained time above 0 = uptrend, below 0 = downtrend
* **Stretch / mean reversion**: the farther from 0, the higher the reversion risk
* **Cross-checks**: combine with structure (HH/HL, LH/LL), volume, or momentum (RSI, MACD)
---
### Recommended settings by timeframe
**Long-term (1D / 1W)**
* Normalization: None (Log Deviation)
* Base Length: 200
* EMA vs SMA weight: 50% (adjust 35–65% for faster/slower magnet)
* Deviation smoothing: 20 (10–30 range)
* Guide levels: ±12 to ±20
* Use case: cycle extremes, portfolio rebalancing, trim/add logic
**Swing (4H – 1D)**
* Normalization: Z-score
* Window: 200 (100–250)
* Smoothing: 14–20
* Guide levels: ±2σ to ±3σ
* Use case: stretched conditions across regimes; ±3σ is rare, often mean-reverts
**Intraday / Active swing (1H – 4H)**
* Normalization: Robust Z (MAD)
* Window: 200 (150 for faster response)
* Smoothing: 10–16
* Guide levels: ±3 to ±4 (robust units)
* Use case: handles spikes better than σ, fewer false overbought/oversold signals
**Scalping / Universal readability (15m – 1H)**
* Normalization: Tanh squash
* Tanh scale: 6–10 (start with 8)
* Smoothing: 8–12
* Guide levels: ±8 to ±12
* Use case: compact panel across assets and timeframes; not % or σ, but visually consistent
---
### Optional
* Clamp: enable ±20 (or ±25) for strict bounded range (useful for public charts)
---
### Quick setups
**BTC Daily (“cycle view”)**
* Normalization: None
* Blend: 50%
* Smooth: 20
* Levels: ±12–15
**BTC 4H (“swing”)**
* Normalization: Z-score
* Window: 200
* Smooth: 16
* Levels: ±2.5σ to ±3σ
**Alts 1H (“volatile”)**
* Normalization: Robust Z (MAD)
* Window: 200
* Smooth: 12
* Levels: ±3.5 to ±4.5
**Mixed assets 15m (“compact panel”)**
* Normalization: Tanh squash
* Scale: 8
* Smooth: 10
* Levels: ±8–12
* Clamp: ±20
Gravity Trend Line with ±10% Bands_QianYu🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
EMA21/SMA21 + ATR Bands SuiteThe EMA/SMA + ATR Bands Suite is a powerful technical overlay built around one of the most universally respected zones in trading: the 21-period moving average. By combining both the EMA21 and SMA21 into a unified framework, this tool defines the short-term mean with greater clarity and reliability, offering a more complete picture of trend structure, directional bias, and price equilibrium. These two moving averages serve as the central anchor — and from them, the script dynamically calculates adaptive ATR bands that expand and contract with market volatility. Whether you trade breakouts, pullbacks, or reversion setups, the 21 midline combined with ATR extensions offers a powerful lens for real-time market interpretation — adaptable to any timeframe or asset.
🔍 What's Inside?
✅ EMA21 + SMA21 Full Plots and Reduced-History Segments using arrays:
Enable full plots or segmented lines for the most recent candles only with automatic color coding. The reduced-history plots are perfect for reducing clutter on your chart.
✅ ATR Bands (2.5x & 5x):
Adaptive ATR-based volatility envelopes plotted around the midline (EMA21 + SMA21) to indicate:
🔸Potential reversion zones.
🔸Trend continuation breakouts.
🔸Dynamic support/resistance levels.
🔸 Expanding or contracting volatility states
🔸 Trend-aware color changes — yellow when both bands are rising, purple when falling, and gray when direction is mixed
✅ Dual MA Fills (EMA21/SMA21):
Visually track when short-term momentum shifts using a fill between EMA21 and SMA21
✅ EMA5 & EMA200 Labels:
Display anchored labels with rounded values + % difference from price, helping you track short-term + macro trends in real-time.
✅ Intelligent Bar Coloring
Bars are automatically colored based on both price direction and position relative to the EMA/SMA. This provides instant visual feedback on trend strength and structural alignment — no need to second-guess the market tone.
✅ Dynamic Close Line Tools:
Track recent price action with flexible close-following lines
✅ RSI Overlay on Candles:
Optional RSI + RSI SMA displayed above the current bar, with automatic color logic.
🎯 Use Cases
➖Trend Traders can identify when price is stacked bullishly across moving averages and breaking above ATR zones.
➖Mean Reversion Traders can fade extremes at 2.5x or 5x ATR zones.
➖Scalpers get immediate trend insight from colored bar overlays and close-following lines.
➖Swing Traders can combine multi-timeframe EMAs with volatility thresholds for higher confluence.
📌 Final Note:
As powerful as this script can be, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages, or support/resistance levels. Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
MA44 StrategyMA-44 Strategy
• The previous candle closes below the 44-day MA,
• The current candle closes just above or immediately above the 44-day MA,
• Followed by a green candle,
• With the 44-day MA above the 50-day MA (indicating an uptrend).
All-in-One EMA & BBThis script combines Bollinger Bands and multiple EMAs into one powerful tool. It includes:
1) Bollinger Bands with customizable MA type and colors.
2) EMA 21 on Daily and Weekly timeframes.
3) EMA 21, 50, 100, 200 on current chart timeframe.
4) Toggle options for each indicator for a clean, flexible view.
Ideal for traders seeking multi-timeframe trend analysis and volatility insights.
Market Internal Strength (Nasdaq/S&P 500)### Summary
This indicator is a versatile tool designed to measure the "internal health" or "market breadth" of a major stock index. Instead of just looking at the index's price, it analyzes the percentage of its constituent stocks that are participating in the trend. Users can easily switch between the **Nasdaq 100** and the **S&P 500** directly from the settings.
The data is displayed as an oscillator (scaled 0-100), similar to the RSI, making it intuitive to identify broad market **Overbought** and **Oversold** conditions and spot potential **Divergences** against the index price.
---
### What does it measure?
The indicator plots three lines based on the selected index's market breadth data:
* **% > 20D MA (Blue Line):** The percentage of stocks trading above their 20-day moving average (short-term trend).
* **% > 50D MA (Orange Line):** The percentage of stocks trading above their 50-day moving average (medium-term trend).
* **% > 200D MA (Red Line):** The percentage of stocks trading above their 200-day moving average (long-term trend).
---
### How to Use and Interpret
**1. Overbought / Oversold Conditions:**
* **Approaching the Overbought Zone (Value > 80):** This indicates that a very high number of stocks are in an uptrend, suggesting the market may be overheated or in a state of "Greed." This can signal a potential pullback or consolidation ahead.
* **Approaching the Oversold Zone (Value < 20):** This indicates that a large number of stocks have been sold off heavily, suggesting the market may be in a state of "Extreme Fear." This could present an opportunity for a technical rebound.
**2. Trend Confirmation:**
* When an index (e.g., QQQ or SPY) is making new highs and the **% > 200D MA** line is also rising, it confirms that the uptrend is healthy and broadly supported by the majority of stocks.
**3. Divergence Signals:**
* **Bearish Divergence:** If the index price reaches a new high but the indicator (especially the 50D and 200D lines) forms a lower high, it's a warning sign. This suggests that fewer stocks are participating in the rally and the trend's foundation is weakening, which could precede a reversal.
* **Bullish Divergence:** Conversely, if the index price makes a new low but the indicator forms a higher low, it signals that selling pressure is exhausting. Fewer stocks are making new lows, which could be an early sign of a potential bottom and a reversal to the upside.
---
### Settings
* **Index:** Choose between the "Nasdaq 100" and "S&P 500" as your data source.
* **Timeframe:** Allows you to select the data's timeframe (Daily "D" is recommended as the minimum).
* **Overbought/Oversold Level:** Lets you customize the threshold for the OB/OS zones.
* **Line Visibility:** You can toggle the visibility of each of the three lines.
Nasdaq 100 Internal Strength### Summary
This indicator is designed to measure the "health" or "internal strength" of the Nasdaq 100 index. Instead of just looking at the index's price, it analyzes whether the majority of its constituent stocks are participating in the trend. The data is displayed as an oscillator (scaled 0-100), similar to the RSI, making it easy to identify broad market Overbought and Oversold conditions.
This tool is ideal for traders and investors who want a deeper perspective on market dynamics, helping to confirm trend strength or spot early warning signs of a potential reversal.
---
### What does it measure?
The indicator plots three lines based on the market breadth data for the Nasdaq 100 index:
* **% > 20D MA (Blue Line):** The percentage of Nasdaq 100 stocks trading above their 20-day moving average (short-term trend).
* **% > 50D MA (Orange Line):** The percentage of Nasdaq 100 stocks trading above their 50-day moving average (medium-term trend).
* **% > 200D MA (Red Line):** The percentage of Nasdaq 100 stocks trading above their 200-day moving average (long-term trend).
---
### How to Use and Interpret
**Overbought / Oversold Conditions:**
* **Approaching the Overbought Zone (Value > 80):** This indicates that a very high number of stocks are in an uptrend, suggesting the market may be overheated or in a state of "Greed." This can signal a potential pullback or consolidation ahead.
* **Approaching the Oversold Zone (Value < 20):** This indicates that a large number of stocks have been sold off heavily, suggesting the market may be in a state of "Extreme Fear." This could present an opportunity for a technical rebound.
**Trend Confirmation:**
* When the index (e.g., QQQ) is making new highs, and the `% > 200D MA` line is also rising and making new highs, it confirms that the uptrend is healthy and broadly supported by the majority of stocks.
**Divergence Signals:**
* **Bearish Divergence:** If the index price reaches a new high, but the indicator (especially the 50D and 200D lines) fails to reach a new high and forms a lower high instead, it's a warning sign. This suggests that fewer stocks are participating in the rally, and the trend's foundation is weakening, which could precede a reversal.
* **Bullish Divergence:** Conversely, if the index price makes a new low, but the indicator forms a higher low, it signals that selling pressure is exhausting. Fewer stocks are making new lows, which could be an early sign of a potential bottom and a reversal to the upside.
---
### Settings
* **Timeframe:** Allows you to select the data's timeframe (using the Daily "D" timeframe is recommended).
* **Overbought/Oversold Level:** Lets you customize the threshold for the OB/OS zones.
* **Show Lines:** You can toggle the visibility of each of the three lines.
TrendLines with ATR and MA [KoTa]The "TrendLines with ATR and MA " indicator combines trend lines, breakout signals, ATR-based trend tracking, and moving averages (MA).
Input Settings and Customization:
After adding the indicator, click on its name at the top of the chart and open the "Settings" tab.
Main sections:
Trend Lines and Breakouts (Periods 1-5):
General Usage Tips:
Chart Timeframe: Works on any timeframe (from 1 minute to weekly). Shorter timeframes (e.g., 5-minute) generate more signals, while longer timeframes (e.g., daily) produce fewer but more reliable signals.
Compatibility: Overlay=true, meaning it is drawn directly on the candlestick chart. It can be combined with other indicators (e.g., RSI, MACD).
Advantages
This indicator outperforms standard trend line tools due to its automated, multi-period, and integrated features:
Automated Trend Line Drawing: Instead of manual drawing, it creates trend lines based on pivot highs/lows. Different periods (3-50) enable multi-timeframe analysis, allowing you to see short- and long-term trends on the same chart.
Breakout Detection and Labeling: Detects breakouts in real-time using dotted extensions. B (Buy) and S (Sell) labels (e.g., B1 for period1 up breakout) clarify signals. Historical breakouts are shown in gray for context.
ATR Integration: Volatility-based trend tracking (similar to SuperTrend). Calculates channel deviation to adapt to market volatility. Arrows highlight trend reversals quickly.
Moving Averages Integration: Flexible MA types (e.g., VWMA for volume-weighted analysis) for trend filtering. No Bollinger Bands option, but MAs can validate breakouts.
Performance and Visuals: Limits line count with max_lines_count for memory efficiency. Colors and line widths are customizable, and old elements are automatically managed (deleted or grayed out). Precision=0 ensures clean price formatting.
Flexibility: All components (trend lines, ATR, MA) can be toggled on/off, allowing for simple or complex usage.
Benefits Provided
This indicator speeds up trading decisions and reduces errors:
Trend and Support/Resistance Detection: Pivot-based lines provide automatic support (green, lows) and resistance (red, highs) levels. Benefit: Reduces manual analysis time, saving effort in scalping or swing trading.
Breakout Signals: Signals are triggered when the close price crosses over/under the extended line. Benefit: Catches potential trend starts early; ATR can filter false breakouts. B/S labels provide visual alerts, simplifying alert setup.
Volatility Adaptation (ATR): Adjusts trend lines based on market fluctuations. Benefit: Wider channels in high-volatility periods (e.g., crypto) and narrower in low volatility, reducing whipsaws (false signals). Arrows clearly show trend changes, ideal for position management.
MA Validation: MAs measure trend strength (e.g., EMA20 above indicates uptrend). Benefit: Filtering breakouts with MA crossovers improves accuracy. VWMA offers volume-based analysis to eliminate weak trends.
General Benefits:
Risk Management: Breakout levels can be used for stop-loss placement (e.g., below breakout).
Profit Potential: When tested on historical data (backtesting), it can be optimized by period—shorter periods for quick entries, longer for holding.
Educational Value: Visualizes fractal, pivot, and ATR concepts for new traders.
Time Savings: Automation eliminates hours of chart analysis; updates in real-time.
Multi-Asset Compatibility: Works for stocks, forex, and crypto; ATR shines in volatile assets.
Possible Strategies
This indicator supports various strategies, primarily focused on breakouts and trend following, enhanced by MA and ATR filtering.
Breakout Trading Strategy:
Rules: Enter long on B (Buy) label (crossover up line), short on S (Sell). For example, enter on B3 (period10), with stop-loss below the previous pivot low.
Filtering: Confirm with ATR arrow up (trend=0). Ensure price is above MA1 (20).
Exit: Profit target at ATR*2 or exit on reverse breakout (S).
Advantage: Ideal for scalping (p1-p2) or swing trading (p4-p5). Benefit: High win rate in volatile markets.
Trend Following Strategy:
Rules: Hold long if ATR trend line is green (up) and MA1 > MA2. Strengthen entry with breakout B.
Filtering: Use only larger period breakouts (p3-p5) with ATR in slow mode.
Exit: Exit on ATR arrow down (reversal) or MA crossover.
Advantage: Captures long-term trends with low drawdown. Benefit: Suitable for passive trading, especially on weekly charts.
Pullback Strategy:
Rules: In an uptrend (green ATR line), enter long when price pulls back to the downtrend line (green pivot low line).
Filtering: No breakout, supported by MA (price above MA). Set stop using ATR deviation.
Exit: New high breakout or ATR reversal.
Advantage: Low-risk entries, captures trend continuations. Benefit: Effective in range-bound markets.
Multi-Timeframe Combination:
Rules: Match short-period (p1) breakouts with long-period (p5) trends (e.g., p5 up + p1 B = long).
Filtering: ATR in medium mode, MAs in golden cross (20>50).
Advantage: Reduces false signals, validates H4 breakouts with D1 trends. Benefit: Suitable for professional traders, with backtesting showing 60%+ win rates.
Risk and Optimization Tips:
Position Sizing: Calculate using ATR (stop-loss distance / 1% risk).
Backtesting: Test in strategy mode; short periods may overtrade, while longer ones may miss opportunities.
Previous Day Fibonacci + Opening RangePrev Day Fibonacci & Opening Range Levels
This indicator is designed for professional traders who want to combine yesterday’s market structure with today’s intraday levels.
🔹 Features:
Automatic Fibonacci Retracements: Draws customizable Fibonacci retracement/extension levels based on the previous day’s High & Low.
Full Customization: Users can adjust the Fibonacci ratios and colors directly in settings.
Opening Range Levels: Plots today’s first candle High & Low (user-selectable timeframe for OR).
Clear Visuals: Helps identify key reversal zones, breakout levels, and confluence areas between higher timeframe structure and intraday moves.
🔹 Usage Ideas:
Spot potential reversal zones when price reacts to previous-day Fib levels.
Combine Opening Range breakout strategies with daily Fib levels for high-probability setups.
Use as confluence levels with your existing price action or indicator-based strategy.
⚡ Pro Tip: Look for overlaps between the Opening Range and Fibonacci retracements — these zones often act as strong support/resistance areas.