Three EMA & RSI Strategy With Signals
3 EMA + RSI Strategy v3
User Documentation & Strategy Guide
PulseWire Pine Script v5 Indicator
Version 3.0
Table of Contents
1. Strategy Overview
2. Installation & Setup
3. Input Parameters (GUI Settings)
4. Chart Visual Outputs
5. Information Table Reference
6. Alert Conditions
7. Strategy Logic (Detailed)
8. EMA Slope Line Colour Reference
9. Troubleshooting & Notes
1. Strategy Overview
The 3 EMA + RSI Strategy is a trend-following indicator built for PulseWire. It combines four Exponential Moving Averages (EMAs) with a Relative Strength Index (RSI) filter and EMA slope analysis to identify high-probability long and short trade setups.
The strategy operates in two mutually exclusive regimes: Long Mode and Short Mode. At any given time, only one regime is active. Transitions between regimes are triggered by crossover events between the EMA Slow Medium and EMA Slow lines.
Core Components
• 4 EMAs: Fast, Medium, Slow Medium, and Slow. These define the trend structure and cloud.
• EMA Cloud: A shaded region between the Fast EMA and Slow EMA, coloured green (bullish) or red (bearish).
• EMA Slope Line: A continuous coloured line below the cloud showing the trend direction of the Slow Medium EMA. Green indicates upward slope, Red indicates downward slope, and Yellow indicates a flat/ranging market.
• RSI Filter: Multi-timeframe RSI used to confirm momentum before entry.
• Strong Candle Detection: Identifies candles with above-average body size relative to their total range, used to confirm entries and exits.
How It Works (Summary)
1. An EMA crossover (Slow Medium crossing Slow) activates a regime and fires a Yellow Star signal.
2. Within the active regime, a Strong Candle closing in the correct position relative to the Medium and Slow Medium EMAs triggers an entry (Green or Red triangle).
3. A Strong Candle closing against the position relative to the Medium EMA triggers an exit (Violet triangle).
4. The EMA Slope Line and RSI circles provide additional confluence confirmation throughout.
2. Installation & Setup
• Open PulseWire and navigate to the Pine Editor (bottom panel).
• Click 'Open' or create a new script, then paste the entire Pine Script code.
• Click 'Add to Chart'. The indicator will appear on your active chart.
• Access settings via the gear icon on the indicator title bar to configure inputs.
• Set up alerts via the PulseWire Alerts dialog, selecting the indicator's alert conditions.
3. Input Parameters (GUI Settings)
All inputs are accessible through the indicator's Settings panel on PulseWire. They are organised into the following groups.
3.1 EMA Settings
Parameter Default Description
EMA Fast Length 9 Period for the Fast EMA. Shortest and most responsive. Forms the upper/lower boundary of the cloud.
EMA Medium Length 21 Period for the Medium EMA. Used as a threshold for strong candle entry and exit confirmations.
EMA Slow Medium Length 50 Period for the Slow Medium EMA. The primary signal line. Its crossover with the Slow EMA triggers regime changes. Its slope is measured for trend strength.
EMA Slow Length 200 Period for the Slow EMA. The anchor line. Forms the other boundary of the cloud. Regime direction is determined by the Slow Medium EMA crossing above or below this line.
3.2 RSI Settings
Parameter Default Description
RSI Resolution From Chart Timeframe for RSI calculation. Options: From Chart, 5 Min, 10 Min, 15 Min. This also governs the update frequency of RSI circles and slope labels.
RSI Average Period 14 RSI lookback period. Also used as a multiplier: RSI Resolution x this value is displayed in HH:MM:SS format in the table.
RSI Threshold Long 55.0 RSI must be greater than or equal to this value for a green (bullish) RSI circle in Long Mode.
RSI Threshold Short 45.0 RSI must be less than or equal to this value for a green (bearish confirmation) RSI circle in Short Mode.
3.3 EMA Slope Settings
Parameter Default Description
Slope Lookback Periods 3 Number of RSI-resolution bars to look back. Slope = (current EMA Slow Medium - value N bars ago) / value N bars ago x 100. Higher values smooth the slope reading.
EMA Long Slope Threshold 0.05 Minimum slope percentage for a 'strong uptrend' confirmation in Long Mode. Used in table display.
EMA Short Slope Threshold -0.05 Maximum slope percentage (negative) for a 'strong downtrend' confirmation in Short Mode. Used in table display.
EMA Flat Threshold 0.02 When the absolute slope value is below this threshold, the slope reading is considered flat. Contributes to ranging detection.
Flat Confirmation 3 Number of consecutive HTF bars where slope remains flat before the market is declared 'RANGING'. This prevents false flat signals from a single bar.
3.4 Strong Candle Settings
Parameter Default Description
Body > Avg Body x This 1.5 The candle body must be this multiplier times larger than the average body over the lookback period.
Average Lookback Bars 20 Number of bars used to calculate the average body size. Larger values create a more stable baseline.
Min Body % of Range 50% Minimum ratio of candle body to total high-low range. Filters out dojis and spinning tops that have large wicks but small bodies.
4. Chart Visual Outputs
The indicator renders the following visual elements directly on the price chart. Each element has a specific meaning and purpose.
4.1 EMA Lines
EMA Colour Purpose
Fast Yellow Fastest-reacting EMA. Forms one edge of the cloud.
Medium Orange Entry/exit threshold. Strong candles must close above (long) or below (short) this line.
Slow Medium Blue Primary signal EMA. Its crossover with the Slow EMA triggers regime changes. Slope is measured.
Slow White Anchor EMA. Forms the other edge of the cloud.
4.2 EMA Cloud
The shaded region between the Fast EMA and the Slow EMA provides an at-a-glance view of the trend regime.
• Green Cloud: Active after the Slow Medium EMA crosses above the Slow EMA (bullish regime).
• Red Cloud: Active after the Slow Medium EMA crosses below the Slow EMA (bearish regime).
• Grey Cloud: Initial state before any crossover has occurred.
4.3 Chart Markers (Shapes)
Signal Shape Colour Meaning
EMA Cross Long Diamond (★) Yellow Slow Medium EMA crossed above Slow EMA. Long Mode activated. This is the initial setup signal for a potential long trade.
EMA Cross Short Diamond (★) Yellow Slow Medium EMA crossed below Slow EMA. Short Mode activated. This is the initial setup signal for a potential short trade.
Long Entry Triangle Up Green A strong bullish candle closed above both the Medium EMA and Slow Medium EMA while in Long Mode. Entry confirmation.
Short Entry Triangle Down Red A strong bearish candle closed below both the Medium EMA and Slow Medium EMA while in Short Mode. Entry confirmation.
Long Exit Triangle Down Violet A strong bearish candle closed below the Medium EMA while a Long Entry was active. Position should be closed.
Short Exit Triangle Up Violet A strong bullish candle closed above the Medium EMA while a Short Entry was active. Position should be closed.
4.4 RSI Circles
Coloured circles appear above the candle wick in Long Mode or below the candle wick in Short Mode. They are updated once per RSI Resolution bar.
• Green Circle (●): RSI condition is met. In Long Mode, RSI >= Long Threshold. In Short Mode, RSI <= Short Threshold.
• Red Circle (●): RSI condition is not met.
Click on any circle to view a tooltip showing the exact RSI value and threshold.
4.5 EMA Slope Line Colour Reference
The EMA Slope Line is a continuous coloured line drawn below the EMA Cloud. It represents the rate of change (slope) of the Slow Medium EMA over the configured lookback period. The line is labelled on the chart at the rightmost bar for easy identification.
The line uses a three-colour system that applies identically in both Long and Short modes:
Colour Condition Interpretation
GREEN Slope >= 0 The Slow Medium EMA is trending upward. The EMA value is higher now than it was N lookback periods ago. This indicates bullish momentum in the underlying trend.
RED Slope < 0 The Slow Medium EMA is trending downward. The EMA value is lower now than it was N lookback periods ago. This indicates bearish momentum in the underlying trend.
YELLOW |Slope| < Flat Threshold for N consecutive bars The Slow Medium EMA is essentially flat. The market is in a ranging/consolidation phase. Trade signals during this period should be treated with extra caution as EMA crossovers in ranges tend to produce false signals.
The slope line does not render on bars where insufficient data is available (i.e., before the lookback buffer is filled). This prevents misleading readings on early chart history.
Click anywhere on the slope line to view a tooltip displaying the precise slope percentage, flat counter progress, and all configured thresholds.
5. Information Table Reference
A real-time information table is displayed in the top-right corner of the chart. It provides an at-a-glance summary of all internal states.
Row Description
RSI Resolution The currently selected RSI timeframe (e.g., From Chart, 5 Min).
RSI Res x Avg The effective RSI analysis window in HH:MM:SS format. Calculated as RSI Resolution (in minutes) multiplied by the RSI Average Period.
Active Mode Current regime: LONG (green), SHORT (red), or NONE (grey). Only one mode is active at a time.
Market Condition TRENDING UP (green), TRENDING DOWN (red), or RANGING (yellow). Based on slope direction and flat detection.
Flat Count Progress towards ranging detection, shown as current/required (e.g., 2/3). Turns yellow when ranging is confirmed.
EMA Cross Long/Short Whether the initial crossover condition is active. TRUE (green) or FALSE (red). Shows N/A when the opposite mode is active.
Long/Short Strong Entry Whether an entry has been confirmed by a strong candle. TRUE (green) means a position is open. FALSE (red) means no entry yet or position was exited.
EMA Slope Current slope value as a percentage. Coloured green (up), red (down), or yellow (ranging). Shows N/A when the opposite mode is active.
RSI Avg Current RSI value. Green if the threshold condition is met, red otherwise. Shows N/A when the opposite mode is active.
Slope Lookback Configured number of HTF bars used for slope calculation.
Strong Candle? Whether the current (last) bar qualifies as a strong candle. Displays BULL, BEAR, or No.
6. Alert Conditions
The indicator provides seven configurable alert conditions. To enable alerts, right-click the indicator on the chart and select 'Add Alert', then choose the desired condition.
Alert Name Trigger Condition
EMA Cross Long Slow Medium EMA crosses above Slow EMA. Long Mode begins.
EMA Cross Short Slow Medium EMA crosses below Slow EMA. Short Mode begins.
Long Strong Entry A strong bullish candle closes above both Medium and Slow Medium EMAs while in Long Mode.
Short Strong Entry A strong bearish candle closes below both Medium and Slow Medium EMAs while in Short Mode.
Long Exit Signal A strong bearish candle closes below the Medium EMA while a long entry is active.
Short Exit Signal A strong bullish candle closes above the Medium EMA while a short entry is active.
Ranging Detected The EMA slope has remained flat (below the flat threshold) for the configured number of consecutive HTF bars.
7. Strategy Logic (Detailed)
7.1 Regime Determination
The strategy uses a state machine with two mutually exclusive modes. When one mode activates, the opposite mode's state variables are invalidated and reset.
• Long Mode Activation: Triggered when the EMA Slow Medium crosses above the EMA Slow (bullish crossover). The Short Mode states are immediately reset.
• Short Mode Activation: Triggered when the EMA Slow Medium crosses below the EMA Slow (bearish crossover). The Long Mode states are immediately reset.
7.2 Long Trade Lifecycle
Step 1 - Setup (Yellow Star): The Slow Medium EMA crosses above the Slow EMA. A yellow diamond marker appears above the bar. The internal state 'EMA Cross Long' is set to TRUE. An alert fires.
Step 2 - Entry (Green Triangle): While EMA Cross Long is TRUE, a strong bullish candle closes above both the Medium EMA and the Slow Medium EMA. A green upward triangle appears below the bar. The internal state 'Long Strong Entry' is set to TRUE. An alert fires. This represents the long entry confirmation.
Step 3 - Exit (Violet Triangle): While Long Strong Entry is TRUE, a strong bearish candle closes below the Medium EMA. A violet downward triangle appears above the bar. The internal state 'Long Strong Entry' is reset to FALSE. An alert fires. This represents the signal to close the long position.
7.3 Short Trade Lifecycle
Step 1 - Setup (Yellow Star): The Slow Medium EMA crosses below the Slow EMA. A yellow diamond marker appears below the bar. The internal state 'EMA Cross Short' is set to TRUE. An alert fires.
Step 2 - Entry (Red Triangle): While EMA Cross Short is TRUE, a strong bearish candle closes below both the Medium EMA and the Slow Medium EMA. A red downward triangle appears above the bar. The internal state 'Short Strong Entry' is set to TRUE. An alert fires. This represents the short entry confirmation.
Step 3 - Exit (Violet Triangle): While Short Strong Entry is TRUE, a strong bullish candle closes above the Medium EMA. A violet upward triangle appears below the bar. The internal state 'Short Strong Entry' is reset to FALSE. An alert fires. This represents the signal to close the short position.
7.4 EMA Slope Calculation
The EMA slope measures the rate of change of the Slow Medium EMA over the configured lookback period. It is recalculated once per RSI Resolution bar (Higher Timeframe bar).
Formula: Slope = (Current EMA Slow Medium - EMA Slow Medium N bars ago) / EMA Slow Medium N bars ago x 100
Where N is the Slope Lookback Periods setting. The result is expressed as a percentage.
7.5 Ranging Detection
When the absolute value of the slope remains below the Flat Threshold for the configured number of consecutive HTF bars (Flat Confirmation), the market is declared as RANGING. During ranging conditions, the slope line turns yellow and the table displays 'RANGING' as the market condition. Traders should exercise additional caution during ranging periods as EMA-based signals are prone to whipsaws.
7.6 Strong Candle Criteria
A candle is classified as 'strong' when all three of the following conditions are satisfied simultaneously:
• Body Size: The absolute difference between open and close must exceed the simple moving average of body sizes over the lookback period, multiplied by the configured body multiplier.
• Body Percentage: The ratio of body size to the total high-low range must meet or exceed the minimum body percentage threshold.
• Non-Zero Range: The high-low range must be greater than zero (eliminates flat/no-trade bars).
A strong candle is further classified as bullish (close > open) or bearish (close < open) to determine its role in entry and exit logic.
8. EMA Slope Line Colour Summary
For quick reference, the slope line on the chart uses the following colour encoding. This applies uniformly regardless of whether the strategy is in Long Mode or Short Mode.
Colour Slope Value Market State Recommendation
GREEN Slope >= 0 Uptrend Favourable for long entries when supported by other signals.
RED Slope < 0 Downtrend Favourable for short entries when supported by other signals.
YELLOW |Slope| < Flat Threshold (N consecutive bars) Ranging / Flat Exercise caution. EMA crossover signals in ranging markets are prone to false triggers.
9. Troubleshooting & Notes
Common Issues
• Slope line not visible on older bars: This is by design. The slope line requires the lookback buffer to be filled before rendering. Increase the chart history or reduce the lookback period.
• No signals appearing: Verify that the EMA lengths are appropriate for your timeframe. On very short timeframes, a 200-period Slow EMA may require substantial history.
• Strong candles not detected: Try reducing the Body Multiplier (e.g., from 1.5 to 1.2) or the Min Body Percentage (e.g., from 50% to 40%).
• RSI circles not updating frequently enough: RSI circles update once per RSI Resolution bar. If your chart timeframe is smaller than the RSI Resolution, updates will appear less frequently.
Important Notes
• This indicator is a technical analysis tool, not a trading system with automated order execution. All signals should be used as part of a comprehensive trading plan.
• Long and Short modes are mutually exclusive. When one mode activates, the other mode's state variables are displayed as 'N/A' in the table.
• The EMA Slope Line colour is unified across both regimes: green always means the EMA is rising, red always means it is falling, and yellow always means it is flat.
• Tooltip information is available by hovering over or clicking on RSI circles and the slope line.
• Always validate indicator signals with your own analysis and risk management framework.
End of Documentation
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Volatility-Gated Trend Oscillator [QuantAlgo]🟢 Overview
The Volatility-Gated Trend Oscillator identifies statistically significant trend conditions by measuring price deviation from a dynamic baseline and filtering out normal market noise through an adaptive volatility floor. It calculates a moving average of the chosen type as a baseline, then measures how far price has deviated from it relative to average absolute deviation to define a noise threshold. Only when price breaks decisively beyond this threshold is a trend state confirmed, helping traders distinguish genuine momentum from random noise across different timeframes and markets.
🟢 How It Works
The indicator's core methodology lies in its dual-layer approach combining deviation measurement with volatility-gated filtering, where trend confirmation requires price movement to exceed statistically meaningful thresholds.
First, a configurable moving average is calculated to establish a dynamic baseline reflecting the underlying trend at the chosen sensitivity level:
baseline = get_ma(src, sensitivity, ma_type)
raw_diff = src - baseline
Then, the average absolute deviation from the baseline is measured over the same period and scaled by a user-defined multiplier to construct an adaptive noise floor, which is the minimum price deviation required to confirm a trend signal:
noise_floor = ta.sma(math.abs(raw_diff), sensitivity) * noise_mult
The trend state is then determined by comparing raw deviation against this noise floor, with a decay mechanism applied when price re-enters the neutral zone to avoid abrupt reversals:
if raw_diff > noise_floor
trend_state := 1
locked_val := raw_diff
else if raw_diff < -noise_floor
trend_state := -1
locked_val := raw_diff
else
locked_val := locked_val * 0.9
The locked deviation value is then normalized by ATR to make the oscillator comparable across instruments and volatility regimes, and smoothed with a short WMA to reduce micro-fluctuations in the final output:
normalized_val = locked_val / ta.atr(sensitivity)
final_osc = ta.wma(normalized_val, 5)
This creates a robust momentum oscillator that only registers trend conditions when price makes structurally significant moves beyond typical noise, while the ATR normalization ensures readings remain meaningful and consistent regardless of the underlying instrument's price scale or volatility level.
🟢 Signal Interpretation
▶ Bullish Trend (Oscillator Rising Above Zero with Bullish Color): When price deviation breaks above the positive noise floor, the oscillator enters bullish mode with green/bullish coloring across all visual elements = Confirmed upward momentum signal for trend-following long positions. The trend remains bullish until price deviation falls below the negative noise floor, allowing traders to stay positioned through normal consolidations without premature exits on minor pullbacks that remain within the noise boundary.
▶ Bearish Trend (Oscillator Falling Below Zero with Bearish Color): When price deviation breaks below the negative noise floor, the oscillator enters bearish mode with red/bearish coloring across all visual elements = Confirmed downward momentum signal for short positions or long exit signals. The trend remains bearish until deviation exceeds the positive noise floor, enabling traders to maintain directional bias through corrective bounces that stay within the threshold boundaries.
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets tailored for different trading styles and timeframes. "Default" delivers balanced trend detection for swing trading on 4-hour and daily charts, filtering minor noise while remaining responsive to meaningful momentum shifts. "Fast Response" uses a reactive EMA baseline with a tighter noise floor for intraday and scalping timeframes, generating earlier signals suited to active traders on 5-minute to 1-hour charts. "Smooth Trend" applies a smooth, lag-reduced HMA baseline with a demanding noise threshold for position trading on daily and weekly charts, confirming only major directional shifts with minimal false positives.
▶ Built-in Alerts: Three alert conditions enable automated monitoring of trend transitions without constant chart observation. "Bullish Trend Signal" triggers when the oscillator first enters a confirmed bullish state, alerting for potential long entries. "Bearish Trend Signal" activates when the oscillator first enters a confirmed bearish state, signaling potential short entries or long exits. "Trend Direction Changed" provides a combined alert for any trend transition regardless of direction, allowing traders to monitor both bullish and bearish opportunities through a single alert setup.
▶ Visual Customization: Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, plus Custom) accommodate different chart themes and aesthetic preferences, with coordinated bullish and bearish color schemes applied consistently across all indicator elements. A layered luminance fill system creates graduated visual depth around the main oscillator line using four fill zones at progressively increasing transparency, making trend strength and direction immediately readable at a glance. Optional bar coloring tints price bars with the active trend color during confirmed bullish and bearish periods, providing instant overhead visual confirmation of trend state without requiring direct reference to the oscillator panel below.
Indicator

