Golden/Death Cross HighlighterThis indicator helps you easily identify and visualize Golden Cross and Death Cross patterns combined with price action confirmation. It highlights chart backgrounds when specific conditions are met, making it easy to spot potential trend changes.
🔑 Key Features:
Highlights Golden Cross conditions (50 SMA crosses above 200 SMA) when price closes above both MAs
Highlights Death Cross conditions (50 SMA crosses below 200 SMA) when price closes below both MAs
Customizable MA lengths (default: 50 and 200)
Adjustable highlight opacity
Built-in alerts for cross events
Clear visualization of both moving averages
📈 Color Guide:
Yellow Background: Golden Cross active + price above both MAs
Red Background: Death Cross active + price below both MAs
⚙️ Settings:
Fast MA Length: Length of faster moving average (default 50)
Slow MA Length: Length of slower moving average (default 200)
Golden Cross Highlight Opacity: Adjust visibility of bullish highlights
Death Cross Highlight Opacity: Adjust visibility of bearish highlights
💡 Usage Tips:
Use in combination with other indicators for confirmation
Set up alerts for potential trend changes
Adjust opacity to match your chart style
Works best on higher timeframes (4H, Daily, Weekly)
移动平均线
Mean Reversion Pro Strategy [tradeviZion]Mean Reversion Pro Strategy : User Guide
A mean reversion trading strategy for daily timeframe trading.
Introduction
Mean Reversion Pro Strategy is a technical trading system that operates on the daily timeframe. The strategy uses a dual Simple Moving Average (SMA) system combined with price range analysis to identify potential trading opportunities. It can be used on major indices and other markets with sufficient liquidity.
The strategy includes:
Trading System
Fast SMA for entry/exit points (5, 10, 15, 20 periods)
Slow SMA for trend reference (100, 200 periods)
Price range analysis (20% threshold)
Position management rules
Visual Elements
Gradient color indicators
Three themes (Dark/Light/Custom)
ATR-based visuals
Signal zones
Status Table
Current position information
Basic performance metrics
Strategy parameters
Optional messages
📊 Strategy Settings
Main Settings
Trading Mode
Options: Long Only, Short Only, Both
Default: Long Only
Position Size: 10% of equity
Starting Capital: $20,000
Moving Averages
Fast SMA: 5, 10, 15, or 20 periods
Slow SMA: 100 or 200 periods
Default: Fast=5, Slow=100
🎯 Entry and Exit Rules
Long Entry Conditions
All conditions must be met:
Price below Fast SMA
Price below 20% of current bar's range
Price above Slow SMA
No existing position
Short Entry Conditions
All conditions must be met:
Price above Fast SMA
Price above 80% of current bar's range
Price below Slow SMA
No existing position
Exit Rules
Long Positions
Exit when price crosses above Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
Short Positions
Exit when price crosses below Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
💼 Risk Management
Position Sizing
Default: 10% of equity per trade
Initial capital: $20,000
Commission: 0.01%
Slippage: 2 points
Maximum one position at a time
Risk Control
Use daily timeframe only
Avoid trading during major news events
Consider market conditions
Monitor overall exposure
📊 Performance Dashboard
The strategy includes a comprehensive status table displaying:
Strategy Parameters
Current SMA settings
Trading direction
Fast/Slow SMA ratio
Current Status
Active position (Flat/Long/Short)
Current price with color coding
Position status indicators
Performance Metrics
Net Profit (USD and %)
Win Rate with color grading
Profit Factor with thresholds
Maximum Drawdown percentage
Average Trade value
📱 Alert Settings
Entry Alerts
Long Entry (Buy Signal)
Short Entry (Sell Signal)
Exit Alerts
Long Exit (Take Profit)
Short Exit (Take Profit)
Alert Message Format
Strategy name
Signal type and direction
Current price
Fast SMA value
Slow SMA value
💡 Usage Tips
Consider starting with Long Only mode
Begin with default settings
Keep track of your trades
Review results regularly
Adjust settings as needed
Follow your trading plan
⚠️ Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice. Always:
Conduct your own research
Test thoroughly before live trading
Use proper risk management
Consider your trading goals
Monitor market conditions
Never risk more than you can afford to lose
📋 Release Notes
14 January 2025
Added New Fast & Slow SMA Options:
Fibonacci-based periods: 8, 13, 21, 144, 233, 377
Additional period: 50
Complete Fast SMA options now: 5, 8, 10, 13, 15, 20, 21, 34, 50
Complete Slow SMA options now: 100, 144, 200, 233, 377
Bug Fixes:
Fixed Maximum Drawdown calculation in the performance table
Now using strategy.max_drawdown_percent for accurate DD reporting
Previous version showed incorrect DD values
Performance metrics now accurately reflect trading results
Performance Note:
Strategy tested with Fast/Slow SMA 13/377
Test conducted with 10% equity risk allocation
Daily Timeframe
For Beginners - How to Modify SMA Levels:
Find this line in the code:
fastLength = input.int(title="Fast SMA Length", defval=5, options= )
To add a new Fast SMA period: Add the number to the options list, e.g.,
To remove a Fast SMA period: Remove the number from the options list
For Slow SMA, find:
slowLength = input.int(title="Slow SMA Length", defval=100, options= )
Modify the options list the same way
⚠️ Note: Keep the periods that make sense for your trading timeframe
💡 Tip: Test any new combinations thoroughly before live trading
"Trade with Discipline, Manage Risk, Stay Consistent" - tradeviZion
MA RSI MACD Signal SuiteThis Pine Script™ is designed for use in Trading View and generates trading signals based on moving average (MA) crossovers, RSI (Relative Strength Index) signals, and MACD (Moving Average Convergence Divergence) indicators. It provides visual markers on the chart and can be configured to suit various trading strategies.
1. Indicator Overview
The indicator includes signals for:
Moving Averages (MA): It tracks crossovers between different types of moving averages.
RSI: Signals based on RSI crossing certain levels or its signal line.
MACD: Buy and sell signals generated by MACD crossovers.
2. Inputs and Customization
Moving Averages (MAs):
You can customize up to 6 moving averages with different types, lengths, and colors.
MA Type: Choose from different types of moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
HMA (Hull Moving Average)
SMMA (RMA) (Smoothed Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
T3, DEMA, TEMA
Source: Select the price to base the MA on (e.g., close, open, high, low).
Length: Define the number of periods for each moving average.
Examples:
MA1: Exponential Moving Average (EMA) with a period of 9
MA2: Exponential Moving Average (EMA) with a period of 21
RSI Settings:
RSI is calculated based on a user-defined period and is used to identify potential overbought or oversold conditions.
RSI Length: Lookback period for RSI (default 14).
Overbought Level: Defines the overbought threshold for RSI (default 70).
Oversold Level: Defines the oversold threshold for RSI (default 30).
You can also adjust the smoothing for the RSI signal line and customize when to trigger buy and sell signals based on the RSI crossing these levels.
MACD Settings:
MACD is used for identifying changes in momentum and trends.
Fast Length: The period for the fast moving average (default 12).
Slow Length: The period for the slow moving average (default 26).
Signal Length: The period for the signal line (default 9).
Smoothing Method: Choose between SMA or EMA for both the MACD and the signal line.
3. Signal Logic
Moving Average (MA) Crossover Signals:
Crossover: A bullish signal is generated when a fast MA crosses above a slow MA.
Crossunder: A bearish signal is generated when a fast MA crosses below a slow MA.
The crossovers are plotted with distinct colors, and the chart will display markers for these crossover events.
RSI Signals:
Oversold Crossover: A bullish signal when RSI crosses over its signal line below the oversold level (30).
Overbought Crossunder: A bearish signal when RSI crosses under its signal line above the overbought level (70).
RSI signals are divided into:
Aggressive (Early) Entries: Signals when RSI is crossing the oversold/overbought levels.
Conservative Entries: Signals when RSI confirms a reversal after crossing these levels.
MACD Signals:
Buy Signal: Generated when the MACD line crosses above the signal line (bullish crossover).
Sell Signal: Generated when the MACD line crosses below the signal line (bearish crossunder).
Additionally, the MACD histogram is used to identify momentum shifts:
Rising to Falling Histogram: Alerts when the MACD histogram switches from rising to falling.
Falling to Rising Histogram: Alerts when the MACD histogram switches from falling to rising.
4. Visuals and Alerts
Plotting:
The script plots the following on the price chart:
Moving Averages (MA): The selected MAs are plotted as lines.
Buy/Sell Shapes: Triangular markers are displayed for buy and sell signals generated by RSI and MACD.
Crossover and Crossunder Markers: Crosses are shown when two MAs crossover or crossunder.
Alerts:
Alerts can be configured based on the following conditions:
RSI Signals: Alerts for oversold or overbought crossover and crossunder events.
MACD Signals: Alerts for MACD line crossovers or momentum shifts in the MACD histogram.
Alerts are triggered when specific conditions are met, such as:
RSI crosses over or under the oversold/overbought levels.
MACD crosses the signal line.
Changes in the MACD histogram.
5. Example Usage
1. Trend Reversal Setup:
Buy Signal: Use the RSI oversold crossover and MACD bullish crossover to identify potential entry points in a downtrend.
Sell Signal: Use the RSI overbought crossunder and MACD bearish crossunder to identify potential exit points or short entries in an uptrend.
2. Momentum Strategy:
Combine MACD and RSI signals to identify the strength of a trend. Use MACD histogram analysis and RSI levels for confirmation.
3. Moving Average Crossover Strategy:
Focus on specific MA crossovers, such as the 9-period EMA crossing above the 21-period EMA, for buy signals. When a longer-term MA (e.g., 50-period) crosses a shorter-term MA, it may indicate a strong trend change.
6. Alerts Conditions
The script includes several alert conditions, which can be triggered and customized based on the user’s preferences:
RSI Oversold Crossover: Alerts when RSI crosses over the signal line below the oversold level (30).
RSI Overbought Crossunder: Alerts when RSI crosses under the signal line above the overbought level (70).
MACD Buy/Sell Crossover: Alerts when the MACD line crosses the signal line for a buy or sell signal.
7. Conclusion
This script is highly customizable and can be adjusted to suit different trading strategies. By combining MAs, RSI, and MACD, traders can gain multiple perspectives on the market, enhancing their ability to identify potential buy and sell opportunities.
Uptrick: Oracle Metrics +
Introduction
Uptrick: Oracle Metrics + is a multi-dimensional trading indicator designed to consolidate various technical and risk-oriented signals into one accessible framework. It allows traders to observe market volatility, identify potential reversal points, and assess numerous performance metrics, all within a single interface.
Purpose
The main goal of this indicator is to simplify a broad array of market insights. It merges trend analysis, volatility indicators, on-chart signals, and risk-performance metrics to help traders quickly evaluate the state of a market and make more informed decisions.
Features
1. Cloud Visualization
A colored cloud overlays the chart, indicating market conditions. When the cloud narrows, it can signal upcoming breakout scenarios, as volatility compresses and price movement may accelerate. In contrast, when the cloud is wide, this could hint at an extended trend that might be nearing a pullback or retracement. Observing shifts between narrow and wide phases helps anticipate shifts in momentum.
This can be seen here:
Simple Cloud Overlay
You can also use the cloud like this: when it turns purple you sell when it turns aqua color you buy. These signals are not very accurate in ranging markets but therefore they are usually better on almost all timeframes and assets in trending markets. :
Bounces of cloud. The cloud can also be used as a type of support/resistance. In the example below you can see how the trend bounces off of the cloud. For example, you could add up to your position every time it touches the cloud and then you could fully exit when the cloud turns purple or the trend breaks below the cloud:
An example of a way you could use this indicator as a confirmation is here. In the image below, a fake signal is generated, you can eliminate this signal by waiting for the cloud to turn purple in order to have confirmation for a potential downward move:
2. Bar Coloring for Volatility and System States
Traders can choose between two bar-coloring methods:
• Volatility: Bars change color intensity based on the level of current volatility relative to a historical average. This helps in spotting abrupt changes in market behavior, where bars become more pronounced when volatility is higher. You can see the volatility information in the volatility table.
• System Score: Bars receive a color gradient determined by the indicator’s final overall score. This simplifies spotting bullish, bearish, or neutral phases without needing to inspect multiple metrics separately. The closer the final score is to zero the less the color difference between bullish and bearish is.
3. Reversion Signals and Potential Reversal Alerts
Two sets of on-chart markers help in spotting sudden shifts in momentum:
• Reversion Signals marked with the letter R: These signals combine RSI thresholds, stochastic crossovers, and EMA confirmation to identify potential reversals. RSI highlights overbought (above 70) or oversold (below 30) conditions, while stochastic crossovers confirm shifts in momentum. The EMA ensures signals align with the broader trend, reducing false positives in volatile markets. Together, these components provide a reliable way to spot potential market corrections or reversals.
• Potential Reversal Signals marked with small circles: These signals detect subtle shifts in momentum using a smoothed RSI (via TEMA) and changes in its slope. When the slope turns positive or negative near key levels, it highlights early-stage reversals. This approach helps traders identify timely entry or exit opportunities by capturing potential trend changes before they fully develop.
4. Main Metrics Table
A primary dashboard shows detailed performance measures and market analytics. Next to each value, there is a bullish or bearish arrow to hint at the current direction of that metric. The table includes the following:
• Sharpe Ratio: Offers a view of risk-adjusted returns, hinting at whether rewards outweigh the variability in price.
• Sortino Ratio: A variation of risk-adjusted return focusing more on downside risk.
• Treynor Ratio: Displays returns relative to systematic risk, referencing a user-provided beta.
• Information Ratio: Shows how the instrument is outperforming or underperforming a benchmark, scaled by tracking error.
• ROC: Rate of change in price over a specified period, reflecting momentum.
• MACD Histogram: The difference between fast and slow moving average convergence, illustrating momentum shifts.
• CMF: Chaikin Money Flow, evaluating buying or selling pressure by combining price and volume.
• Ulcer Index: A measure of drawdown intensity to gauge how severe downtrends or pullbacks have been.
• Amihud Ratio: Assesses illiquidity by comparing price impact to volume.
• Market Depth Ratio: Looks at price ranges relative to volume activity, indicating how deeply the market can absorb trades.
• S2F Ratio: Incorporates the asset’s circulating supply relative to its yearly production, sometimes referenced in markets with a defined issuance schedule.
• NVT Ratio: A network value to transactions ratio, typically applied to on-chain data.
• MVRV Ratio: Compares the asset’s market value with its realized value, highlighting overall valuation conditions.
• Autocorrelation: Shows how current price movement may be echoing previous price changes.
• Alpha: Measures excess return over what might be expected from a risk-free rate plus systematic market exposure.
• Skewness: Reveals the asymmetry of the return distribution.
• Kurtosis: Looks at whether returns have heavier or lighter tails than typical distributions.
• Max Drawdown: The largest peak-to-trough drop within a lookback window, a key measure of downside risk.
• Calmar Ratio: Evaluates returns in light of drawdowns, relating performance to the severity of pullbacks.
• Omega Ratio: Considers gains versus losses around a threshold return level to measure reward-to-risk balance.
• January Performance: A snapshot of how price behaves in January over a lookback, connected to the idea of seasonality.
• Bid-Ask Spread: Reflects the percentage difference between highest and lowest price in a period, hinting at market liquidity costs.
5. Final Score Table
After analyzing individual metrics, the indicator calculates an overall score that determines if the broader environment appears bullish, bearish, or neutral. This final score then influences optional color schemes across the chart, allowing traders to see at a glance how multiple data points combine into one stance. For those who prefer a visual “gauge,” an additional grid table can be enabled, where boxes fill with varying color intensities based on the current score. The score calculation is complex and uses a similar technique to TPI. It assigns values to each metric and then divides the score by the amount of metrics. The score is then visualized in the System Generation bar coloring option according to how intense the signal is.
Grids (visualization of how much more the score needs to be a full signal.):
6. Volatility Table
A separate table focuses on how current volatility compares with an average measure. When current volatility differs significantly from historical norms, the bars become more vividly colored. If volatility nears its average, the bars are more subdued. This helps traders know when to be cautious of sudden moves or to adapt their position sizing.
Indicator Inputs
Users can tailor numerous inputs to suit the nature of each instrument:
• Risk-Free Rate (annualized rate used for risk calculations)
• Benchmark Return (expected return of the market benchmark)
• Beta (measure of systematic risk, particularly for Treynor Ratio calculations)
• Lookback Period (window of time used for many rolling calculations)
• ROC Period (time span for the rate of change calculation)
• CMF Period (window for the Chaikin Money Flow measure)
• Ulcer Index Period (depth for the Ulcer Index reading)
• Amihud Illiquidity Period (period for measuring price impact relative to volume)
• Market Depth Ratio Period (time range for examining price breadth versus volume)
• Circulating Supply (used for the stock-to-flow calculation)
• Yearly Production (helps update the stock-to-flow ratio)
• Market Cap (overall value of the instrument, often used in ratio metrics)
• Transaction Volume (on-chain or traded volume data for NVT ratio)
• Realized Value (alternative valuation data, used in MVRV calculation)
• Threshold Return for Omega (sets a custom threshold above which returns are considered favorable)
• Bar Coloring Method (choose between volatility-based or final-score-based color themes)
• Table Text Size (adjust the display size of table entries)
• Additional parameters related to internal signals (like RSI lengths or smoothing settings) can be fine-tuned for different market behaviors. It is important to customize these fields according to the characteristics of the specific asset you are trading.
Important!
Adjust the inputs according to your current asset! The inputs under the 'Vital' section have to be adjusted so that the metrics function properly. If not well adjusted to your asset, your final score will be mixed up and System Bar coloring as well! These inputs include: Circulating Supply, Yearly Production, Market Cap, Transaction Volume, and Realized Value!
Originality and Uniqueness
Uptrick: Oracle Metrics + stands out by combining complex metrics, including calculations similar to the Trend Probability Indicator (TPI), to provide a deeper analysis of market conditions. The indicator offers multiple signals tailored to different trading scenarios, allowing users to filter and customize them manually through a variety of features. This flexibility, combined with its advanced risk and trend analysis tools, makes it a versatile solution for both momentum and long-term trading strategies.
Warnings
In some scenarios, overlapping numbers or markers may crowd the chart. A practical fix for any visual overlap is removing the indicator and then reapplying it, which generally resets the tables and color overlays.
Summary
Uptrick: Oracle Metrics + merges cloud-based analytics, bar-coloring for volatility or system state, reversion alerts, and a detailed metrics dashboard into one seamless interface. This synergy of short-term signals and long-term performance metrics aims to give traders a fuller perspective on risk, trend changes, and valuation. By tuning the inputs to each asset, traders can capture more relevant data, while the color-coded approach simplifies quick decision-making in a dynamic market environment.
Disclaimer
The Uptrick: Oracle Metrics + indicator is a tool designed to assist traders in analyzing market conditions and making informed decisions. It is not a guarantee of future performance or a substitute for independent financial advice. Trading involves significant risk, and past results do not guarantee future outcomes. Users are advised to conduct their own research, consider their financial situation, and consult with a licensed financial professional if necessary. Uptrick and its affiliates are not responsible for any financial losses incurred while using this indicator. Use at your own discretion and risk.
Stochastic candles "Stochastic Candles" is designed to provide higher timeframe stochastic calculations and enhance the chart with additional visual aids like colored candles and EMA plotting.
Features of the Script:
Higher Timeframe Stochastic Calculation:
This indicator computes the stochastic %K and %D values for a specified higher timeframe and ensures these values are fetched for the higher timeframe data.
Dynamic Label Placement:
The script places labels on the chart displaying the %K and %D values above and below the bars, respectively.
Labels are dynamically deleted after being updated, ensuring only the latest values are visible.
Candle Coloring:
Candles are colored blue if %K > %D, yellow if %D > %K, and retain the default color otherwise.
Exponential Moving Average (EMA):
This indicator work fine . Consolidate market put effects on its performance .
Trend Filter (2-pole) [BigBeluga]Trend Filter (2-pole)
The Trend Filter (2-pole) is an advanced trend-following indicator based on a two-pole filter, which smooths out market noise while effectively highlighting trends and their strength. It incorporates color gradients and support/resistance dots to enhance trend visualization and decision-making for traders.
SP500:
🔵What is a Two-Pole Filter?
A two-pole filter is a digital signal processing technique widely used in electronics, control systems, and time series data analysis to smooth data and reduce noise.
//@function Two-pole filter
//@param src (series float) Source data (e.g., price)
//@param length (float) Length of the filter (higher value means smoother output)
//@param damping (float) Damping factor for the filter
//@returns (series float) Filtered value
method two_pole_filter(float src, int length, float damping) =>
// Calculate filter coefficients
float omega = 2.0 * math.pi / length
float alpha = damping * omega
float beta = math.pow(omega, 2)
// Initialize the filter variables
var float f1 = na
var float f2 = na
// Update the filter
f1 := nz(f1 ) + alpha * (src - nz(f1 ))
f2 := nz(f2 ) + beta * (f1 - nz(f2 ))
f2
It operates using two cascaded smoothing stages (poles), allowing for a more refined and responsive output compared to simple moving averages or other basic filters.
Two-pole filters are particularly valued for their ability to maintain smooth transitions while reducing lag, making them ideal for applications where precision and responsiveness are critical.
In trading, this filter helps detect trends by smoothing price data while preserving significant directional changes.
🔵Key Features of the Indicator:
Gradient-Colored Trend Filter Line: The main filter line dynamically changes color based on trend strength and direction:
- Green: Strong uptrend.
- Red: Strong downtrend.
- Yellow: Indicates a transition phase, signaling potential trend shifts.
Support and Resistance Dots with Signals:
- Dots are plotted below the filter line during uptrends and above it during downtrends.
- These dots represent consecutive rising or falling conditions of the filter line, which traders can set in the settings (e.g., the number of consecutive rises or falls required).
- The dots often act as dynamic support or resistance levels, providing valuable guidance during trends.
- Trend Signals:
Customizable Sensitivity: The indicator allows traders to adjust the filter length, damping factor, and the threshold for rising/falling conditions, enabling it to adapt to different trading styles and timeframes.
Bar Color Option: The indicator can optionally color bars to match the gradient of the filter line, enhancing visual clarity of trends directly on the price chart.
🔵How It Works:
The Trend Filter (2-pole) smooths price data using a two-pole filter, which reduces noise and highlights the underlying trend.
The gradient coloring of the filter line helps traders visually assess the strength and direction of trends.
Rising and falling conditions of the filter line are tracked, and dots are plotted when consecutive conditions meet the threshold, acting as potential support or resistance levels during trends.
The yellow transition color signals periods of indecision, helping traders anticipate potential reversals or consolidations.
🔵Use Cases:
Identify and follow strong uptrends and downtrends with gradient-based visual cues.
Use the yellow transition color to anticipate trend shifts or consolidation zones.
Leverage the plotted dots as dynamic support and resistance levels to refine entry and exit strategies.
Combine with other indicators for confirmation of trends and reversals.
This indicator is perfect for traders who want a visually intuitive and highly customizable tool to spot trends, gauge their strength, and make informed trading decisions.
ADX, RSI, & TSI utilized as ART [by KeremErtem]The "ADX, RSI, & TSI utilized as ART" script is an advanced technical analysis tool designed by Kerem Ertem to help traders identify trend direction, strength, and potential reversals. It integrates the Average Directional Index (ADX), Relative Strength Index (RSI), and True Strength Index (TSI) into a cohesive, user-friendly indicator known as ART (Adaptive Relative Trend) .
What it does:
Trend Detection: Utilizes ADX to identify the strength and direction of trends.
Momentum Analysis: Uses RSI to gauge the speed and change of price movements.
Signal Smoothing: Incorporates TSI to reduce noise and provide clearer signals.
How it works:
Input Settings: Customize the source (hlc3), signal period (l1), and lookback range (l2) to tailor the indicator to your trading strategy.
Angle Calculation (ACI): The script calculates the angle of price movements using a custom function, which combines the lowest and highest prices with moving averages to create a smoother representation of trend angles.
Weighted Average: The ACI function is applied to the source price to derive a weighted average, which serves as the foundation for further calculations.
RSI Integration: The script calculates the RSI based on the weighted average price and further refines it using the ACI function to enhance signal accuracy.
ADX Calculation: ADX values are computed and adjusted using the ACI function to provide a clearer indication of trend strength and direction.
ART Indicator: The combined results of the RSI and ADX calculations form the ART indicator, which is plotted alongside trend lines and bands for comprehensive trend analysis.
Bands and Trend Lines: The script plots upper, lower, and center bands based on standard deviation and moving averages, providing visual cues for potential support and resistance levels.
How to use it:
Customization: Adjust the signal period, lookback range, RSI length, and ADX settings to fit your trading preferences.
Interpretation: Green ART signal lines indicate bullish trends, while red lines indicate bearish trends. The trend line color changes from cyan to magenta based on the trend direction.
Bands: Use the upper and lower bands as potential entry and exit points, with the center line acting as a trend confirmation.
This script offers a comprehensive approach to trend and momentum analysis, making it a valuable tool for traders seeking to enhance their trading strategies with advanced technical indicators.
KJS-- Gost Pivot MAKJS Ghost Pivot Moving Average
This indicator calculates a "Ghost Pivot" by estimating where the monthly pivot level would be if the current candle's close represented the end of the month. The calculation uses:
• The current month's high and low from regular trading hours (RTH).
• The current candle's close, which includes both premarket and after-hours data.
It also smooths the ghost pivot using a customizable simple moving average (SMA).
Features:
• Plots the current month's high (blue) and low (yellow) based on RTH data.
• Calculates and plots a dynamic pivot (purple line) as the average of the monthly high, low, and current close (HLC3).
• Includes a customizable SMA length for smoother pivot tracking (default: 3).
This indicator helps traders anticipate potential monthly pivot levels in real-time while visualizing key support and resistance areas.
Dekkapok Premium Prices and EMA360Overview:
The EMA360 Premium Levels indicator is designed to help traders identify key price levels above the EMA360 (Exponential Moving Average) on a daily timeframe. These levels, referred to as "premium levels" are calculated as multiples of the EMA360 and can act as potential resistance or support zones for price action analysis.
Features:
EMA360 Calculation:
The script calculates the EMA360 using the daily timeframe (or any user-specified timeframe).
EMA360 is plotted as a bold blue line for clear visibility.
Premium Levels:
Multiple levels above the EMA360 are plotted as horizontal green lines.
These levels are calculated by multiplying the EMA360 value by user-defined multipliers (e.g., 1.2x, 1.3x, etc.).
Premium levels can help identify overbought or extended price zones relative to EMA360.
Customizable Inputs:
EMA Length: Default is set to 360, but users can adjust the EMA length as needed.
Timeframe: EMA360 is calculated using the daily timeframe by default, but any timeframe can be selected.
Multipliers: Traders can input their desired multipliers (e.g., 1.2, 1.3, 1.5) as a comma-separated list.
Clean Visualization:
EMA360 and premium levels are plotted directly on the price chart for intuitive analysis.
Premium level lines are semi-transparent green to minimize clutter while maintaining focus on critical levels.
Use Cases:
Trend Analysis: Use the EMA360 to identify the broader market trend. Prices above the EMA360 generally indicate an uptrend, while prices below may indicate a downtrend.
Overextension Zones: Premium levels help traders identify zones where the price may be overbought or overextended relative to EMA360.
Dynamic Support/Resistance: The premium levels can act as dynamic resistance zones during uptrends and support zones during pullbacks.
How to Use:
Apply the indicator to your chart in TradingView.
Observe the EMA360 line to understand the market trend.
Use the green premium level lines to identify potential resistance zones as the price moves above the EMA360.
Customization Options:
Adjust the EMA Length and Timeframe to match your trading style.
Modify the Premium Multipliers to suit your market analysis needs (e.g., add or reduce levels like 1.1x, 1.8x, etc.).
This indicator is especially useful for trend-following traders who want to leverage EMA-based levels for strategic decision-making.
- Dekkapok
Dekkapok Premium Prices and EMA360 [Clean Ver.]Overview:
The EMA360 Premium Levels indicator is designed to help traders identify key price levels above the EMA360 (Exponential Moving Average) on a daily timeframe. These levels, referred to as "premium levels" are calculated as multiples of the EMA360 and can act as potential resistance or support zones for price action analysis.
Features:
EMA360 Calculation:
The script calculates the EMA360 using the daily timeframe (or any user-specified timeframe).
EMA360 is plotted as a bold blue line for clear visibility.
Premium Levels:
Multiple levels above the EMA360 are plotted as horizontal green lines.
These levels are calculated by multiplying the EMA360 value by user-defined multipliers (e.g., 1.2x, 1.3x, etc.).
Premium levels can help identify overbought or extended price zones relative to EMA360.
Customizable Inputs:
EMA Length: Default is set to 360, but users can adjust the EMA length as needed.
Timeframe: EMA360 is calculated using the daily timeframe by default, but any timeframe can be selected.
Multipliers: Traders can input their desired multipliers (e.g., 1.2, 1.3, 1.5) as a comma-separated list.
Clean Visualization:
EMA360 and premium levels are plotted directly on the price chart for intuitive analysis.
Premium level lines are semi-transparent green to minimize clutter while maintaining focus on critical levels.
Use Cases:
Trend Analysis: Use the EMA360 to identify the broader market trend. Prices above the EMA360 generally indicate an uptrend, while prices below may indicate a downtrend.
Overextension Zones: Premium levels help traders identify zones where the price may be overbought or overextended relative to EMA360.
Dynamic Support/Resistance: The premium levels can act as dynamic resistance zones during uptrends and support zones during pullbacks.
How to Use:
Apply the indicator to your chart in TradingView.
Observe the EMA360 line to understand the market trend.
Use the green premium level lines to identify potential resistance zones as the price moves above the EMA360.
Customization Options:
Adjust the EMA Length and Timeframe to match your trading style.
Modify the Premium Multipliers to suit your market analysis needs (e.g., add or reduce levels like 1.1x, 1.8x, etc.).
This indicator is especially useful for trend-following traders who want to leverage EMA-based levels for strategic decision-making.
- Dekkapok
ueuito Custom Moving Averages and VWMA TrendDescription in English:
is a customizable indicator that combines multiple technical analysis tools to identify market trends and buy/sell signals. It integrates moving averages (including VWMA), RSI, MACD, and various configurable levels, providing detailed visual analysis on the chart.
Key Features:
Customizable Moving Averages:
Supports SMA, EMA, WMA, VWMA, and RMA.
Allows for customizing the period and displaying up to two moving averages simultaneously.
VWMA with RSI Indication:
VWMA changes color based on RSI conditions:
Overbought color when RSI exceeds a configurable level.
Oversold color when RSI drops below a configurable level.
MACD and Crossovers:
Detects MACD crossovers with the signal line and highlights them on the chart.
Includes visual indicators to mark key moments of MACD rising or falling.
Overbought/Oversold Signals:
Adds visual markers when RSI exceeds user-defined levels (overbought or oversold).
MACD Level Indicators:
Displays specific values on the chart when MACD reaches predefined levels, with color adjustments based on trend direction.
Advanced Configurations:
Configurable parameters for vertical offset, label colors, and alert levels.
Provides flexibility to tailor the indicator’s appearance and behavior.
Still improving...
Optimized Engulfing StrategyOptimized Engulfing Strategy
The Optimized Engulfing Strategy is a trend-following system designed to capitalize on bullish and bearish engulfing patterns in the market. It uses a combination of price action, trend direction, and volatility-based risk management to execute high-probability trades.
Key Components:
Bullish Engulfing Pattern:
A bullish engulfing candle is identified when:
The current candle closes above its open (bullish).
The previous candle closes below its open (bearish).
The current candle's close is higher than the previous candle's open.
The current candle's open is lower than the previous candle's close.
This pattern signals potential bullish momentum.
Bearish Engulfing Pattern:
A bearish engulfing candle is identified when:
The current candle closes below its open (bearish).
The previous candle closes above its open (bullish).
The current candle's close is lower than the previous candle's open.
The current candle's open is higher than the previous candle's close.
This pattern signals potential bearish momentum.
Trend Confirmation:
Trades are only taken in the direction of the trend:
Buy: When the 50-period SMA (simple moving average) is above the 200-period SMA, indicating an uptrend.
Sell: When the 50-period SMA is below the 200-period SMA, indicating a downtrend.
Risk Management:
Stop Loss: Placed below the low of the engulfing candle (for buys) or above the high (for sells), with an additional buffer based on the ATR (Average True Range) multiplied by a user-defined factor (default: 1.5).
Take Profit: Calculated using a fixed risk-to-reward ratio (default: 1:2), ensuring a potential reward that is double the risk.
Session Filtering:
Trades can be limited to specific trading hours using a customizable session filter (default: 24 hours).
Trade Execution:
Separate logic is implemented for buy and sell trades, allowing independent toggling of long or short positions via user inputs.
Visualization:
Bullish and bearish engulfing candles are highlighted on the chart for clarity.
The ATR value is displayed in the top-right corner of the chart for reference.
How It Works:
Identify a bullish or bearish engulfing pattern.
Confirm the direction of the trend using the 50 SMA and 200 SMA.
Ensure the market is within the allowed session filter (e.g., London or New York sessions).
Enter a trade if all conditions are met:
Long trades for bullish engulfing patterns in an uptrend.
Short trades for bearish engulfing patterns in a downtrend.
Manage the trade using a stop loss and take profit based on ATR and the risk-reward ratio.
4EMAs+OpenHrs+FOMC+CPIThis script displays 4 custom EMAs of your choice based on the Pine script standard ema function.
Additionally the following events are shown
1. Opening hours for New York Stock exchange
2. Opening Time for London Stock exchange
3. US CPI Release Dates
4. FOMC press conference dates
5. FOMC meeting minutes release dates
I have currently added FOMC and CPI Dates for 2025 but will keep updating in January of every year (at least as long as I stay in the game :D)
Combined Multi-Timeframe EMA OscillatorThis script aims to visualize the strength of bullish or bearish trends by utilizing a mix of 200 EMA across multiple timeframes. I've observed that when the multi-timeframe 200 EMA ribbon is aligned and expanding, the uptrend usually lasts longer and is safer to enter at a pullback for trend continuation. Similarly, when the bands are expanding in reverse order, the downtrend holds longer, making it easier to sell the pullbacks.
In this script, I apply a purely empirical and experimental method: a) Ranking the position of each of the above EMAs and turning it into an oscillator. b) Taking each 200 EMA on separate timeframes, turning it into a stochastic-like oscillator, and then averaging them to compute an overall stochastic.
To filter a bullish signal, I use the bullish crossover between these two aggregated oscillators (default: yellow and blue on the chart) which also plots a green shadow area on the screen and I look for buy opportunities/ ignore sell opportunities while this signal is bullish. Similarly, a bearish crossover gives us a bearish signal which also plots a red shadow area on the screen and I only look for sell opportunities/ ignore any buy opportunities while this signal is bearish.
Note that directly buying the signal as it prints can lead to suboptimal entries. The idea behind the above is that these crossovers point on average to a stronger trend; however, a trade should be initiated on the pullbacks with confirmation from momentum and volume indicators and in confluence with key areas of support and resistance and risk management should be used in order to protect your position.
Disclaimer: This script does not constitute certified financial advice, the current work is purely experimental, use at your own discretion.
LevelUp^ Minervini Trend Template ScreenerThe Minervini Trend Template is a stock screener based on the work of Mark Minervini, a two-time winner of the U.S. Investing Championship. The goal is to identify stocks that are in strong uptrends.
Historical analysis demonstrates that nearly all of the highest performing stocks exhibited a strong uptrend prior to making significant advances. Based on Mark's research, 99% of these stocks were trading above their 200-day simple moving average, and 96% were above their 50-day simple moving average, prior to becoming true market leaders.
🔹 Minervini Trend Template Requirements
✓ Price is above the 150-SMA and 200-SMA.
✓ 150-SMA is above the 200-SMA.
✓ 200-SMA is trending up for at least one month.
✓ 50-SMA is above the 150-SMA and the 200-SMA.
✓ Price is above the 50-SMA.
✓ Price is within 25% of the 52-week high.
✓ Price is 30%+ above the 52-week low.
🔹 Screening Features - Setting Your Search Criteria
There are various search options that can be customized.
▪ Symbol Type
The screener supports all equity types from stocks to ETFs to crypto. You can narrow the scope of your search by choosing only the symbol types of interest.
▪ Percent Change - Weekly, Monthly and YTD
Further narrow your search by specifying minimum percent changes on a weekly, monthly and/or year-to-date basis.
▪ Distance From 52-Week High
The screener looks for stocks within 25% of their 52-week high, as defined by Mark's Trend Template. You can further tighten this criteria by specifying a smaller percentage, for example, search for stocks within 5% of their 52-week high.
🔹 Installation And Usage
▪ Mark this indicator as a Favorite.
▪ Use the Pine Screener to search for stocks.
▪ Save the search results to a watchlist.
▪ View the watchlist in TradingView.
🔹 Note
The Trend Template as originally defined by Mark included an RS Rating based on a proprietary calculation from Investor's Business Daily. My preference in technical analysis and screening is to only use tools and calculations that can be researched and verified. There is no RS Rating requirement in this screener. All the other Trend Template requirements are included.
Risk-Adjusted Trend IndicatorThe Risk-Adjusted Trend Indicator is a comprehensive tool designed to evaluate market trends while factoring in risk levels. By combining trend strength, volatility, and dynamic scaling, this indicator provides traders with clear, actionable signals for optimal entries and exits. Its focus on risk-adjusted metrics ensures that signals are both reliable and contextually informed by prevailing market conditions.
Key Features:
1. Exponential Moving Average (EMA):
• The EMA serves as the foundation for trend detection, offering a smoothed representation of price movement over a user-defined period.
• Aids in distinguishing bullish and bearish trends effectively.
2. Average True Range (ATR):
• ATR is used to gauge market volatility, ensuring that the indicator adapts to changing market conditions.
• Facilitates the normalization of trend strength relative to current market volatility.
3. Risk-Adjusted Trend Score:
• Computes the difference between the price and EMA and normalizes it using the ATR to account for risk.
• This metric allows traders to focus on trends with favorable risk-reward ratios, filtering out weak or high-risk setups.
4. Dynamic Scaling:
• Adjusts the risk-adjusted score to fit within the chart’s price range, making the visualization intuitive and easy to interpret.
5. Buy/Sell Signals:
• Buy signals are triggered when the risk-adjusted score crosses above a positive threshold.
• Sell signals are triggered when the score crosses below a negative threshold.
• Signals are plotted directly on the chart with intuitive markers for quick decision-making.
6. Background Color Zones:
• Highlights bullish and bearish trend zones using subtle background shading, enhancing visual clarity.
Reason for Combining These Elements
The Risk-Adjusted Trend Indicator blends elements of trend analysis, volatility measurement, and risk assessment to address a fundamental challenge in trading: identifying high-confidence trades that align with a trader’s risk tolerance. Here’s why these components were chosen and how they work together:
1. EMA (Trend Detection):
• Provides a reliable baseline for trend direction, ensuring that the indicator aligns with the market’s prevailing trend.
2. ATR (Volatility Normalization):
• Adjusts trend strength calculations based on market volatility, allowing the indicator to adapt to varying market conditions and avoid false signals in high-volatility environments.
3. Risk-Adjusted Score:
• By factoring in both trend strength and volatility, this score ensures that only trends with favorable risk-reward dynamics are highlighted.
• This approach minimizes overtrading and reduces exposure to high-risk setups.
4. Dynamic Scaling:
• Ensures that the indicator’s outputs remain visually accessible, regardless of the asset or timeframe being analyzed.
• Enhances usability by aligning the score with price action on the chart.
5. Visual Aids (Signals and Background Zones):
• The inclusion of visual signals and background zones simplifies decision-making, making the tool suitable for both novice and experienced traders.
DEMA RIBBONDouble EMA ribbon indicator -
Best used for Short Term trade entry and exit
This consists of 3 Double EMAs - 10,21 & 50 for better trade.
Trend Force Meter | JeffreyTimmermansTrend Force Meter
The "Trend Force Meter" is an innovative trading tool designed to visualize trend strength and provide precise signals for identifying market dynamics. By combining the Hull Moving Average (HMA) with the Simple Moving Average (SMA), it delivers a comprehensive analysis of trend forces and directions. With customizable smoothing, low-pass filtering, and an advanced color-coded display, this indicator is a valuable addition to any trader's toolkit.
Overview
The Trend Force Meter uses a unique approach to trend analysis by calculating the difference between smoothed HMA and SMA values. This difference is normalized and converted into a visually intuitive gradient to represent bullish and bearish conditions. The indicator also incorporates features for noise reduction and enhanced visualization.
Key Features
Dual Moving Averages
Hull Moving Average (HMA): Provides a highly responsive measure of trend direction and strength.
Simple Moving Average (SMA): Offers a stable and reliable long-term trend baseline.
Customizable Smoothing
Enable/Disable Smoothing: Adjust the sensitivity of the HMA and SMA calculations.
Smoothing Length: Fine-tune the smoothing parameters to match your trading style, balancing between responsiveness and stability.
Low-Pass Filtering
Noise Reduction: Optional low-pass filter reduces market noise, providing clearer trend signals.
Filter Length: Adjustable parameter for fine control over the noise reduction level.
Gradient-Based Visualization
Dynamic Color Coding: Bullish trends are displayed in shades of green, while bearish trends appear in shades of red, providing immediate visual clarity.
Strength Meter: A gradient-based strength meter quantifies the intensity of the current trend, from weak to strong.
Trend Strength Normalization
Normalizes trend strength over a configurable period, ensuring consistent and meaningful readings across various market conditions.
Alerts
Bullish Trend Alert: Notifies when the trend transitions to a bullish phase.
Bearish Trend Alert : Signals when the trend turns bearish.
Enhanced Functionality
Trend Strength Gauge
Displays a real-time strength gauge that visualizes the trend intensity, allowing traders to assess the market at a glance.
Automatically adjusts to reflect normalized trend values, ensuring accuracy across different timeframes and volatility conditions.
Visual Gradient
A refined gradient coloring system dynamically adjusts based on trend direction and intensity, enabling traders to easily interpret market sentiment.
Advanced Customization
Length Settings: Fine-tune HMA and SMA lengths to match specific trading strategies.
Smoothing Options: Toggle smoothing and low-pass filtering on or off as needed.
Gradient Color Range: Provides flexible options for customizing the visual display.
Use Cases
Trend Analysis: Quickly identify the direction and strength of market trends to make informed trading decisions.
Momentum Confirmation : Use the gradient and strength meter to validate potential breakout or reversal scenarios.
Noise Reduction: Employ the low-pass filter to focus on meaningful trends while ignoring short-term market fluctuations.
How It Works
Calculate HMA and SMA: The indicator computes smoothed HMA and SMA values.
Difference Extraction: The difference between the smoothed HMA and SMA forms the core trend signal.
Optional Filtering: Low-pass filtering reduces noise, enhancing the clarity of trend signals.
Normalization: The difference is normalized over the selected period, ensuring consistent scaling.
Visualization: A color-coded gradient and trend strength gauge display the trend’s intensity and direction.
Customization Options
MA Lengths: Adjust the calculation periods for HMA and SMA.
Smoothing and Filtering: Enable or disable smoothing and filtering to refine the signal output.
Color Palette: Choose custom colors to align with personal preferences or trading environments.
Conclusion
The Trend Force Meter is an invaluable addition to any trader’s toolkit, combining cutting-edge techniques with intuitive visuals to make trend analysis more accessible and actionable. Its flexibility and precision cater to various trading strategies, ensuring traders stay ahead of market movements.
This script is inspired by "VanHels1ng" . However, it is more advanced and includes additional features and options.
-Jeffrey
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.
SuperTrend Oscillator# SuperTrend Oscillator - User Guide
## Chapter 1: Introduction
The SuperTrend Oscillator is a versatile and powerful indicator designed to assist traders in identifying market trends, reversals, and momentum. This indicator leverages complex calculations and smoothing techniques to provide actionable signals. The SuperTrend Oscillator can be used for intraday, swing, and positional trading, making it suitable for various market conditions and trading styles.
## Chapter 2: Calculations Overview
The SuperTrend Oscillator relies on a combination of:
Trend Strength : Calculated using a weighted summation of price deviations over short and long periods.
Bull and Bear Lines : Derived from the typical price and smoothed using EMA to highlight underlying market trends.
Signal Lines : The crossing of trend lines and EMAs identifies potential entry and exit points.
### Key Elements:
- Typical Price : An average of open, high, low, and close prices.
- Lowest Low and Highest High **: Identified over specific periods to normalize the oscillator values.
- Exponential Moving Averages (EMA) : Smoothing techniques to reduce noise and improve trend clarity.
- Threshold Levels : Critical levels (e.g., 25, 75) are used to identify oversold and overbought conditions.
## Chapter 3: Oscillator Visualization
The SuperTrend Oscillator plots two main components:
Bull and Bear Lines : Represent short-term and long-term trends.
EMA Crossovers : Highlight shifts in market momentum.
### Candle Width and Color:
- Yellow Candles : Indicate a bullish phase in the short-term trend.
- Fuchsia Candles : Indicate a bearish phase in the short-term trend.
- Green Candles : Signal an uptrend in the long-term trend.
- Red Candles : Signal a downtrend in the long-term trend.
NB: The width of the oscillator candles reflects the strength of the trend, with wider candles indicating stronger trends.
## Chapter 4: Signal Generation
### Entry Signals:
- ** Fast Buy Signal **: Occurs when:
- The short-term trend transitions from bearish (fuchsia) to bullish (yellow).
- The short-term bull line is below 40.
- The long-term bull line is above 50.
- Accumulation/distribution signals are positive.
- ** Fast Sell Signal **: Occurs when:
- The short-term trend transitions from bullish (yellow) to bearish (fuchsia).
- The short-term bull line is above 60.
- The long-term bull line is below 45.
- Accumulation/distribution signals are negative.
### Exit Signals:
- ** Super Long Exit / Short Entry **: Triggered when:
- Both the short-term and long-term trends indicate overbought conditions (bull line > 75).
- Crossunder between trend and bull lines.
- ** Super Short Exit / Long Entry **: Triggered when:
- Both the short-term and long-term trends indicate oversold conditions (bull line < 25).
- Crossover between trend and bull lines.
## Chapter 5 : Trading Strategies
### Trend Following:
1. ** Identify the Trend **:
- Use the color and slope of the oscillator candles.
- Green and yellow candles indicate an uptrend; red and fuchsia candles indicate a downtrend.
2. ** Enter Trades **:
- Look for fast buy signals in an uptrend and fast sell signals in a downtrend.
3. ** Exit Trades **:
- Use super exit signals to close positions.
### Range Trading:
1. ** Identify Ranges **:
- Monitor bull and bear lines oscillating within 25 to 75.
2. ** Enter Trades **:
- Buy near oversold conditions (bull line < 25).
- Sell near overbought conditions (bull line > 75).
### Divergence Trading:
1. ** Identify Divergence **:
- Compare the oscillator with price action.
2. ** Enter Trades **:
- Buy when the price makes a lower low, but the oscillator makes a higher low.
- Sell when the price makes a higher high, but the oscillator makes a lower high.
## Chapter 6: Alerts
The SuperTrend Oscillator includes built-in alerts for:
1. **Super Long**: When both short-term and long-term entry signals align.
2. **BankEntry Long**: When either short-term or long-term entry signals are triggered.
3. **Super Short**: When both short-term and long-term exit signals align.
4. **BankExit Short**: When either short-term or long-term exit signals are triggered.
### Setting Alerts:
To enable alerts, use the alert messages included in the script. These alerts provide timely notifications for trade entries and exits.
## Chapter 7: How to Use
1. **Add the Indicator**:
- Apply the SuperTrend Oscillator to your chart.
2. **Monitor Signals**:
- Use visual cues (colors and shapes) to identify trade opportunities.
3. **Set Alerts**:
- Configure alerts to receive notifications.
### Example Use Case:
- For intraday trading, set the oscillator to shorter periods for quicker signals.
- For swing trading, use longer periods to reduce noise and capture broader trends.
## Chapter 8: Disclaimer
The SuperTrend Oscillator is a tool to aid trading decisions and does not guarantee profits. Always combine it with risk management and other analysis techniques to ensure a comprehensive trading strategy.
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.
200WMA ScreenerDescription:
This custom indicator helps identify stocks trading below their 200-week moving average (200WMA), a key technical indicator often used to analyze long-term trends. The script calculates the 200WMA using weekly close prices and provides the following features:
Visual Plot: Displays the 200WMA as a smooth line on the chart for easy trend analysis.
Background Highlight: Automatically highlights the chart background when the current price is below the 200WMA, signaling a potential bearish trend or undervalued stock.
Alert System: Includes an alert condition to notify you when a stock trades below its 200WMA, so you never miss an opportunity.
Compatibility: Works across all assets (stocks, forex, crypto) and automatically adapts to the selected ticker.
This script is ideal for traders and investors looking for long-term opportunities, identifying potential trend reversals, or spotting undervalued stocks.