[MAD] Self-Optimizing RSIOverview
This script evaluates multiple RSI lengths within a specified range, calculates performance metrics for each, and identifies the top 3 configurations based on a custom scoring system. It then plots the three best RSI curves and optionally displays a summary table and label.
How It Works
The script calculates a custom RSI for each length in the range.
It simulates entering a long position when RSI crosses below the Buy Value and exits when RSI crosses above the Sell Value.
Each trade's return is stored in the relevant StatsContainer.
Metrics Computation
After all bars have been processed,
* Net Profit,
* Sharpe Ratio, and
* Win Rate
are computed for each RSI length.
A weighted score is then derived using the input weights.
Top 3 Identification
The script finds the three RSI lengths with the highest scores.
The RSI lines for these top 3 lengths are plotted in different colors.
If enabled, a table listing the top 3 results (Rank, RSI length, Sharpe, NetPnL, Win Rate) is shown.
If enabled, a label with the highest-scoring RSI length and its score is placed on the final bar.
Usage Tips
Adjust Min RSI Length and Max RSI Length to explore a narrower or wider range of periods.
Be aware, to high settings will slow down the calculation.
Experiment with different RSI Buy Value and RSI Sell Value settings if you prefer more or fewer trade signals.
Confirm that Min Trades Required aligns with the desired confidence level for the computed metrics.
Modify Weight: Sharpe, Weight: NetProfit, and Weight: WinRate to reflect which metrics are most important.
Troubleshooting
If metrics remain - or NaN, confirm enough trades (Min Trades Required) have occurred.
If no top 3 lines appear, it could mean no valid trades were taken in the specified range, or the script lacks sufficient bars to calculate RSI for some lengths. In this case set better buyvalue and sellvalues in the inputs
Disclaimer
Past performance is not indicative of future results specialy as this indicator can repaint based on max candles in memory which are limited by your subscription
المؤشرات والاستراتيجيات
ADX and DI with HistogramThe "ADX and DI with Histogram" indicator is designed to help traders analyze market trends using the Average Directional Index (ADX) and Directional Indicators (DI+ and DI-). It provides a visual representation of trend strength and direction, along with a histogram to illustrate the difference between the DI+ and DI- values.
Features:
Inputs:
Length (len): Sets the period for the ADX and DI calculations (default: 14).
Threshold Level (th): Defines the ADX threshold for trend strength (default: 20).
Shape Color: Customizes the color of the shape markers plotted on the chart.
Shape Size: Adjusts the size of the shape markers (default: 10).
Shape Type: Selects the type of shape to display (Circle or Square).
Calculations:
Computes the True Range, Directional Movement (both plus and minus), and applies Exponential Moving Averages to these values to derive DI+ and DI-.
The ADX is calculated using the smoothed directional movement indicators.
Visual Outputs:
Plots DI+ (green line), DI- (red line), and ADX (navy line) on the main chart.
Includes a horizontal line representing the threshold level for easy trend assessment.
Displays a histogram that reflects the difference between DI+ and DI- with color coding to indicate directional strength (green for DI+ > DI- and red for DI+ < DI-).
Shape Markers:
When the ADX crosses above the specified threshold, a shape marker (Circle or Square) appears on the chart indicating a potential trend initiation.
Conversely, when the ADX crosses below the threshold, a shape marker is also plotted, signaling potential trend weakening.
Here is the description translated into Arabic:
---
مؤشر ADX و DI مع الهيستوجرام
نظرة عامة:
يُصمم مؤشر "ADX و DI مع الهيستوجرام" لمساعدة المتداولين في تحليل اتجاهات السوق باستخدام مؤشر الاتجاه المتوسط (ADX) ومؤشرات الاتجاه (DI+ و DI-). يوفر تمثيلًا بصريًا لقوة الاتجاه والاتجاه، بالإضافة إلى هيستوجرام لتوضيح الفرق بين قيم DI+ و DI-.
الميزات:
- **المدخلات:**
- **الطول (len):** يحدد الفترة لحسابات ADX و DI (افتراضي: 14).
- **مستوى العتبة (th):** يحدد عتبة ADX لقوة الاتجاه (افتراضي: 20).
- **لون الشكل:** يخصص لون علامات الشكل المرسومة على المخطط.
- **حجم الشكل:** يضبط حجم علامات الشكل (افتراضي: 10).
- **نوع الشكل:** يحدد نوع الشكل الذي يتم عرضه (دائرة أو مربع).
- **الحسابات:**
- يحسب النطاق الحقيقي، الحركة الاتجاهية (كلاهما زائد وناقص)، ويطبق المتوسطات المتحركة الأسية على هذه القيم للحصول على DI+ و DI-.
- يتم حساب ADX باستخدام مؤشرات الحركة الاتجاهية.
- **المخرجات :**
- يرسم DI+ (خط أخضر) و DI- (خط أحمر) و ADX (خط بحري) على المخطط الرئيسي.
- يتضمن خط أفقي يمثل مستوى العتبة لتقييم الاتجاه بسهولة.
- يعرض هيستوجرام يعكس الفرق بين DI+ و DI- مع ترميز لوني للإشارة إلى القوة الاتجاهية (أخضر عندما يكون DI+ أكبر من DI- وأحمر عندما يكون DI+ أقل من DI-).
- **علامات الشكل:**
- عندما يتجاوز ADX العتبة المحددة، تظهر علامة شكل (دائرة أو مربع) على المخطط تشير إلى احتمال بدء اتجاه جديد.
- على العكس، عندما يتجاوز ADX العتبة إلى الأسفل، يتم رسم علامة شكل أيضًا، مما يدل على احتمال ضعف الاتجاه.
### حالات الاستخدام:
هذا المؤشر مناسب للمتداولين الذين يتطلعون إلى تحديد الاتجاهات وتأكيدها، وتقييم قوة السوق، واتخاذ قرارات تداول مستنيرة بناءً على إشارات ADX و DI.
---
Prior Day High and Low RaysPrior Day High and Low Rays
This custom TradingView indicator projects rays from the prior day's high and low prices, helping you visualize key levels of support and resistance from the previous trading day. The rays extend to the right, continuing from the prior day's high and low throughout the current trading day.
Features:
Displays a ray starting at the prior day's high price.
Displays a ray starting at the prior day's low price.
Rays extend to the right and are only plotted for the immediate prior day.
Customizable ray color and width through the indicator settings.
Use Case:
Track important price levels from the previous day that can act as support or resistance.
Customize the appearance of the rays to match your chart's style and preferences.
This tool is designed for traders who want to incorporate prior day price action into their analysis and maintain a clean, customized chart display.
Session Bar/Candle ColoringChange the color of candles within a user-defined trading session. Borders and wicks can be changed as well, not just the body color.
PREFACE
This script can be used an educational resource for those who are interested in learning Pine Script. Therefore, the script is published open source and is organized in a manner that follows the recommended Style Guide .
While the main premise of the indicator is rather simple, the script showcases various things that can be achieved such as conditional plotting, alignment of indicator settings, user input validation, script optimization, and more. The script also has examples of taking into consideration the chart timeframe and/or different chart types (Heikin Ashi, Renko, etc.) that a user might be running it on. Note: for complete beginners, I strongly suggest going through the Pine Script User Manual (possibly more than once).
FEATURES
Besides being able to select a specific time window, the indicator also provides additional color settings for changing the background color or changing the colors of neutral/indecisive candles, as shown in the image below.
This allows for a higher level of customization beyond the TradingView chart settings or other similar scripts that are currently available.
HOW TO USE
First, define the intraday trading session that will contain the candles to modify. The session can be limited to specific days of the week.
Next, select the parts of the candles that should be modified: Body, Borders, Wick, and/or Background.
For each of the candle parts that were enabled, you can select the colors that will be used depending on whether a candle is bullish (⇧), bearish (⇩), or neutral (⇆).
All other indicator settings will have a detailed tooltip to describe its usage and/or effect.
LIMITATIONS
The indicator is not intended to function on Daily or higher timeframes due to the intraday nature of session time windows.
The indicator cannot always automatically detect the chart type being used, therefore the user is requested to manually input the chart type via the " Chart Style " setting.
Depending on the available historical data and the selected choice for the " Portion of bar in session " setting, the indicator may not be able to update very old candles on the chart.
EXAMPLE USAGE
This section will show examples of different scenarios that the indicator can be used for.
Emphasizing a main trading session.
Defining a "Pre/post market hours background" like is available for some symbols (e.g., NASDAQ:AAPL ).
Highlighting in which bar the midnight candle occurs.
Hiding indecision bars (neutral candles).
Showing only "Regular Trading Hours" for a chart that does not have the option to toggle ETH/RTH. To achieve this, the actual chart data is hidden, and only the indicator is visible; alternatively, a 2nd instance of the indicator could change colors to match the chart background.
Using a combination of Bars and Japanese Candlesticks. Alternatively, this could be done by hiding the main chart data and using 2 instances of the indicator (one with " Chart Style " setting as Bars , and the other set to Candles ).
Using a combination of thin and thick bars on Range charts. Note: requires disabling the "Thin Bars" setting for Bar charts in the TradingView chart settings.
NOTES
If using more than one instance of this indicator on the same chart, you can use the TradingView "Save Indicator Template" feature to avoid having to re-configure the multiple indicators at a later time.
This indicator is intended to work "out-of-the-box" thanks to the behind_chart option introduced to Pine Script in October 2024. But you can always manually bring the indicator to the front just in case the color changes are not being seen (using the "More" option in the indicator status line: More > Visual Order > Bring to front ).
Many thanks to fikira for their help and inspiring me to create open source scripts.
Any feedback including bug reports or suggestions for improving the indicator (or source code itself) are always welcome in the comments section.
Simple Trend Strength & MomentumThis indicator will show a combination of Trend Strength, Volatility using an Adaptive Moving Average (AMA), and Market Momentum.
You can use this indicator to identify trends, volatility, and momentum shifts in real-time, making it an excellent tool for both trend-following and breakout strategies.
The three main features of this indicator are:
Adaptive Moving Average (AMA): Tracks the trend direction with a dynamic smoothing factor that adjusts based on market volatility. The AMA line changes color based on trend strength (green for bullish, red for bearish). I manually compute the Adaptive Moving Average (AMA) using a smoothing factor derived from the market's efficiency ratio. I have used fastLength and slowLength to control the responsiveness of the AMA.
Volatility Bands: Plots upper and lower bands around the AMA line, indicating price volatility. These bands dynamically adjust based on ATR, with a color gradient that changes intensity based on market volatility.
Momentum Circles: Positive momentum (ROC above the threshold) is shown as a green circle below the bar, while negative momentum is marked by a red circle above the bar. This makes it easy to spot momentum shifts.
The green dots in the indicator represent positive momentum. Specifically, they are displayed when the Rate of Change (ROC) of the price exceeds a predefined threshold (set as threshold in the input). This indicates that the market is experiencing upward price movement at a rate faster than the defined threshold.
How it works:
Rate of Change (ROC) measures the percentage change in price over a specified period (in this case, 14 periods).
When the ROC is greater than the set threshold (1.5 by default), a green circle (dot) is plotted below the price bar to signal that there is significant positive momentum.
This can be seen as an indicator of bullish momentum, where price is increasing at a relatively fast pace compared to previous periods.
The green dots help you spot when the price is moving upward rapidly, potentially signaling a good time to enter a long position or watch for further price action.
NOTE: It is vice versa for red dots.
PDL By iofexPrevious day levels
A Previous Day Level Indicator is a trading tool designed to highlight the key levels from the previous trading session, such as the high, low, and close prices. These levels act as significant support and resistance points, helping traders make informed decisions. By analyzing these levels, traders can anticipate potential price reversals, breakouts, or continuations in the current trading session. This indicator is particularly useful for day traders and scalpers aiming to align their strategies with market trends.
STRX - Correlation DominationThis indicator displays the correlation among three selected assets (for example, Gold, Dollar Index, and Nasdaq) on a custom timeframe. A table positioned at the top-right corner of the chart lets you quickly see the correlation between:
Asset 1 vs Asset 2
Asset 1 vs Asset 3
Asset 2 vs Asset 3
Correlations are calculated using the Pearson correlation function (ta.correlation). If the correlation is greater than or equal to 0.4, the value appears in green (strong positive correlation). If it is less than or equal to -0.4, it appears in red (strong negative correlation). Otherwise, it is displayed in yellow (weak correlation).
Multi-asset and multi-timeframe: Compare up to three instruments at once on your chosen timeframe.
Customizable period: Use the “Correlation Period” setting to adjust the correlation calculation window.
Clear table format: The results are immediately visible in an easy-to-read table.
Disclaimer: This script is provided solely for educational and informational purposes. It does not constitute a recommendation or an invitation to invest. Use it as an additional resource and always conduct thorough market analysis before opening any trading positions. Past performance does not guarantee future results.
JJ Psychological Levels (125 Increments)Psychological Levels Indicator
Description:
The Psychological Levels Indicator is a versatile tool designed for traders to identify key price levels that often act as support or resistance zones in the market. These levels are plotted at regular intervals, customizable by the user, starting from a base price level. This is particularly useful for spotting psychological price points that traders and investors frequently monitor.
Key Features:
1.Dynamic Psychological Levels:
- The script calculates and displays horizontal lines at price levels separated by customizable increments (default: 125 points).
- These levels are dynamically adjusted to the visible range of the chart.
2. Customizable Inputs:
- Starting Level: Set the base level from which increments are calculated (e.g., 0 or 1000).
- Step Size: Define the interval between levels (e.g., 125 for indices like Bank NIFTY).
3. Visual Representation:
- Horizontal lines are drawn at each psychological level, helping traders quickly identify key zones.
- Labels are placed next to each level, displaying the corresponding price for easy reference.
4. Application Across Instruments:
- This indicator works seamlessly with various asset classes, including stocks, indices, forex, and cryptocurrencies.
How to Use:
1.Identify Key Price Zones:
- Use the plotted psychological levels to spot areas where price action is likely to react.
- Levels such as 1125, 1250, and 1375 (for a step size of 125) are visually highlighted.
2. Plan Trades Around Key Levels:
- These levels can act as support/resistance or breakout points, providing opportunities for entry, exit, and stop-loss placement.
3. Customizable Settings:
- Adjust the starting level and step size to tailor the indicator to your trading instrument or strategy.
Why Psychological Levels Matter:
Psychological levels are widely followed by traders and often coincide with key market turning points due to their significance in human behavior and market psychology. They are frequently used by institutional traders, making them valuable reference points for intraday and swing trading.
Custom Settings:
- **Starting Level:** Default: `0`
- **Step Size:** Default: `125`
Disclaimer:
This indicator is a technical analysis tool and is not intended to provide financial advice. Always combine it with other indicators and perform your due diligence before making trading decisions.
Enhanced Retail vs Institutional ActivityThis script highlights market activity in real-time, making it easier to infer the type of market participants driving price and volume changes.
Here’s a list of what the script analyzes:
Volume:
Current volume of the candle.
Moving average of volume over a specified number of periods.
Volume spikes: Current volume compared to a threshold multiple of the moving average.
Price Movement:
Percentage change in price between the current and previous candle.
Identifies significant price changes based on a user-defined threshold.
Institutional Activity:
High volume spikes combined with significant price movements.
Retail Activity:
Periods without volume spikes or significant price changes.
VWAP (Volume-Weighted Average Price):
The average traded price over a specified lookback period, weighted by volume, used as a benchmark.
Market Context Visualization:
Background colors to differentiate institutional (red) and retail (green) activity.
Overlays for:
-Volume bars.
-Average volume line.
-VWAP line.
In summary:
Red = Institutional activity: High volume + significant price change.
Green = Retail activity: Low volume or insignificant price change.
---------------------------------------------------------------------------------------------------------------------
Analysis Explanation:
I’m forecasting that Bitcoin will retest its November 12th low (~$85,098.75) around January 20th, 2025, where the horizontal support line intersects with the downtrend line. This conclusion is based on the following:
Trend Analysis:
The chart shows a clear downtrend with price respecting the descending trendline.
The intersection of the horizontal support and the downtrend line on January 20th indicates a confluence point where price action may gravitate.
Volume and Activity Insights:
Using the Retail vs Institutional Activity indicator, the chart highlights periods dominated by institutional (red background) or retail (green background) activity.
Current price action is in a green zone, suggesting predominantly retail participation with lower volume and insignificant price movements.
Retail vs Institutional Dynamics:
Institutional activity (red zones) aligns with significant price movements and volume spikes, often marking key turning points or trends.
The recent green retail-dominated periods suggest a lack of strong momentum, which may lead to continued price decline until institutions re-enter around the confluence area.
Volume Observations:
Volume remains relatively low during the current retail phase, indicating weak buying pressure.
A potential surge in institutional activity (red zones) near the support level could trigger a rebound or breakdown.
I expect Bitcoin’s price to drop further and test the November 12th low near $85,098.75 on January 20th, 2025. This projection is supported by the convergence of the downtrend line and horizontal support, low retail-driven volume, and historical institutional activity patterns observed using the "Retail vs Institutional Activity" indicator.
Elephant Bars
**Elephant Bars Indicator**
This indicator identifies and highlights candlesticks that are significantly larger than the recent average candlestick size. It helps traders quickly spot strong price movements.
- **Percentage Threshold:** The candlestick must be this much larger than the average of the last 5 candles (default is 50%).
- **Body Percentage Threshold:** The candle body must be at least this percentage of the total candle size (default is 80%).
- **Border Color:** Sets the color of the highlighted candle's border.
- **Border Thickness:** Sets the thickness of the border around the highlighted candle.
**How It Works:**
1. The script calculates the size of the current candlestick and its body.
2. It computes the average size of the last 5 candlesticks.
3. The indicator highlights candles that are both significantly larger than the average size and have a body that is a substantial portion of the total candle size.
This indicator is particularly useful for identifying potential breakout or reversal points, as large candlesticks often signify strong market sentiment.
Feel free to tweak the description to better fit your needs! 🚀
Annual Performance Table with Average PeformanceAn indicator that displays annual performance in a table format, providing a quick overview of yearly returns with historical context.
It calculates the performance based on the first and last monthly close prices of each year. It displays returns chronologically from left to right, concluding with an average performance column.
Features :
Works exclusively on monthly timeframes
Customizable number of years to display (1-50 years)
Shows year-by-year performance percentages
Color-coded returns (green for positive, red for negative)
Includes average performance across displayed years
Semi-transparent overlay design for better chart visibility
Performance calculation method:
Performance = ((December Close - January Close) / January Close) × 100%
Usage :
Apply to any chart on monthly timeframe
Adjust the "Number of Years to Display" parameter as needed
Table appears as an overlay with years, individual performances, and average
Note: The indicator will display an error message if applied to any timeframe other than monthly.
The Curved Market Structure [BigBeluga]Curved Market Structure
The Curved Market Structure indicator offers an innovative twist on traditional market structure tools by using curved lines instead of horizontal ones, enabling faster breakout detection for traders.
🔵Key Features:
Curved Market Structure Levels: The indicator identifies high and low pivots and plots curved lines connecting these points, adapting to market dynamics and providing a more intuitive view of potential breakout zones.
Breakout Detection: Breakouts above or below the curved levels are marked with triangle symbols (▲ or ▼), making it easy to spot critical price movements.
Dynamic Target Levels: After a breakout, the indicator plots three target levels, which serve as potential price objectives. Each target is marked with a number and a star (e.g., 1★) upon being reached.
Customizable Line Length and Angle: Users can adjust the length and angle of the curved lines to fit their trading style and timeframe, making the tool versatile and adaptable.
Market Structure Trend Filtering: To maintain a clean chart, the indicator plots curved levels only from high pivots during uptrends and low pivots during downtrends.
🔵How It Works:
The indicator identifies high and low pivots using user-defined parameters (left and right bars).
Curved lines are drawn from these pivot points, showing the structure of the market and potential breakout zones.
When a breakout occurs, the indicator highlights the direction with triangle symbols and dynamically plots three price targets.
Upon reaching these targets, the level is marked with its respective number and a star, helping traders track price progression effectively.
The lines and targets are adjusted based on market conditions, ensuring real-time relevance and accuracy.
🔵Use Cases:
Spotting key breakout zones to identify entry and exit points more effectively.
Setting dynamic target levels for take-profit or stop-loss planning.
Filtering market noise and maintaining a cleaner chart while analyzing trends.
Enhancing traditional market structure analysis with an intuitive curved visualization.
This indicator is ideal for traders who want a modern, dynamic, and visually appealing way to track market structure and breakouts while maintaining chart clarity.
Ultra Disparity IndexGain insights into price movements across multiple timeframes with the Ultra Disparity Index . This indicator highlights overbought/oversold levels based on price disparities from moving averages.
Introduction
The Ultra Disparity Index is designed for traders who seek a deeper understanding of price movements and trends across various timeframes. By analyzing the disparity between the current price and its moving averages, the indicator helps identify overbought and oversold conditions.
Detailed Description
The indicator works by calculating the percentage difference between the current price and its moving averages over four user-defined lengths. It operates on multiple timeframes monthly, weekly, daily, 4-hour, and 1-hour giving traders a comprehensive view of market dynamics.
.........
Disparity Calculation
The indicator computes how far the current price is from moving averages to reveal the degree of disparity.
.....
Overbought/Oversold Zones
By normalizing disparities into percentages relative to the overbought/oversold range, the indicator represents overbought (100%) and oversold (-100%).
.....
Timeframe Flexibility
The user can visualize data from monthly to hourly intervals, ensuring adaptability to different trading strategies.
.....
Customizable Inputs
Users can configure moving average lengths and toggle visibility for specific timeframes and levels.
.........
Summary
The indicator uses simple moving averages (SMAs) as a benchmark for calculating disparity. This disparity is then analyzed using statistical tools, such as standard deviation, to derive meaningful levels. Finally, the results are visualized in a table, providing traders with an easy-to-read summary of disparity values and their respective normalized percentages.
Customizable MTF Multiple Moving AveragesTitle:
Customizable Multiple Moving Averages with Dynamic Colors
Description:
This script allows you to calculate up to three customizable moving averages, offering the flexibility to choose from multiple moving average types:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
SMMA (Smoothed Moving Average)
Key Features:
Separate Timeframe for Each Moving Average:
Each moving average can be calculated on a different timeframe. For instance, you can display a 1D moving average while working on a 4H chart.
Dynamic Colors:
Moving averages dynamically change color based on their trend:
Uptrend Color: When the moving average is increasing compared to the previous bar of its timeframe.
Downtrend Color: When the moving average is decreasing.
Full Customization:
Length: Adjust the period for each moving average.
Source: Choose any price data source (e.g., close, open, high, low).
Colors: Set custom colors for uptrend and downtrend behavior.
Perfect For:
Multi-Timeframe Trend Analysis:
Observe trends from higher timeframes without switching your current chart.
Crossover Strategies:
Combine multiple moving averages to identify entry and exit signals.
How to Use:
Load the Script: Apply it to your chart.
Configure Inputs: Adjust each moving average's settings from the input panel.
Analyze Trends: Visualize dynamic trend movements with easy-to-identify colors.
Example Configuration:
Set MA1 to a 50-period EMA on a 4H timeframe.
Set MA2 to a 100-period SMMA on a 1D timeframe.
Set MA3 to a 200-period VWMA on a 1W timeframe.
ENIGMA Signals with Retests Select higher Time FrameENIGMA Signals with Retests – Script Description
The "ENIGMA Signals with Retests" script is a unique indicator designed for traders who prefer precision trading based on price action retests of key levels derived from higher timeframes. This tool is ideal for those employing multi-timeframe analysis strategies, helping them detect high-probability trade entries when the price interacts with significant support and resistance levels.
What Does This Script Do?
This indicator identifies key levels from a higher timeframe selected by the user (e.g., 4-hour or daily), then tracks price action on lower timeframes to provide actionable buy and sell signals when the price retests these levels. It visually plots the key levels on the chart and triggers alerts for potential trade opportunities when conditions are met.
How It Works
Key Level Detection:
The script uses custom functions to detect recent swing highs and swing lows on the selected higher timeframe (such as 4H or Daily). These levels represent potential areas of support and resistance where price reactions are likely to occur.
Multi-Timeframe Analysis:
The indicator leverages the request.security() function to retrieve price data from the user-defined higher timeframe and plots horizontal lines on the chart for the most recent swing highs and lows.
Retest-Based Signals:
Once the key levels are plotted, the script continuously monitors the price on the lower timeframe:
A Buy Signal is triggered when the price closes below a key high level and then moves back above it, indicating a potential bullish retest.
A Sell Signal is triggered when the price closes above a key low level and then moves back below it, indicating a potential bearish retest.
These retest signals are displayed as green and red arrows on the chart, helping traders identify optimal entry points.
Alerts for Retests:
The script includes built-in alert conditions that notify traders when a valid retest signal occurs. This allows traders to react promptly without constantly monitoring the chart.
How to Use the Script
Select Your Key Timeframe:
From the input settings, choose a higher timeframe that suits your trading style (e.g., 4H for intraday trading or Daily for swing trading).
Adjust Visual Preferences:
Customize the line style (solid, dashed, or dotted) and length of the plotted levels.
Toggle labels for the levels on or off as per your preference.
Trade Execution:
Once a retest signal appears on the lower timeframe, consider entering a trade in the direction of the signal. The buy signal suggests a potential long entry, while the sell signal indicates a potential short entry.
Set Alerts:
Use the alert conditions provided to get notified whenever a valid retest occurs. This helps in reducing screen time and improving trading efficiency.
Underlying Concepts
This script is grounded in the principles of support and resistance, retests, and breakout trading. By focusing on multi-timeframe key levels, it aligns with widely used trading concepts like:
Breakout and Retest: Entering trades after a confirmed breakout and successful retest of a significant level.
Swing Highs and Lows: Recognizing swing points to identify strong price reaction zones.
Multi-Timeframe Confluence: Enhancing trade probability by ensuring that the signals on lower timeframes correspond with key levels from higher timeframes.
Why This Script Is Unique
Unlike many generic trend-following or scalping indicators, "ENIGMA Signals with Retests" offers:
Precision Signals: It only provides signals when specific retest conditions are met, reducing false signals and noise.
Multi-Timeframe Customization: Users can tailor the higher timeframe to their strategy, making it versatile for various trading styles.
Alert Functionality: Alerts are integrated, allowing traders to stay updated without constantly monitoring the charts.
This script is perfect for traders looking for a systematic way to trade retests of key levels across multiple timeframes. Whether you're a scalper, day trader, or swing trader, "ENIGMA Signals with Retests" can help improve your precision and timing in the market.
EBL - Enigma BOS Logic Select Higher Time FrameThe "EBL – Enigma BOS Logic" is a unique multi-timeframe trading indicator designed for traders who rely on structured price action and key level retests to find high-probability trade opportunities. This indicator automates the identification of significant price levels on a higher timeframe, plots them across all lower timeframes, and provides actionable signals (buy/sell) when price retests those levels. It is ideal for traders who focus on lower timeframes for precise entries while using higher timeframe structure for trend confirmation.
How the Indicator Works
Key Level Detection:
The indicator allows the user to select a key level timeframe (e.g., 1H, 4H, Daily, Weekly). It then identifies Break of Structure (BOS) levels on the selected timeframe.
When a bullish-to-bearish or bearish-to-bullish reversal is detected on the selected timeframe, the corresponding high or low of the reversal candle is stored as a key level.
These key levels are plotted as horizontal lines on all lower timeframes, helping the trader visualize critical support and resistance zones across multiple timeframes.
Retest Confirmation:
Once a key level is established, the indicator continuously monitors the price action on lower timeframes.
If the price touches or crosses a key level, it is considered a retest, and an alert is generated.
The indicator plots a retest marker (customizable as a circle or diamond) at the exact price level where the retest occurred, providing a clear visual cue for the trader.
Trading Signals:
When a retest is detected, a table is displayed on the chart with the following information:
The trading pair.
The signal direction (Buy/Sell).
The price at which the retest occurred.
This table gives traders instant insight into actionable opportunities, making it easier to focus on live market conditions without missing critical retests.
Key Features
Multi-Timeframe Analysis: The indicator focuses on a higher timeframe selected by the user, ensuring that only the most relevant key levels are plotted for lower timeframe trading.
Dynamic Retest Signals: It dynamically identifies when price retests a key level and provides both visual markers and real-time alerts.
Customizable Retest Markers: Users can customize the retest marker's shape (circle/diamond) and color to suit their preferences.
Signal Table: A built-in table displays clear buy or sell signals when retests occur, ensuring that traders have all the necessary information at a glance.
Alerts: The indicator supports real-time alerts for retests, helping traders stay informed even when they are not actively monitoring the chart.
How to Use the Indicator
Select a Key Level Timeframe:
In the input settings, choose a higher timeframe (e.g., 4H or Daily) to define key levels.
The indicator will calculate Break of Structure (BOS) levels on the selected timeframe and plot them as horizontal lines across all lower timeframes.
Monitor Lower Timeframes for Retests:
Switch to a lower timeframe (e.g., 15m, 5m) to wait for price to approach the key levels plotted by the indicator.
When a retest occurs, observe the signal table and retest marker for actionable trade signals.
Act on Buy/Sell Signals:
Use the information provided by the signal table to make trading decisions.
For a buy signal, wait for bullish confirmation (e.g., price holding above the retested level).
For a sell signal, wait for bearish confirmation (e.g., price holding below the retested level).
Trading Concepts and Underlying Logic
The indicator is based on the Break of Structure (BOS) concept, a core principle in price action trading. BOS levels represent points where the market shifts its trend direction, making them critical zones for potential reversals or continuations.
By focusing on higher timeframe BOS levels, the indicator helps traders align their lower timeframe entries with the overall market trend.
The concept of retests is used to confirm the validity of a key level. A retest occurs when the price returns to a previously identified BOS level, offering a high-probability entry point.
Use Cases
Scalping: Traders who prefer lower timeframe scalping can use the indicator to align their trades with higher timeframe key levels, increasing the likelihood of successful trades.
Swing Trading: Swing traders can use the indicator to identify key reversal zones on higher timeframes and plan their trades accordingly.
Intraday Trading: Intraday traders can benefit from the real-time alerts and signals generated by the indicator, ensuring they never miss critical retests during active trading hours.
Conclusion
The "EBL – Enigma BOS Logic" is a powerful tool for traders who want to enhance their price action trading by focusing on key levels and retests across multiple timeframes. By automating the identification of BOS levels and providing clear retest signals, it helps traders make more informed and confident trading decisions. Whether you are a scalper, intraday trader, or swing trader, this indicator offers valuable insights to improve your trading performance.
Daily Asian RangeDaily Asian Range Indicator
This indicator is an enhanced version inspired by @toodegrees' "ICT Friday's Asian Range" indicator. While maintaining the core concepts, this version expands functionality for daily analysis and adds comprehensive customization options.
### Overview
The Asian Range indicator identifies and visualizes potential liquidity areas based on price action during the Asian session (8:00 PM - 12:00 AM ET). It plots both body and wick ranges along with multiple standard deviation levels that can serve as potential price targets or areas of interest.
### Features
- Flexible Display Options
- Choose between Body, Wick, or Both for range boxes and deviation lines
- Customizable colors, styles, and borders for all visual elements
- Historical sessions display (0-20 previous sessions)
- Advanced Standard Deviation Levels
- Multiple deviation multipliers (1.0, 1.5, 2.0, 2.3, 3.5)
- Separate visualization for body and wick-based deviations
- Clear labeling system for easy identification
- Precise Time Management
- Asian session: 8:00 PM - 12:00 AM ET
- Deviation lines extend through the following trading day
- Proper timezone handling for accuracy
### Usage
- Works on timeframes from 1 to 15 minutes
- Use the range boxes to identify key price levels from the Asian session
- Standard deviation levels can serve as potential targets or areas of interest
- Combine with other indicators for enhanced analysis
### Credits
Original concept and base implementation by @toodegrees
Enhanced and expanded by @Omarqqq
### Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and use proper risk management.
Comprehensive RSI, MACD & Stochastic Table
RSI, MACD, and Stochastic Multi-Asset Indicator for TradingView
Introduction
The RSI, MACD, and Stochastic Multi-Asset Indicator is a comprehensive tool designed for traders who want to analyze multiple assets simultaneously while utilizing some of the most popular technical indicators. This indicator is tailored for all market types—whether you're trading cryptocurrencies, stocks, forex, or commodities—and provides a consolidated dashboard for faster and more informed decision-making.
This tool combines Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and Stochastic Oscillator, three of the most effective momentum and trend-following indicators. It provides a visual, color-coded table for quick insights and alerts for significant buy or sell opportunities.
---
What Does This Indicator Do?
This indicator performs the following key functions:
1. Multi-Asset Analysis: Analyze two assets side by side, allowing you to monitor their momentum, trends, and overbought/oversold conditions simultaneously.
2. Combines Three Powerful Indicators:
RSI: Tracks market momentum and identifies overbought/oversold zones.
MACD: Highlights trend direction and momentum shifts.
Stochastic Oscillator: Provides insights into overbought/oversold zones with smoothing for better accuracy.
3. Color-Coded Dashboard: Displays all indicator values in an easy-to-read table with color coding for quick identification of market conditions.
4. Real-Time Alerts: Generates alerts when strong bullish or bearish conditions are met across multiple indicators.
---
Key Features
1. Customizable Inputs
You can adjust RSI periods, MACD parameters, Stochastic settings, and timeframes to suit your trading style.
Analyze default or custom assets (e.g., BTC/USDT, ETH/USDT).
2. Multi-Timeframe Support
Use this indicator on any timeframe (e.g., 1-minute, 1-hour, daily) to suit your trading strategy.
3. Comprehensive Dashboard
Displays values for RSI, MACD, and Stochastic for two assets in one clean, compact table.
Automatically highlights overbought (red), oversold (green), and neutral (gray) conditions.
4. Buy/Sell Signals
Plots buy/sell signals on the chart when all indicators align in strong bullish or bearish zones.
Example:
Strong Buy: RSI above 50, Stochastic %K above 80, and MACD histogram positive.
Strong Sell: RSI below 50, Stochastic %K below 20, and MACD histogram negative.
5. Real-Time Alerts
Alerts notify you when a strong buy or sell condition is detected, so you don't miss critical trading opportunities.
---
Who Is This Indicator For?
This indicator is perfect for:
Day Traders who need real-time insights across multiple assets.
Swing Traders who want to identify mid-term trends and momentum shifts.
Crypto, Stock, and Forex Traders looking for a consolidated tool that works across all asset classes.
---
How It Works
1. RSI (Relative Strength Index):
Tracks momentum by measuring the speed and change of price movements.
Overbought: RSI > 70 (Red).
Oversold: RSI < 30 (Green).
2. MACD (Moving Average Convergence Divergence):
Combines two exponential moving averages (EMA) to track momentum and trend direction.
Positive Histogram: Bullish momentum.
Negative Histogram: Bearish momentum.
3. Stochastic Oscillator:
Tracks price relative to its high-low range over a specific period.
Overbought: %K > 80.
Oversold: %K < 20.
4. Table View:
Displays indicator values for both assets in an intuitive table format.
Highlights critical zones with color coding.
5. Alerts:
Alerts are triggered when:
RSI, MACD, and Stochastic align in strong bullish or bearish conditions.
These conditions are based on customizable thresholds.
---
How to Use the Indicator
1. Add the Indicator to Your Chart:
After publishing, search for the indicator by its name in TradingView's Indicators tab.
2. Customize Inputs:
Adjust settings for RSI periods, MACD parameters, and Stochastic smoothing to suit your strategy.
3. Interpret the Table:
Check the table for highlighted zones (red for overbought, green for oversold).
Look for bullish or bearish signals in the "Signal" column.
4. Act on Alerts:
Use the real-time alerts to take action when strong conditions are met.
---
Example Use Cases
1. Crypto Day Trading:
Monitor BTC/USDT and ETH/USDT simultaneously for strong bullish or bearish conditions.
Receive alerts when RSI, MACD, and Stochastic align for a potential reversal.
2. Swing Trading Stocks:
Track a stock (e.g., AAPL) and its sector ETF (e.g., QQQ) to find momentum-based opportunities.
3. Forex Scalping:
Identify overbought/oversold conditions across multiple currency pairs.
---
Conclusion
The RSI, MACD, and Stochastic Multi-Asset Indicator simplifies your trading workflow by consolidating multiple technical indicators into one powerful tool. With real-time insights, color-coded visuals, and customizable alerts, this indicator is designed to help you stay ahead in any market.
Whether you're a beginner or an experienced trader, this indicator provides everything you need to make confident trading decisions. Add it to your TradingView chart today and take your analysis to the next level!
---
Make sure to leave your feedback and suggestions so I can continue improving the tool for the community. Happy trading!
Dynamic RSI Table (Periods & Timeframe)Introduction
Relative Strength Index (RSI) is one of the most widely used indicators in technical analysis, offering traders insights into market momentum and potential overbought or oversold conditions. While RSI is commonly applied as a single line on a chart, analyzing multiple RSI periods simultaneously can provide deeper insights. In this article, we'll explore how to create and use dynamic RSI tables in TradingView, allowing traders to monitor multiple timeframes and periods in one organized view.
---
What Is RSI?
RSI is an oscillator that measures the speed and change of price movements over a specific period, providing values between 0 and 100. The standard interpretation includes:
Overbought Zone (>70): Indicates that the asset might be overvalued and due for a correction or reversal.
Oversold Zone (<30): Suggests that the asset could be undervalued and may rebound upward.
However, relying on a single RSI period or timeframe might not capture the full picture. This is where RSI tables come into play.
---
Why Use RSI Tables?
Using an RSI table in TradingView enables traders to:
1. Track Multiple Periods: Monitor RSI values for short, medium, and long-term periods simultaneously.
2. Analyze Different Timeframes: Evaluate RSI data across multiple timeframes (e.g., 1-hour, 4-hour, daily).
3. Simplify Decision-Making: Visualize overbought and oversold conditions in a clean, color-coded table.
4. Receive Alerts: Automate notifications for extreme conditions across all selected periods.
Lead-Lag Market Detector [CryptoSea]The Lead-Lag Market Detector is an advanced tool designed to help traders identify leading and lagging assets within a chosen market. This indicator leverages correlation analysis to rank assets based on their influence, making it ideal for traders seeking to optimise their portfolio or spot key market trends.
Key Features
Dynamic Asset Ranking: Utilises real-time correlation calculations to rank assets by their influence on the market, helping traders identify market leaders and laggers.
Customisable Parameters: Includes adjustable lookback periods and correlation thresholds to adapt the analysis to different market conditions and trading styles.
Comprehensive Asset Coverage: Supports up to 30 assets, offering broad market insights across cryptocurrencies, stocks, or other markets.
Gradient-Enhanced Table Display: Presents results in a colour-coded table, where assets are ranked dynamically with influence scores, aiding in quick visual analysis.
In the example below, the ranking highlights how assets tend to move in groups. For instance, BTCUSDT, ETHUSDT, BNBUSDT, SOLUSDT, and LTCUSDT are highly correlated and moving together as a group. Similarly, another group of correlated assets includes XRPUSDT, FILUSDT, APEUSDT, XTZUSDT, THETAUSDT, and CAKEUSDT. This grouping of assets provides valuable insights for traders to diversify or spread exposure.
If you believe one asset in a group is likely to perform well, you can spread your exposure into other correlated assets within the same group to capitalise on their collective movement. Additionally, assets like AVAXUSDT and ZECUSDT, which appear less correlated or uncorrelated with the rest, may offer opportunities to act as potential hedges in your trading strategy.
How it Works
Correlation-Based Scoring: Calculates pairwise correlations between assets over a user-defined lookback period, identifying assets with high influence scores as market leaders.
Customisable Thresholds: Allows traders to define a correlation threshold, ensuring the analysis focuses only on significant relationships between assets.
Dynamic Score Calculation: Scores are updated dynamically based on the timeframe and input settings, providing real-time insights into market behaviour.
Colour-Enhanced Results: The table display uses gradients to visually distinguish between leading and lagging assets, simplifying data interpretation.
Application
Portfolio Optimisation: Identifies influential assets to help traders allocate their portfolio effectively and reduce exposure to lagging assets.
Market Trend Identification: Highlights leading assets that may signal broader market trends, aiding in strategic decision-making.
Customised Trading Strategies: Adapts to various trading styles through extensive input settings, ensuring the analysis meets the specific needs of each trader.
The Lead-Lag Market Detector by is an essential tool for traders aiming to uncover market leaders and laggers, navigate complex market dynamics, and optimise their trading strategies with precision and insight.
Multi-Timeframe Volatility ATR - [by Oberlunar]This script (for now in beta release) is specifically designed for scalping or traders operating on lower timeframes (if you are in a timeframe of one minute wait one minute to collect statistics). Its primary purpose is to provide detailed insights into market volatility by calculating the ATR (Average True Range) and its percentage changes, allowing traders to quickly identify shifts in market conditions.
The ATR is calculated across six user-defined timeframes, which can include very short intervals such as 5 or 15 seconds. This setup enables real-time monitoring of volatility, which is critical for scalping strategies. The script collects a rolling history of the last five ATR values for each timeframe. These historical values are used to calculate percentage changes by comparing the current ATR with the oldest value in the history, offering a clear view of how volatility is evolving over time.
Percentage changes are displayed dynamically in a table, with color-coded feedback to indicate the direction of the change: green for increases, red for decreases, and gray for stability or insufficient data. This visual representation makes it easy to spot whether market volatility is rising or falling at a glance.
By progressively collecting data, the script becomes increasingly effective as more ATR values are accumulated. This functionality is especially useful for traders on lower timeframes, where rapid changes in volatility can signal breakout opportunities or shifts in market dynamics.
Soon I will update personalized ATR parameters, and lookback strategies for statistics.
Choppiness Index (levels)This Pine Script is a Choppiness Index Indicator with gradient visual enhancements. The Choppiness Index is a technical analysis tool that measures the "choppiness" or sideways movement of the market. It ranges from 0 to 100, where higher values indicate a more consolidated or sideways market, and lower values suggest a trending market.
Key Features:
Choppiness Index Calculation:
The script calculates the Choppiness Index based on the Average True Range (ATR) and the highest and lowest prices over a user-defined period (length).
Visual Bands:
Horizontal dashed lines are drawn at levels 55 (Upper Band), 50 (Middle Band), and 45 (Lower Band) to define key levels for interpreting the indicator.
Gradient Fills:
A blue fill is applied between the upper and lower bands (45–55) for visual clarity.
Dynamic gradients are applied to the areas:
Above the Upper Band (55–100): A green gradient fill where the color intensity increases with higher values.
Below the Lower Band (0–45): A red gradient fill where the color intensity increases with lower values.
Offset Option:
The offset input allows users to shift the Choppiness Index plot horizontally for visualization or alignment purposes.
Usage:
This indicator helps traders quickly assess market conditions:
Values above 55 indicate a choppy, non-trending market.
Values below 45 indicate a trending market.
The gradient fills make it easier to spot extreme conditions visually.
Customization:
Users can adjust:
length: The calculation period for the Choppiness Index.
offset: Horizontal shift of the Choppiness Index plot.
The gradient colors (green and red) and transparency levels are customizable in the script.
This enhanced visualization is ideal for traders who want a clear and intuitive representation of market choppiness, combined with visually striking gradient fills for quick analysis of market conditions.
Uptrick: Fisher Eclipse1. Name and Purpose
Uptrick: Fisher Eclipse is a Pine version 6 extension of the basic Fisher Transform indicator that focuses on highlighting potential turning points in price data. Its purpose is to allow traders to spot shifts in momentum, detect divergence, and adapt signals to different market environments. By combining a core Fisher Transform with additional signal processing, divergence detection, and customizable aggressiveness settings, this script aims to help users see when a price move might be losing momentum or gaining strength.
2. Overview
This script uses a Fisher Transform calculation on the average of each bar’s high and low (hl2). The Fisher Transform is designed to amplify price extremes by mapping data into a different scale, making potential reversals more visible than they might be with standard oscillators. Uptrick: Fisher Eclipse takes this concept further by integrating a signal line, divergence detection, bar coloring for momentum intensity, and optional thresholds to reduce unwanted noise.
3. Why Use the Fisher Transform
The Fisher Transform is known for converting relatively smoothed price data into a more pronounced scale. This transformation highlights where markets may be overextended. In many cases, standard oscillators move gently, and traders can miss subtle hints that a reversal might be approaching. The Fisher Transform’s mathematical approach tightens the range of values and sharpens the highs and lows. This behavior can allow traders to see clearer peaks and troughs in momentum. Because it is often quite responsive, it can help anticipate areas where price might change direction, especially when compared to simpler moving averages or traditional oscillators. The result is a more evident signal of possible overbought or oversold conditions.
4. How This Extension Improves on the Basic Fisher Transform
Uptrick: Fisher Eclipse adds multiple features to the classic Fisher framework in order to address different trading styles and market behaviors:
a) Divergence Detection
The script can detect bullish or bearish divergences between price and the oscillator over a chosen lookback period, helping traders anticipate shifts in market direction.
b) Bar Coloring
When momentum exceeds a certain threshold (default 3), bars can be colored to highlight surges of buying or selling pressure. This quick visual reference can assist in spotting periods of heightened activity. After a bar color like this, usually, there is a quick correction as seen in the image below.
c) Signal Aggressiveness Levels
Users can choose between conservative, moderate, or aggressive signal thresholds. This allows them to tune how quickly the indicator flags potential entries or exits. Aggressive settings might suit scalpers who need rapid signals, while conservative settings may benefit swing traders preferring fewer, more robust indications.
d) Minimum Movement Filter
A configurable filter can be set to ensure that the Fisher line and its signal have a sufficient gap before triggering a buy or sell signal. This step is useful for traders seeking to minimize signals during choppy or sideways markets. This can be used to eliminate noise as well.
By combining all these elements into one package, the indicator attempts to offer a comprehensive toolkit for those who appreciate the Fisher Transform’s clarity but also desire more versatility.
5. Core Components
a) Fisher Transform
The script calculates a Fisher value using normalized price over a configurable length, highlighting potential peaks and troughs.
b) Signal Line
The Fisher line is smoothed using a short Simple Moving Average. Crossovers and crossunders are one of the key ways this indicator attempts to confirm momentum shifts.
c) Divergence Logic
The script looks back over a set number of bars to compare current highs and lows of both price and the Fisher oscillator. When price and the oscillator move in opposing directions, a divergence may occur, suggesting a possible upcoming reversal or weakening trend.
d) Thresholds for Overbought and Oversold
Horizontal lines are drawn at user-chosen overbought and oversold levels. These lines help traders see when momentum readings reach particular extremes, which can be especially relevant when combined with crossovers in that region.
e) Intensity Filter and Bar Coloring
If the magnitude of the change in the Fisher Transform meets or exceeds a specified threshold, bars are recolored. This provides a visual cue for significant momentum changes.
6. User Inputs
a) length
Defines how many bars the script looks back to compute the highest high and lowest low for the Fisher Transform. A smaller length reacts more quickly but can be noisier, while a larger length smooths out the indicator at the cost of responsiveness.
b) signal aggressiveness
Adjusts the buy and sell thresholds for conservative, moderate, and aggressive trading styles. This can be key in matching the indicator to personal risk preferences or varying market conditions. Conservative will give you less signals and aggressive will give you more signals.
c) minimum movement filter
Specifies how far apart the Fisher line and its signal line must be before generating a valid crossover signal.
d) divergence lookback
Controls how many bars are examined when determining if price and the oscillator are diverging. A larger setting might generate fewer signals, while a smaller one can provide more frequent alerts.
e) intensity threshold
Determines how large a change in the Fisher value must be for the indicator to recolor bars. Strong momentum surges become more noticeable.
f) overbought level and oversold level
Lets users define where they consider market conditions to be stretched on the upside or downside.
7. Calculation Process
a) Price Input
The script uses the midpoint of each bar’s high and low, sometimes referred to as hl2.
hl2 = (high + low) / 2
b) Range Normalization
Determine the maximum (maxHigh) and minimum (minLow) values over a user-defined lookback period (length).
Scale the hl2 value so it roughly fits between -1 and +1:
value = 2 * ((hl2 - minLow) / (maxHigh - minLow) - 0.5)
This step highlights the bar’s current position relative to its recent highs and lows.
c) Fisher Calculation
Convert the normalized value into the Fisher Transform:
fisher = 0.5 * ln( (1 + value) / (1 - value) ) + 0.5 * fisher_previous
fisher_previous is simply the Fisher value from the previous bar. Averaging half of the new transform with half of the old value smooths the result slightly and can prevent erratic jumps.
ln is the natural logarithm function, which compresses or expands values so that market turns often become more obvious.
d) Signal Smoothing
Once the Fisher value is computed, a short Simple Moving Average (SMA) is applied to produce a signal line. In code form, this often looks like:
signal = sma(fisher, 3)
Crossovers of the fisher line versus the signal line can be used to hint at changes in momentum:
• A crossover occurs when fisher moves from below to above the signal.
• A crossunder occurs when fisher moves from above to below the signal.
e) Threshold Checking
Users typically define oversold and overbought levels (often -1 and +1).
Depending on aggressiveness settings (conservative, moderate, aggressive), these thresholds are slightly shifted to filter out or include more signals.
For example, an oversold threshold of -1 might be used in a moderate setting, whereas -1.5 could be used in a conservative setting to require a deeper dip before triggering.
f) Divergence Checks
The script looks back a specified number of bars (divergenceLookback). For both price and the fisher line, it identifies:
• priceHigh = the highest hl2 within the lookback
• priceLow = the lowest hl2 within the lookback
• fisherHigh = the highest fisher value within the lookback
• fisherLow = the lowest fisher value within the lookback
If price forms a lower low while fisher forms a higher low, it can signal a bullish divergence. Conversely, if price forms a higher high while fisher forms a lower high, a bearish divergence might be indicated.
g) Bar Coloring
The script monitors the absolute change in Fisher values from one bar to the next (sometimes called fisherChange):
fisherChange = abs(fisher - fisher )
If fisherChange exceeds a user-defined intensityThreshold, bars are recolored to highlight a surge of momentum. Aqua might indicate a strong bullish surge, while purple might indicate a strong bearish surge.
This color-coding provides a quick visual cue for traders looking to spot large momentum swings without constantly monitoring indicator values.
8. Signal Generation and Filtering
Buy and sell signals occur when the Fisher line crosses the signal line in regions defined as oversold or overbought. The optional minimum movement filter prevents triggering if Fisher and its signal line are too close, reducing the chance of small, inconsequential price fluctuations creating frequent signals. Divergences that appear in oversold or overbought regions can serve as additional evidence that momentum might soon shift.
9. Visualization on the Chart
Uptrick: Fisher Eclipse plots two lines: the Fisher line in one color and the signal line in a contrasting shade. The chart displays horizontal dashed lines where the overbought and oversold levels lie. When the Fisher Transform experiences a sharp jump or drop above the intensity threshold, the corresponding price bars may change color, signaling that momentum has undergone a noticeable shift. If the indicator detects bullish or bearish divergence, dotted lines are drawn on the oscillator portion to connect the relevant points.
10. Market Adaptability
Because of the different aggressiveness levels and the optional minimum movement filter, Uptrick: Fisher Eclipse can be tailored to multiple trading styles. For instance, a short-term scalper might select a smaller length and more aggressive thresholds, while a swing trader might choose a longer length for smoother readings, along with conservative thresholds to ensure fewer but potentially stronger signals. During strongly trending markets, users might rely more on divergences or large intensity changes, whereas in a range-bound market, oversold or overbought conditions may be more frequent.
11. Risk Management Considerations
Indicators alone do not ensure favorable outcomes, and relying solely on any one signal can be risky. Using a stop-loss or other protections is often suggested, especially in fast-moving or unpredictable markets. Divergence can appear before a market reversal actually starts. Similarly, a Fisher Transform can remain in an overbought or oversold region for extended periods, especially if the trend is strong. Cautious interpretation and confirmation with additional methods or chart analysis can help refine entry and exit decisions.
12. Combining with Other Tools
Traders can potentially strengthen signals from Uptrick: Fisher Eclipse by checking them against other methods. If a moving average cross or a price pattern aligns with a Fisher crossover, the combined evidence might provide more certainty. Volume analysis may confirm whether a shift in market direction has participation from a broad set of traders. Support and resistance zones could reinforce overbought or oversold signals, particularly if price reaches a historical boundary at the same time the oscillator indicates a possible reversal.
13. Parameter Customization and Examples
Some short-term traders run a 15-minute chart, with a shorter length setting, aggressively tight oversold and overbought thresholds, and a smaller divergence lookback. This approach produces more frequent signals, which may appeal to those who enjoy fast-paced trading. More conservative traders might apply the indicator to a daily chart, using a larger length, moderate threshold levels, and a bigger divergence lookback to focus on broader market swings. Results can differ, so it may be helpful to conduct thorough historical testing to see which combination of parameters aligns best with specific goals.
14. Realistic Expectations
While the Fisher Transform can reveal potential turning points, no mathematical tool can predict future price behavior with full certainty. Markets can behave erratically, and a period of strong trending may see the oscillator pinned in an extreme zone without a significant reversal. Divergence signals sometimes appear well before an actual trend change occurs. Recognizing these limitations helps traders manage risk and avoids overreliance on any one aspect of the script’s output.
15. Theoretical Background
The Fisher Transform uses a logarithmic formula to map a normalized input, typically ranging between -1 and +1, into a scale that can fluctuate around values like -3 to +3. Because the transformation exaggerates higher and lower readings, it becomes easier to spot when the market might have stretched too far, too fast. Uptrick: Fisher Eclipse builds on that foundation by adding a series of practical tools that help confirm or refine those signals.
16. Originality and Uniqueness
Uptrick: Fisher Eclipse is not simply a duplicate of the basic Fisher Transform. It enhances the original design in several ways, including built-in divergence detection, bar-color triggers for momentum surges, thresholds for overbought and oversold levels, and customizable signal aggressiveness. By unifying these concepts, the script seeks to reduce noise and highlight meaningful shifts in market direction. It also places greater emphasis on helping traders adapt the indicator to their specific style—whether that involves frequent intraday signals or fewer, more robust alerts over longer timeframes.
17. Summary
Uptrick: Fisher Eclipse is an expanded take on the original Fisher Transform oscillator, including divergence detection, bar coloring based on momentum strength, and flexible signal thresholds. By adjusting parameters like length, aggressiveness, and intensity thresholds, traders can configure the script for day-trading, swing trading, or position trading. The indicator endeavors to highlight where price might be shifting direction, but it should still be combined with robust risk management and other analytical methods. Doing so can lead to a more comprehensive view of market conditions.
18. Disclaimer
No indicator or script can guarantee profitable outcomes in trading. Past performance does not necessarily suggest future results. Uptrick: Fisher Eclipse is provided for educational and informational purposes. Users should apply their own judgment and may want to confirm signals with other tools and methods. Deciding to open or close a position remains a personal choice based on each individual’s circumstances and risk tolerance.