Indicator

Indicator

Indicator

Footprint Data Test [Zofesu]Overview
Verify your Data Integrity with Institutional Precision.
This diagnostic tool is a professional-grade utility designed to verify if your current broker and symbol provide real-time Footprint Data (Intrabar Volume). In the world of high-stakes trading, especially when scalping Nasdaq or BTC, your strategies are only as good as the data feeding them. This script ensures your "data fuel" is active before you rely on complex Order Flow or Delta-based indicators.
Why this is Original and Useful
PulseWire's Public Library is filled with Order Flow indicators, but many traders fail to realize that their broker might not even provide the necessary tick-level data for these tools to function.
This script is unique because:
Direct Engine Access: It utilizes the latest Pine Script™ v6 request.footprint method to probe the exchange’s database directly.
Diagnostic Transparency: Instead of guessing why an indicator isn't plotting, this tool provides a clear "Green Light" status.
Educational Value: It bridges the gap between retail charting and institutional data requirements, helping traders understand the difference between simulated volume and real footprint distribution.
How it Works
The script attempts to request footprint data for the last 10 bars. In Pine Script™ v6, if the broker (e.g., certain CFD providers) does not support this data, the method returns na. The tool captures this state and translates it into a simplified UI.
Core Components
Status Table: A clean, non-intrusive UI element at the bottom center of your chart for instant diagnostics.
Data Active ✅: Confirms your broker provides real-time footprint/tick data. You can safely proceed with Order Flow and Volume Profile strategies.
No Data / Not Supported: Indicates the symbol or broker lacks the necessary granularity. Footprint-based indicators will not function correctly in this environment. Next to the indicator, at the top left, you will see a red exclamation point.
Strategic Application
Broker Verification: Compare data quality between different providers (e.g., IC Markets vs. Binance vs. CME).
Symbol Compatibility: Essential for testing Nasdaq (NQ), S&P 500 (ES), or Crypto pairs before deploying capital.
Data Subscriptions: If you see a red status on Indices, it often confirms the need for a "Real-Time Data Subscription" from the exchange. Switch time frames to see where the real data is. Indicator

