P-Motion Trend | QuantEdgeB⚡ Introducing P-Motion Trend (PMT) by QuantEdgeB
🧭 Overview
P-Motion Trend is a refined trend-following framework built for modern market dynamics. It combines DEMA filtering, percentile-based smoothing, and volatility-adjusted envelopes to create a clear, noise-filtered trend map directly on your chart.
This overlay indicator is engineered to detect breakout zones, trend continuation setups, and market regime shifts with maximum clarity and minimum lag.
Whether you're swing trading crypto, managing intraday FX moves, or positioning in equities — P-Motion Trend adapts, aligns, and simplifies.
🧠 Core Logic
1️⃣ DEMA Filtering Core
The input source is processed through a Double EMA to reduce lag while retaining trend sensitivity.
2️⃣ Percentile Median Smoothing
To eliminate short-lived spikes, the DEMA output is passed through a percentile median rank — effectively smoothing without distortion.
3️⃣ Volatility Envelope with EMA Basis
An exponential moving average (EMA) is applied to the smoothed median, and standard deviation bands are wrapped around it:
• ✅ Long Signal → Price closes above the upper band
• ❌ Short Signal → Price closes below the lower band
• ➖ Inside Band = Neutral
These bands expand/contract with market volatility — protecting against false breakouts in quiet regimes and adapting quickly to strong moves.
📊 Visual & Analytical Layers
• 🎯 Bar Coloring: Color-coded candles highlight trend state at a glance.
• 📈 EMA Ribbon Overlay: A dynamic ribbon of EMAs helps confirm internal momentum and detect transitions (trend decay or acceleration).
• 🔹Gradient Fill Zones: Visually communicates squeeze vs. expansion phases based on band width.
⚙️ Custom Settings
• EMA Length – Defines the core trend path (default: 21)
• SD Length – Controls volatility band smoothing (default: 30)
• SD Mult Up/Down – Sets thresholds for breakout confirmation (default: 1.5)
• DEMA Filter Source – Raw input used for trend processing
• DEMA Filter Length – Sets DEMA smoothing (default: 7)
• Median Length – Percentile-based smoothing window (default: 2)
📌 Use Cases
✅ Trend Confirmation
Use PMT to confirm whether the price action is structurally valid for trend continuation. A close above the upper band signals entry alignment.
🛡️ Reversal Guard
Avoid early reversion entries. PMT keeps you in-trend until price truly breaks structure.
🔍 Momentum Visualizer
With multiple EMA bands, the indicator also functions as a momentum envelope to spot divergence between price and smoothed trend flow.
🔚 Conclusion
P-Motion Trend is a hybrid volatility + trend system built with precision smoothing, dynamic filtering, and clean visual output. It balances agility with stability, helping you:
• Filter out price noise
• Enter with structure
• Stay in trades longer
• Exit with confidence
🧩 Summary of Benefits
• 🔹 Lag-minimized trend structure via DEMA core
• 🔹 Real-time volatility band adaptation
• 🔹 Gradient visual feedback on compression/expansion
• 🔹 EMA ribbon assists in phase detection
• 🔹 Suitable for all markets & timeframes
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Moving Averages
Z SMMA | QuantEdgeB📈 Introducing Z-Score SMMA (Z SMMA) by QuantEdgeB
🛠️ Overview
Z SMMA is a momentum-driven oscillator designed to track the standardized deviation of a Smoothed Moving Average (SMMA). By applying Z-score normalization, this tool dynamically adapts to price volatility, enabling traders to detect meaningful directional shifts and trend changes with enhanced clarity.
It serves both as a trend-following and mean-reversion system, identifying opportunities through standardized thresholds while remaining robust across volatile and calm market conditions.
✨ Key Features
🔹 Z-Score Normalization Engine
Applies Z-score to a custom SMMA baseline, allowing traders to compare price action relative to its recent volatility-adjusted mean.
🔹 Dynamic Trend Detection
Generates actionable long/short signals based on customizable Z-thresholds, making it adaptable across different asset classes and timeframes.
🔹 Overbought/Oversold Zones
Highlight reversion and profit-taking zones (default OB: +2 to +4, OS: -2 to -4), great for counter-trend or mean-reversion strategies.
🔹 Visual Reinforcement Tools
Includes candle coloring, gradient fills, and optional ALMA/EMA band overlays to visualize trend regime transitions.
🔍 How It Works
1️⃣ Z-Score SMMA Calculation
The core is a custom Smoothed Moving Average (SMMA) that is normalized by its standard deviation over a lookback period.
Final Formula:
Z = (SMMA - Mean) / StdDev
2️⃣ Signal Generation
• ✅ Long Bias: Z-Score > Long Threshold (default: 0)
• ❌ Short Bias: Z-Score < Short Threshold (default: 0)
3️⃣ Visual Aids
• Candle Color → Shows trend bias
• Band Fills → Highlight trend strength
• Overlays → Optional ALMA/EMA bands for structure analysis
⚙️ Custom Settings
• SMMA Length → Default: 12
• Z-Score Lookback → Default: 30
• Long Threshold → Default: 0
• Short Threshold → Default: 0
• Color Themes → Choose from 6 visual modes
• Extra Plots → Toggle advanced overlays (ALMA, EMA, bands)
• Label Display → Show/hide “𝓛𝓸𝓷𝓰” & “𝓢𝓱𝓸𝓻𝓽” markers
👥 Who Should Use It?
✅ Trend Traders → For early entries with confirmation from Z-score expansion
✅ Quantitative Analysts → Standardized deviation enables comparison across assets
✅ Mean-Reversion Traders → Use OB/OS zones to fade parabolic spikes
✅ Swing & Systematic Traders → Identify momentum shifts with optional ALMA/EMA overlays
📌 Conclusion
Z SMMA offers a smart, adaptive framework for tracking deviation from equilibrium in a quant-friendly format. Whether you're looking to follow trends or catch exhaustion points, Z SMMA provides a clear, standardized view of momentum and price extremes.
🔹 Key Takeaways:
1️⃣ Z-Score standardization ensures dynamic range awareness
2️⃣ SMMA base filters out noise, offering smoother signals
3️⃣ Color-coded visuals support faster reaction and cleaner charts
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before
Gaussian Smooth Trend | QuantEdgeB🧠 Introducing Gaussian Smooth Trend (GST) by QuantEdgeB
🛠️ Overview
Gaussian Smooth Trend (GST) is an advanced volatility-filtered trend-following system that blends multiple smoothing techniques into a single directional bias tool. It is purpose-built to reduce noise, isolate meaningful price shifts, and deliver early trend detection while dynamically adapting to market volatility.
GST leverages the Gaussian filter as its core engine, wrapped in a layered framework of DEMA smoothing, SMMA signal tracking, and standard deviation-based breakout thresholds, producing a powerful toolset for trend confirmation and momentum-based decision-making.
🔍 How It Works
1️⃣ DEMA Smoothing Engine
The indicator begins by calculating a Double Exponential Moving Average (DEMA), which provides a responsive and noise-resistant base input for subsequent filtering.
2️⃣ Gaussian Filter
A custom Gaussian kernel is applied to the DEMA signal, allowing the system to detect smooth momentum shifts while filtering out short-term volatility.
This is especially powerful during low-volume or sideways markets where traditional MAs struggle.
3️⃣ SMMA Layer with Z-Filtering
The filtered Gaussian signal is then passed through a custom Smoothed Moving Average (SMMA). A standard deviation envelope is constructed around this SMMA, dynamically expanding/contracting based on market volatility.
4️⃣ Signal Generation
• ✅ Long Signal: Price closes above Upper SD Band
• ❌ Short Signal: Price closes below Lower SD Band
• ➖ No trade: Price stays within the band → market indecision
✨ Key Features
🔹 Multi-Stage Trend Detection
Combines DEMA → Gaussian Kernel → SMMA → SD Bands for robust signal integrity across market conditions.
🔹 Gaussian Adaptive Filtering
Applies a tunable sigma parameter for the Gaussian kernel, enabling you to fine-tune smoothness vs. responsiveness.
🔹 Volatility-Aware Trend Zones
Price must close outside of dynamic SD envelopes to trigger signals — reducing whipsaws and increasing signal quality.
🔹 Dynamic Color-Coded Visualization
Candle coloring and band fills reflect live trend state, making the chart intuitive and fast to read.
⚙️ Custom Settings
• DEMA Source: Price stream used for smoothing (default: close)
• DEMA Length: Period for initial exponential smoothing (default: 7)
• Gaussian Length / Sigma: Controls smoothing strength of kernel filter
• SMMA Length: Final smoothing layer (default: 12)
• SD Length: Lookback period for standard deviation filtering (default: 30)
• SD Mult Up / Down: Adjusts distance of upper/lower breakout zones (default: 2.5 / 1.8)
• Color Modes: Six distinct color palettes (e.g., Strategy, Warm, Cool)
• Signal Labels: Toggle on/off entry markers ("𝓛𝓸𝓷𝓰", "𝓢𝓱𝓸𝓻𝓽")
📌 Trading Applications
✅ Trend-Following → Enter on confirmed breakouts from Gaussian-smoothed volatility zones
✅ Breakout Validation → Use SD bands to avoid false breakouts during chop
✅ Volatility Compression Monitoring → Narrowing bands often precede large directional moves
✅ Overlay-Based Confirmation → Can complement other QuantEdgeB indicators like K-DMI, BMD, or Z-SMMA
📌 Conclusion
Gaussian Smooth Trend (GST) delivers a precision-built trend model tailored for modern traders who demand both clarity and control. The layered signal architecture, combined with volatility awareness and Gaussian signal enhancement, ensures accurate entries, clean visualizations, and actionable trend structure — all in real-time.
🔹 Summary Highlights
1️⃣ Multi-stage Smoothing — DEMA → Gaussian → SMMA for deep signal integrity
2️⃣ Volatility-Aware Filtering — SD bands prevent false entries
3️⃣ Visual Trend Mapping — Gradient fills + candle coloring for clean charts
4️⃣ Highly Customizable — Adapt to your timeframe, style, and volatility
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Quantile DEMA Trend | QuantEdgeB🚀 Introducing Quantile DEMA Trend (QDT) by QuantEdgeB
🛠️ Overview
Quantile DEMA Trend (QDT) is an advanced trend-following and momentum detection indicator designed to capture price trends with superior accuracy. Combining DEMA (Double Exponential Moving Average) with SuperTrend and Quantile Filtering, QDT identifies strong trends while maintaining the ability to adapt to various market conditions.
Unlike traditional trend indicators, QDT uses percentile filtering to adjust for volatility and provides dynamic thresholds, ensuring consistent signal performance across different assets and timeframes.
✨ Key Features
🔹 Trend Following with Adaptive Sensitivity
The DEMA component ensures quicker responses to price changes while reducing lag, offering a real-time reflection of market momentum.
🔹 Volatility-Adjusted Filtering
The SuperTrend logic incorporates quantile percentile filters and ATR (Average True Range) multipliers, allowing QDT to adapt to fluctuating market volatility.
🔹 Clear Signal Generation
QDT generates clear Long and Short signals using percentile thresholds, effectively identifying trend changes and market reversals.
🔹 Customizable Visual & Signal Settings
With multiple color modes and customizable settings, you can easily align the QDT indicator with your trading strategy, whether you're focused on trend-following or volatility adjustments.
📊 How It Works
1️⃣ DEMA Calculation
DEMA is used to reduce lag compared to traditional moving averages. It is calculated by applying a Double Exponential Moving Average to price data. This smoother trend-following mechanism ensures responsiveness to market movements without introducing excessive noise.
2️⃣ SuperTrend with Percentile Filtering
The SuperTrend component adapts the trend-following signal by incorporating quantile percentile filters. It identifies dynamic support and resistance levels based on historical price data:
• Upper Band: Calculated using the 75th percentile + ATR (adjusted with multiplier)
• Lower Band: Calculated using the 25th percentile - ATR (adjusted with multiplier)
These dynamic bands adjust to market conditions, filtering out noise while identifying the true direction.
3️⃣ Signal Generation
• Long Signal: Triggered when price crosses below the SuperTrend Lower Band
• Short Signal: Triggered when price crosses above the SuperTrend Upper Band
The indicator provides signals with corresponding trend direction based on these crossovers.
👁 Visual & Custom Features
• 🎨 Multiple Color Modes: Choose from "Strategy", "Solar", "Warm", "Cool", "Classic", and "Magic" color palettes to match your charting style.
• 🏷️ Long/Short Signal Labels: Optional labels for visual cueing when a long or short trend is triggered.
• 📉 Bar Color Customization: Bar colors dynamically adjust based on trend direction to visually distinguish the market bias.
👥 Who Should Use QDT?
✅ Trend Followers: Use QDT as a dynamic tool to confirm trends and capture profits in trending markets.
✅ Swing Traders: Use QDT to time entries based on confirmed breakouts or breakdowns.
✅ Volatility Traders: Identify market exhaustion or expansion points, especially during volatile periods.
✅ Systematic & Quant Traders: Integrate QDT into algorithmic strategies to enhance market detection with adaptive filtering.
⚙️ Customization & Default Settings
- DEMA Length(30): Controls the lookback period for DEMA calculation
- Percentile Length(10): Sets the lookback period for percentile filtering
- ATR Length(14): Defines the length for calculating ATR (used in SuperTrend)
- ATR Multiplier(1.2 ): Multiplier for ATR in SuperTrend calculation
- SuperTrend Length(30):Defines the length for SuperTrend calculations
📌 How to Use QDT in Trading
1️⃣ Trend-Following Strategy
✔ Enter Long positions when QDT signals a bullish breakout (price crosses below the SuperTrend lower band).
✔ Enter Short positions when QDT signals a bearish breakdown (price crosses above the SuperTrend upper band).
✔ Hold positions as long as QDT continues to provide the same direction.
2️⃣ Reversal Strategy
✔ Take profits when price reaches extreme levels (upper or lower percentile zones) that may indicate trend exhaustion or reversion.
3️⃣ Volatility-Driven Entries
✔ Use the percentile filtering to enter positions based on mean-reversion logic or breakout setups in volatile markets.
🧠 Why It Works
QDT combines the DEMA’s quick response to price changes with SuperTrend's volatility-adjusted thresholds, ensuring a responsive and adaptive indicator. The use of percentile filters and ATR multipliers helps adjust to varying market conditions, making QDT suitable for both trending and range-bound environments.
🔹 Conclusion
The Quantile DEMA Trend (QDT) by QuantEdgeB is a powerful, adaptive trend-following and momentum detection system. By integrating DEMA, SuperTrend, and quantile percentile filtering, it provides accurate and timely signals while adjusting to market volatility. Whether you are a trend follower or volatility trader, QDT offers a robust solution to identify high-probability entry and exit points.
🔹 Key Takeaways:
1️⃣ Trend Confirmation – Uses DEMA and SuperTrend for dynamic trend detection
2️⃣ Volatility Filtering – Adjusts to varying market conditions using percentile logic
3️⃣ Clear Signal Generation – Easy-to-read signals and visual cues for strategy implementation
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
DEGA RMA | QuantEdgeB🧠 Introducing DEGA RMA (DGR ) by QuantEdgeB
🛠️ Overview
DEGA RMA (DGR) is a precision-engineered trend-following system that merges DEMA, Gaussian kernel smoothing, and ATR-based envelopes into a single, seamless overlay indicator. Its mission: to filter out market noise while accurately capturing directional bias using a layered volatility-sensitive trend core.
DGR excels at identifying valid breakouts, sustained momentum conditions, and trend-defining price behavior without falling into the trap of frequent signal reversals.
🔍 How It Works
1️⃣ Double Exponential Moving Average (DEMA)
The system begins by applying a DEMA to the selected price source. DEMA responds faster than a traditional EMA, making it ideal for capturing transitions in momentum.
2️⃣ Gaussian Filtering
A custom Gaussian kernel is used to smooth the DEMA signal. The Gaussian function applies symmetrical weights, centered around the most recent bar, effectively softening sharp price oscillations while preserving the underlying trend structure.
3️⃣ Recursive Moving Average (RMA) Core
The filtered Gaussian output is then processed through an RMA to generate a stable dynamic baseline. This baseline becomes the foundation for the final trend logic.
4️⃣ ATR-Scaled Breakout Zones
Upper and lower trend envelopes are calculated using a custom ATR filter built on DEMA-smoothed volatility.
• ✅ Long Signal when price closes above the upper envelope
• ❌ Short Signal when price closes below the lower envelope
• ➖ Neutral when inside the band (no signal noise)
✨ Key Features
🔹 Multi-Layer Trend Model
DEMA → Gaussian → RMA creates a signal structure that is both responsive and robust.
🔹 Volatility-Aware Entry System
Adaptive ATR bands adjust in real-time, expanding during high volatility and contracting during calm periods.
🔹 Noise-Reducing Gaussian Kernel
Sigma-adjustable kernel ensures signal smoothness without introducing excessive lag.
🔹 Clean Visual System
Candle coloring and band fills make trend state easy to read and act on at a glance.
⚙️ Custom Settings
• DEMA Source – Input source for trend core (default: close)
• DEMA Length – Length for initial smoothing (default: 30)
• Gaussian Filter Length – Determines smoothing depth (default: 4)
• Gaussian Sigma – Sharpness of Gaussian curve (default: 2.0)
• RMA Length – Core baseline smoothing (default: 12)
• ATR Length – Volatility detection period (default: 40)
• ATR Mult Up/Down – Controls the upper/lower threshold range for signals (default: 1.7)
📌 How to Use
1️⃣ Trend-Following Mode
• Go Long when price closes above the upper ATR band
• Go Short when price closes below the lower ATR band
• Remain neutral otherwise
2️⃣ Breakout Confirmation Tool
DGR’s ATR-based zone logic helps validate price breakouts and filter out false signals that occur inside compressed ranges.
3️⃣ Volatility Monitoring
Watch the ATR envelope width — a narrowing band often precedes expansion and potential directional shifts.
📌 Conclusion
DEGA RMA (DGR) is a thoughtfully constructed trend-following framework that goes beyond basic moving averages. Its Gaussian smoothing, adaptive ATR thresholds, and layered filtering logic provide a versatile solution for traders looking for cleaner signals, less noise, and real-time trend awareness.
Whether you're trading crypto, forex, or equities — DGR adapts to volatility while keeping your chart clean and actionable.
🔹 Summary
• ✅ Advanced Smoothing → DEMA + Gaussian + RMA = ultra-smooth trend core
• ✅ Volatility-Adjusted Zones → ATR envelope scaling removes whipsaws
• ✅ Fully Customizable → Tailor to any asset or timeframe
• ✅ Quant-Inspired Structure → Built for clarity, consistency, and confidence
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
2m 20T Trend Reversal SignalsI don't understand this generation. I kissed like 5 fricking girls and one of them have a boyfriend. I swear at one point she was gonna start fricking me. Like what the frick.
Scalping all timeframe EMA & RSIEMA 50 and EMA 100 combined with RSI 14
Should also be accompanied by the RSI 14 chart.
With the following conditions:
IF the EMAs are close but not crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses the lowest EMA, and the RSI value is equal to or below 40.
* Be prepared to take a Buy position if the first Bullish Candlestick crosses the highest EMA, and the RSI value is equal to or above 60.
IF the EMAs are overlapping and crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses both EMAs, and the RSI value crosses below 50.
*Be prepared to take a Buy position if the first Bullish Candlestick crosses both EMAs, and the RSI value crosses above 50.
siaThis script is a combination of several TradingView Pine Script indicators, each designed to provide different types of analysis and visualization for trading strategies. Here's a breakdown of each part:
1. Trendlines with Breaks
Purpose: Identifies trendlines and their breaks.
Key Features:
Detects swing highs and lows.
Calculates trendlines based on ATR, Stdev, or Linreg.
Plots upper and lower trendlines.
Highlights breakouts with shapes and alerts.
2. CM_Ultimate_MA_MTF_V2
Purpose: Plots a multi-timeframe moving average with optional second moving average.
Key Features:
Supports various moving average types (SMA, EMA, WMA, etc.).
Highlights price crossings with the moving averages.
Allows color changes based on direction.
Optional second moving average for additional analysis.
3. HalfTrend
Purpose: Identifies trends and plots trend channels.
Key Features:
Uses ATR for channel deviation.
Plots trend lines and channels.
Highlights trend changes with arrows.
Provides alerts for buy and sell signals.
4. Ichimoku
Purpose: Plots Ichimoku Cloud components and additional lines.
Key Features:
Plots Tenkan-Sen, Kijun-Sen, Chikou Span, and Ichimoku Cloud.
Highlights crosses between Tenkan-Sen and Kijun-Sen.
Includes additional lines like Quality Line and Direction Line.
Provides alerts for cross signals.
How to Use
Trendlines with Breaks: Useful for identifying potential breakout points in the market.
CM_Ultimate_MA_MTF_V2: Helps in understanding the trend across different timeframes.
HalfTrend: Provides a clear visualization of trend channels and potential reversal points.
Ichimoku: Offers a comprehensive view of market trends and potential support/resistance levels.
Integration
These indicators can be used together to create a robust trading strategy. For example, you can use the trendlines to identify breakouts, confirm the trend with the multi-timeframe moving average, and use Ichimoku for additional confirmation.
Customization
Each indicator has several input parameters that can be customized to fit your trading style and preferences.
Blood IndicatorBlood Indicator
Weekly (FRED:TB3MS / FRED:BAMLH0A0HYM2) plotted against the 100 WK MA. If red be ready for a sell off. Use Confluence in price action to confirm trades.
14 EMA & RSI Combo with First Buy/SellEMA14 & RSI stratergy - Used as a indication for BUY and Sell based on EMA 14 and RSI. Chk for higher timeframe trend and stick to the entries that are following the trend
EMA5 vs EMA13 Crossover (1D)1dklık ema5 vs ema13 crossover deneme bununla 1 dk lık al sat verısı ıncelıyorum
QT KAMAUse a longer-term KAMA to define the bigger trend and a shorter-term KAMA for trading signals. For example, KAMA (10,5,30) could be used as a trend filter and be deemed bullish when rising. Once bullish, chartists could then look for bullish crosses when price moves above KAMA (10,2,30) and vice-versa.
MNQ Scalping Strategyquick scalping strategy for mnq uses the macd ema and the vwap to help scalp a trade on the short or long side
RK_RAVI in this script
combination of
EMA 20
EMA 50
TRUE RANGE
AVERAGE TRUE RANGE
DAILY AVERAGE TRUE RANGE
THIS INDECATOR IS DEDICATED TO MY MENTOR MR RAVI R KUMAR
superTrend ve kama SezersuperTrend everget and Kama Hpotter indicator combination .
Adjust colors . short Long State Filling
EMAsRaccoon Emas + ribbon
12 - 21 emas with ribbon for low timeframe
50,100, 200, 300 emas for key levels
Moving Average Convergence Divergence + 2 SMAsThis TradingView Pine Script by STRADUK , is a **custom MACD indicator with two additional Simple Moving Averages (SMAs)** to enhance trend analysis and momentum insights. It includes:
- **MACD Components:**
- Configurable **Fast** and **Slow** MAs (SMA or EMA)
- Signal line (SMA or EMA)
- Histogram showing the difference between MACD and Signal
- Color-coded histogram for visual momentum changes
- Alerts for when the histogram switches from rising to falling and vice versa
- **Additional Features:**
- Two customizable **SMA lines** (e.g., 50 and 200) plotted directly on the price chart
- Helps identify broader market trends and potential support/resistance levels
This combined setup helps traders spot **momentum shifts** (via MACD) while also keeping an eye on the **overall market trend** (via SMAs).
Ultimate MA & PSAR [TARUN]Overview
This indicator combines a customizable Moving Average (MA) and Parabolic SAR (PSAR) to generate precise long and short trade signals. A dashboard displays real-time trade conditions, including signal direction, entry price, stop loss, and PnL tracking.
Key Features
✅ Customizable MA Type & Period – Choose between SMA or EMA with adjustable length.
✅ Adaptive PSAR Settings – Modify start, increment, and max step values to fine-tune stop levels.
✅ Trade Signal Logic – Identifies potential buy (long) and sell (short) opportunities based on:
Price action relative to MA
MA trend direction (rising or falling)
PSAR confirmation
✅ Dynamic Stop Loss Calculation – Uses lowest low/highest high over a specified period for stop loss placement.
✅ Trade State & Reversal Handling – Manages active trades, pending signals, and stop loss exits dynamically.
✅ PnL & Dashboard Table – Displays real-time signal status, entry price, stop loss, and profit/loss (PnL) in an easy-to-read format.
How It Works
1.Buy (Long) Condition:
MA is rising
Price is above the MA
PSAR is below price
2.Sell (Short) Condition:
MA is falling
Price is below the MA
PSAR is above price
3.Stop Loss Handling:
For long trades → stop loss is set at the lowest low of the last X candles
For short trades → stop loss is set at the highest high of the last X candles
4.Trade Execution & PnL Calculation:
If a valid long/short setup is detected, a pending signal is placed.
On the next bullish (for long) or bearish (for short) candle, the trade is confirmed.
Real-time PnL updates help track trade performance.
Customization Options
🔹 Moving Average: SMA or EMA, adjustable period
🔹 PSAR Settings: Start, Increment, Maximum step values
🔹 Stop Loss Lookback: Choose how many candles to consider for stop loss placement
🔹 Dashboard Positioning: Select preferred display location (top/bottom, left/right)
🔹 Trade Signal Selection: Enable/Disable Long and Short signals individually
How to Use
Add the indicator to your chart.
Customize the MA & PSAR settings according to your trading strategy.
Follow the dashboard signals for trade setups.
Use stop loss levels to manage risk effectively.
Disclaimer
⚠️ This indicator is for educational purposes only and does not constitute financial advice. Always perform proper risk management and backtesting before using it in live trading.
MULTI MEDIAAllows you to insert 5 different MA into the graph with a single script.
For each MA you can select whether SMA or EMA, the length and the data source.
When each MA has a lower value than the previous value the line turns red (you can customize all the colors for UP and DOWN).
KAMAKaufman's Adaptive Moving Average (KAMA)
A unique moving average that accounts for volatility and automatically adjusts to price behavior.
What Is Kaufman's Adaptive Moving Average?
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small, and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can identify the overall trend, time turning points and filter price movements.
Interpreting KAMA
KAMA is like any other trend-following indicator, such as a moving average and can look for price crosses, directional changes and filtered signals.
First, a cross above or below KAMA indicates directional changes in prices. As with any moving average, a simple crossover system will generate lots of signals and lots of whipsaws. One can reduce whipsaws by applying a price or time filter to the crossovers. One might require price to hold the cross for a set number of days or require the cross to exceed KAMA by a set percentage.
source: chartschool.stockcharts.com