OPEN-SOURCE SCRIPT
EdgeXplorer - Profit Bottoms

EdgeXplorer – Profit Bottoms
⸻
🔍 What This Indicator Does
Profit Bottoms is a custom momentum oscillator designed to reveal price strength inflections through correlation logic. It identifies potential market exhaustion zones, highlights overbought/oversold conditions, and visually marks swing tops and bottoms — helping traders pinpoint profit-taking opportunities or early reversals across any asset or timeframe.
It features a flexible histogram view, color-coded background trends, and precision labels for clearer insight into market sentiment momentum shifts.
⸻

⚙️ How It Works
At the core of this indicator is a correlation function:
• It measures how strongly the price (close) correlates with bar index progression over a lookback window — essentially evaluating how directional recent price action has been.
• This results in a “strength index” ranging between +1 (strong uptrend) and -1 (strong downtrend).
• It tracks the slope of this index to infer trend direction and visually represent shifts.
From there, the indicator layers on:
• Dynamic overbought/oversold zones (±0.9)
• Swing high/low detection based on local peaks and troughs
• Trend background shading based on momentum slope
• Optional histogram and fill display styles
⸻
📈 Visual Components Explained
Element Meaning
🔮 Pulse Strength Line (purple line) Primary oscillator showing strength of directional movement
🌈 Colored Fill Fills above/below baseline to represent bullish/bearish intensity
🟢 Green Background Slope of strength index is rising (trend gaining)
🔴 Red Background Slope of strength index is falling (trend weakening)
🔼 ↑ Label Price is entering extreme overbought territory
🔽 ↓ Label Price is entering extreme oversold territory
🟠 Circle Markers Swing Top (Teal) or Swing Bottom (Orange)
📊 Histogram / Line Style Alternate visualizations of the oscillator based on user preference
⸻
📊 Input Settings Explained
Setting Description
Window Size Lookback period for correlation calculation
Bull Fill / Bear Fill Gradient colors for up/down momentum
Mark Tops/Bottoms Enables visual detection of swing highs/lows
Highlight Overbought/Oversold Displays zone entry markers (↑/↓) near extremes
Show Pulse Histogram Adds either histogram or line view
Histogram Style Choose between histogram bars, a thin line, or hide the visual entirely
⸻

🧠 How to Interpret in Different Market Conditions
Condition Interpretation
Strength Index near +1 Strong upward correlation — trend likely maturing or overbought
Strength Index near -1 Strong downward correlation — trend possibly exhausted or oversold
Cross below 0 Momentum shift from bullish to bearish
Cross above 0 Momentum shift from bearish to bullish
Swing Top Detected Potential short-term exhaustion — profit zone for longs
Swing Bottom Detected Early reversal zone or buying opportunity
The colored background makes it easy to visually segment the chart by trend environment, while the swing markers and zone labels add precision entry/exit timing cues.
⸻
🧪 Use Cases & Strategy Tips
• Scalpers & intraday traders: Use swing tops/bottoms with zone labels for tight entries.
• Swing traders: Watch for strength fading as a warning sign to exit positions.
• Divergence Spotting: Compare price action to the oscillator for hidden signals.
• Momentum Riders: Use histogram mode with background coloring to stay in trend longer.
For example:
If you see a swing bottom occur just below the -0.9 zone, paired with a background color flip from red to green — that’s a high-probability setup for reversion or breakout.
⸻
🧷 Alerts Included
This indicator provides built-in alerts for key conditions:
• EPS+ Top Detected → Swing Top
• EPS+ Bottom Detected → Swing Bottom
• EPS+ Overbought Zone → Strength Index > 1
• EPS+ Oversold Zone → Strength Index < -1
These can be used in alert-based automation or simply for manual signal confirmation.
⸻
🔍 What This Indicator Does
Profit Bottoms is a custom momentum oscillator designed to reveal price strength inflections through correlation logic. It identifies potential market exhaustion zones, highlights overbought/oversold conditions, and visually marks swing tops and bottoms — helping traders pinpoint profit-taking opportunities or early reversals across any asset or timeframe.
It features a flexible histogram view, color-coded background trends, and precision labels for clearer insight into market sentiment momentum shifts.
⸻
⚙️ How It Works
At the core of this indicator is a correlation function:
• It measures how strongly the price (close) correlates with bar index progression over a lookback window — essentially evaluating how directional recent price action has been.
• This results in a “strength index” ranging between +1 (strong uptrend) and -1 (strong downtrend).
• It tracks the slope of this index to infer trend direction and visually represent shifts.
From there, the indicator layers on:
• Dynamic overbought/oversold zones (±0.9)
• Swing high/low detection based on local peaks and troughs
• Trend background shading based on momentum slope
• Optional histogram and fill display styles
⸻
📈 Visual Components Explained
Element Meaning
🔮 Pulse Strength Line (purple line) Primary oscillator showing strength of directional movement
🌈 Colored Fill Fills above/below baseline to represent bullish/bearish intensity
🟢 Green Background Slope of strength index is rising (trend gaining)
🔴 Red Background Slope of strength index is falling (trend weakening)
🔼 ↑ Label Price is entering extreme overbought territory
🔽 ↓ Label Price is entering extreme oversold territory
🟠 Circle Markers Swing Top (Teal) or Swing Bottom (Orange)
📊 Histogram / Line Style Alternate visualizations of the oscillator based on user preference
⸻
📊 Input Settings Explained
Setting Description
Window Size Lookback period for correlation calculation
Bull Fill / Bear Fill Gradient colors for up/down momentum
Mark Tops/Bottoms Enables visual detection of swing highs/lows
Highlight Overbought/Oversold Displays zone entry markers (↑/↓) near extremes
Show Pulse Histogram Adds either histogram or line view
Histogram Style Choose between histogram bars, a thin line, or hide the visual entirely
⸻
🧠 How to Interpret in Different Market Conditions
Condition Interpretation
Strength Index near +1 Strong upward correlation — trend likely maturing or overbought
Strength Index near -1 Strong downward correlation — trend possibly exhausted or oversold
Cross below 0 Momentum shift from bullish to bearish
Cross above 0 Momentum shift from bearish to bullish
Swing Top Detected Potential short-term exhaustion — profit zone for longs
Swing Bottom Detected Early reversal zone or buying opportunity
The colored background makes it easy to visually segment the chart by trend environment, while the swing markers and zone labels add precision entry/exit timing cues.
⸻
🧪 Use Cases & Strategy Tips
• Scalpers & intraday traders: Use swing tops/bottoms with zone labels for tight entries.
• Swing traders: Watch for strength fading as a warning sign to exit positions.
• Divergence Spotting: Compare price action to the oscillator for hidden signals.
• Momentum Riders: Use histogram mode with background coloring to stay in trend longer.
For example:
If you see a swing bottom occur just below the -0.9 zone, paired with a background color flip from red to green — that’s a high-probability setup for reversion or breakout.
⸻
🧷 Alerts Included
This indicator provides built-in alerts for key conditions:
• EPS+ Top Detected → Swing Top
• EPS+ Bottom Detected → Swing Bottom
• EPS+ Overbought Zone → Strength Index > 1
• EPS+ Oversold Zone → Strength Index < -1
These can be used in alert-based automation or simply for manual signal confirmation.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。