Indicator

Pivot Pro - CPR PDH/PDL EMA by Sani═══════════════════════════════════════════════
PIVOT POINTS PRO — CPR + PDH/PDL + EMA
Full Historical | No Repaint | All Customizable
═══════════════════════════════════════════════
A professional all-in-one indicator combining the
Standard Pivot Point system with CPR (Central Pivot Range),
Previous Day High/Low, and dual EMAs — all non-repainting,
fully customizable per level, and drawn across complete
chart history.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 PIVOT POINTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Supports all 6 types: Traditional, Fibonacci,
Woodie, Classic, DM, Camarilla
- Timeframe anchoring: Auto, Daily, Weekly, Monthly,
Quarterly, Yearly, and multi-year periods
- Every level (P, R1–R5, S1–S5) has its own
independent Color, Line Style, and Line Width
- Lines extend to the right edge of the chart
- Historical pivot count controlled by "Number of Pivots Back"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 CPR — CENTRAL PIVOT RANGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Calculated from previous day OHLC (non-repainting)
- Draws CPR Pivot, BC (Bottom Central), TC (Top Central)
- Visible across ALL historical sessions — not just today
- Each line has its own Color, Style (Solid/Dashed/Dotted),
and Width
- Current session extends to right edge automatically
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 PDH / PDL — PREVIOUS DAY HIGH & LOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Previous day High and Low plotted per session
- Full chart history — every completed day visible
- Independent Show/Hide, Color, Style, and Width
for PDH and PDL separately
- Current session extends to right edge automatically
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 EMA — FAST & SLOW WITH TREND COLORING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Dual EMA (default 10 / 20) with dynamic color:
→ Green when Fast > Slow (bullish)
→ Red when Fast < Slow (bearish)
→ Yellow when flat
- Optional EMA Band background highlight (purple)
when price is between the two EMAs
- EMA Touch + 2-Candle confirmation alerts included
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Pivot Type & Timeframe
- Labels: Show/Hide, position (Left or Right), prices
- Per-level: P, R1–R5, S1–S5 — Color, Style, Width
- CPR: Master toggle + individual Pivot / BC / TC controls
- PDH/PDL: Master toggle + individual PDH / PDL controls
- EMA: Lengths, Width, Band background
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ NO REPAINT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All values fetched using:
request.security(..., lookahead=barmerge.lookahead_on)
with shift on daily OHLC — values are locked to
the previous completed day and never change on the
current bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 BEST USED ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Intraday timeframes: 1m, 3m, 5m, 15m, 30m, 1H
Works on any market: Stocks, Forex, Crypto, Futures
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 BUILT-IN ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- EMA Bullish Cross
- EMA Bearish Cross
- Price Touched PDH
- Price Touched PDL
- Price Near CPR Pivot Indicator

Indicator

Price Percentile Heatmap [QuantAlgo]🟢 Overview
This indicator visualizes where price currently stands within its recent historical distribution, displayed as a dynamic gradient heatmap directly on the chart. It is built on the concept of percentile ranking: rather than using lagging momentum oscillators or fixed overbought/oversold thresholds, it measures price relative to every bar within a user-defined lookback window and expresses that position as a smooth, continuous gradient. The result is an at-a-glance read of whether price is historically cheap, historically expensive, or somewhere in between, all without leaving the main chart.
The defining visual feature is the thermal color gradient applied to the price bars, background, and source line. Bullish colors represent price trading near the top of its recent range, signaling historically elevated conditions. Bearish colors represent price trading near the bottom of its range, signaling historically depressed conditions. A built-in Heat Thermometer reinforces this reading by showing exactly where the current percentile rank falls along the full spectrum in real time.
🟢 How It Works
The foundation of the indicator is a per-bar percentile rank calculated over a rolling lookback window. For each bar, the selected price source is compared against every value within the lookback period to determine what percentage of historical bars traded below the current price:
percentile_rank = ta.percentrank(price_source, lookback_length)
A rank of 100 means the current price is higher than every bar in the lookback sample. A rank of 0 means it is lower than all of them. A rank of 50 places price exactly at the median of its recent distribution. This single value drives every visual output in the indicator.
The raw rank is then mapped directly into a continuous color gradient, transitioning smoothly from the bearish color at rank 0 to the bullish color at rank 100:
gradient_color = color.from_gradient(percentile_rank, 0, 100, bearish_color, bullish_color)
Because the rank is recalculated on every bar using a rolling window, the gradient never relies on fixed thresholds or static levels. It adapts continuously to the most recent price history, meaning the same absolute price level can read bullish in one market environment and bearish in another depending on what has happened within the lookback period.
The lookback length is the primary tuning parameter. Short periods (10 to 30) make the rank reactive to recent moves and suit scalping and intraday setups. Medium periods (50 to 100) provide a balanced read suitable for swing trading. Long periods (150 to 500) produce a slow-moving, macro-level view best suited for position trading and identifying historically extreme conditions.
🟢 Key Features
1. Thermal Color Gradient
Every visual element on the chart, including the source line, the bar colors, and the background tint, reflects the current percentile rank through a smooth color transition.
▶ Bullish Color: Applied when price ranks high within its recent distribution, drawing attention to historically elevated price levels.
▶ Bearish Color: Applied when price ranks low, highlighting historically depressed conditions and potential mean-reversion or continuation setups.
▶ Bar Coloring: Each individual candlestick is colored according to the current rank, giving instant bar-by-bar feedback without requiring a separate panel.
▶ Background Coloring: The full chart canvas receives a semi-transparent tint that reinforces the heatmap reading across the entire visible price area. Transparency is fully adjustable so price action is never obscured.
▶ Color Presets: Six pre-configured schemes, Classic, Aqua, Cosmic, Cyber, Neon, and Custom, allow you to match the heatmap to any chart theme or personal preference.
2. Heat Thermometer
An optional thermometer panel displays the full bearish-to-bullish color spectrum and marks exactly where the current percentile rank sits along that spectrum with a real-time arrow indicator.
▶ Real-Time Positioning: The arrow updates on every bar, giving an immediate visual anchor for the current rank without needing to read a number.
▶ Resolution: The number of gradient segments in the thermometer is adjustable from 5 to 20, letting you choose between a clean simplified display or a finer, smoother gradient.
▶ Position and Size: The thermometer can be placed in any of nine chart positions and its text size is independently adjustable, making it easy to integrate into dense multi-indicator layouts or standalone setups.
🟢 Practical Applications
▶ Mean Reversion Setups: When price reaches an extreme low percentile rank, it is historically cheap relative to recent bars, a potential entry signal for mean reversion strategies. The opposite applies at high ranks.
▶ Trend Confirmation: In a strong trend, the percentile rank will persistently hue toward one color. A sustained bullish gradient confirms trend strength; a persistent bearish gradient confirms sustained selling pressure.
▶ Multi-Timeframe Alignment: Apply the indicator across multiple timeframes and look for gradient agreement. When both a higher and lower timeframe show the same extreme color, the percentile signal carries significantly more weight. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

ADR Dashboard - TRADER FISH Overview
Designed by TRADER FISH, this lightweight utility indicator provides a real-time "Volatility Dashboard" directly on your chart. It calculates the Average Daily Range (ADR) over a specified period (default: 14 days) and compares it with the Current Daily Range.
For intraday traders and scalpers, knowing how much "fuel" is left in the market is crucial. This tool helps you identify when the price has reached its statistical limit for the day, allowing for better Take Profit placement and reversal anticipation.
Key Features
Real-Time Monitoring: Displays a minimalist table in the top-right corner, showing the 14-Day Average vs. Today's High-Low Range.
Percentage Completion: Automatically calculates what percentage of the average daily range has been achieved today.
Dynamic Visual Alerts: The text color changes based on volatility exhaustion:
Green: Normal volatility (Room to move).
Orange (≥ 90%): Warning zone. The daily range is approaching its average.
Red (≥ 100%): Exhaustion zone. The market has exceeded its average volatility, increasing the probability of a reversal or consolidation.
Multi-Timeframe Support: While this indicator is best used on intraday charts (1m, 5m, 15m, 1h), it automatically requests data from the Daily (D) timeframe to ensure accuracy.
How to Use
Take Profit: If you are holding a position and the indicator turns Red (>100%), consider taking profits as the statistical probability of further extension decreases.
Reversal Trading: Look for reversal patterns (like double tops/bottoms) when the price hits a key level AND the ADR is exhausted (>100%).
Trend Continuation: If the ADR is low (e.g., <50%), the market may still be in consolidation or has plenty of room to breakout.
Settings
ADR Length: Default is 14 (The industry standard for Volatility).
Position: Fixed to the Top-Right corner to keep your chart clean.
Note from the Author
This script is part of the TRADER FISH quantitative trading toolkit. It focuses on data visualization and minimalism.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Past volatility does not guarantee future price action. Indicator

Trade Setup CalculatorA precision trade planning tool designed to bridge the gap between PulseWire analysis and MT4 order execution. Simply drag three horizontal lines to your intended Entry, Stop Loss and Take Profit levels and the indicator handles all the calculation work for you.
What it does
Rather than trading at the exact levels you draw, the indicator automatically applies real-world adjustments — front running on the entry (so your limit order sits slightly ahead of the obvious level) and wiggle room on the stop loss (so you aren't stopped out by the last pip of a wick). The adjusted prices are displayed in large, easy-to-read labels directly on the chart so you can type them straight into MT4 without mental arithmetic.
Key features
Auto-detects Buy Limit or Sell Limit direction based on where you place your Stop Loss relative to Entry
Configurable front running pips on the entry (default 5 pips)
Configurable stop loss buffer pips (default 25 pips)
Risk to Reward ratio displayed and colour coded — green for 2R+, amber for 1R+, red for below 1R
Full position size calculation in Standard Lots, Mini Lots and Micro Lots based on your account balance, currency and risk percentage
Supports Forex majors, JPY pairs, Indices and other instruments via selectable pip definitions
Scalable panel — text size and cell padding adjustable for any screen resolution including 4K
Optional display of original unadjusted lines for reference
Panel can be repositioned to any corner of the chart
Inputs
All key values are configurable in the settings panel — account currency, account balance, risk %, pip value per lot, front running pips, stop loss wiggle room, decimal places and display preferences.
How to use
Add the indicator to your chart. When prompted, click to place three crosshairs at your Entry, Stop Loss and Take Profit levels. The adjusted levels, Risk:Reward and position size will populate immediately. Prices shown in the labels are your MT4 order inputs. Levels can be repositioned at any time via the indicator settings.
Shared on an invite-only basis. Please do not redistribute. Indicator
