HKM - Renko Emulator with EMA TrendThis is a Renko based Emulator to plot on any chart type which prints the box as printed on a Renko charts and is a Non-Repaint version. You can use either Traditional or ATR Method on current chart Timeframe. Option to plot an EMA Line is provided with Trend indication.
Medie mobili
Fibonacci Channel Standard Deviation levels based off 200MAThis script dynamically combines Fibonacci levels with the 200-period simple moving average (SMA), offering a powerful tool for identifying high-probability support and resistance zones. By adjusting to the changing 200 SMA, the script remains relevant across different market phases.
Key Features:
Dynamic Fibonacci Levels:
The script automatically calculates Fibonacci retracements and extensions relative to the 200 SMA.
These levels adapt to market trends, offering more relevant zones compared to static Fibonacci tools.
Support and Resistance Zones:
In uptrends, price often respects retracement levels above the 200 SMA (e.g., 38.2%, 50%, 61.8%).
In downtrends, price may interact with retracements and extensions below the 200 SMA (e.g., 23.6%, 1.618).
Customizable Confluence Zones:
Key levels such as the golden pocket (61.8%–65%) are highlighted as high-probability zones for reversals or continuations.
Extensions (e.g., 1.618) can serve as profit targets or bearish continuation points.
Practical Applications:
Identifying Reversal Zones:
Look for confluence between Fibonacci levels and the 200 SMA to identify potential reversal points.
Example: A pullback to the 61.8%–65% golden pocket near the 200 SMA often signals a bullish reversal.
Trend Confirmation:
In uptrends, price respecting Fibonacci retracements above the 200 SMA (e.g., 38.2%, 50%) confirms strength.
Use Fibonacci extensions (e.g., 1.618) as profit targets during strong trends.
Dynamic Risk Management:
Place stop-losses just below key Fibonacci retracement levels near the 200 SMA to minimize risk.
Bearish Scenarios:
Below the 200 SMA, Fibonacci retracements and extensions act as resistance levels and bearish targets.
How to Use:
Volume Confirmation: Watch for volume spikes near Fibonacci levels to confirm support or resistance.
Price Action: Combine with candlestick patterns (e.g., engulfing candles, pin bars) for precise entries.
Trend Indicators: Use in conjunction with shorter moving averages or RSI to confirm market direction.
Example Setup:
Scenario: Price retraces to the 61.8% Fibonacci level while holding above the 200 SMA.
Confirmation: Volume spikes, and a bullish engulfing candle forms.
Action: Enter long with a stop-loss just below the 200 SMA and target extensions like 1.618.
Key Takeaways:
The 200 SMA serves as a reliable long-term trend anchor.
Fibonacci retracements and extensions provide dynamic zones for trade entries, exits, and risk management.
Combining this tool with volume, price action, or other indicators enhances its effectiveness.
Dynamic Market ScannerDynamic Market Scanner is a powerful tool for analyzing financial markets, combining a variety of indicators to provide clear and understandable signals.
Key Features:
- Signal Generation:
The main signals "Buy", "Sell", and "Hold" are formed based on the analysis of indicators:
- MACD
- RSI
- SMA
- EMA
- WMA
- Hull MA
Additional Analytical Tools:
- ATR is used to assess volatility and helps to understand the risk of the current market situation.
- SMA Ichimoku does not generate signals but is used to assess their accuracy.
- If the price is above the SMA, "Buy" signals are more likely, as this confirms the strength of the upward movement.
- If the price is below the SMA, "Buy" signals require additional confirmations.
Dashboard:
Displays the current price position relative to the indicators, helping the trader understand how strong or weak the current signals are.
Advantages of Using:
1. Signal Filtering:
The price position relative to the SMA Ichimoku helps to assess the likelihood of successful trades.
2. Volatility Analysis:
ATR provides additional information about risks and market fluctuations.
3. Comprehensive Approach:
Signal generation is based on a combination of key indicators, offering a multifaceted view of the market.
Explanation of Percent Calculation in the Table:
- The table shows the values of indicators such as MACD, ATR, EMA, SMA, WMA, and Hull MA in percentages. Percentages are calculated based on the current value of the indicator relative to its maximum and minimum.
- Percentages are displayed for each indicator, allowing traders to assess market conditions based on their current values.
Dynamic Market Scanner will become a reliable assistant in your technical analysis toolkit, providing a comprehensive overview of market conditions and helping to make informed trading decisions.
Macro ParadoxMacro Paradox: A Detailed Explanation
This indicator utilizes multiple streams of global liquidity data (from the US, China, Japan, the UK, and the Eurozone) and combines them with the DXY and HYG for a “macro plumbing” insight. Surprisingly, this creates a paradoxical predictive relationship: when the green line (Weighted DXY) begins rising, dollar-denominated equities (e.g., SPY) often show bullish momentum about 4–7 days later, and vice versa. Below is an in-depth explanation of why and how this occurs.
Global Liquidity Calculation
The script aggregates the balance sheets or liquidity proxies of major central banks and bond markets, including:
Bank of Japan (multiplied by JPYUSD)
People’s Bank of China (multiplied by CNYUSD)
Bank of England (multiplied by GBPUSD)
US Federal Reserve (WALCL)
European Central Bank (multiplied by EURUSD)
Subtracts reverse repo (RRP) and US Treasury general account (TGA) balances (treas_genac)
This net figure represents the total “flow” of major currency liquidity. Higher net liquidity often indicates rising risk-on appetite; lower liquidity can imply risk-off conditions.
HYG Inclusion for Risk Appetite
HYG (the high-yield corporate bond ETF) is a strong barometer of market risk tolerance. When HYG is robust, it indicates investors are willing to buy higher-yield, lower-rated corporate bonds—implying confidence in economic expansion. The script scales HYG like total liquidity, then applies a user-defined weighting ( hygWeight ) so its movement influences the final combined line.
Scaling and Double-EMA Smoothing
For both liquidity ( total ) and each risk metric (DXY, HYG), the script:
Normalizes them over a lookback window ( lookbackBars ) to a 0–100 scale, aligning different absolute values onto a comparable range.
Applies two EMAs in sequence ( smoothLengthFast , smoothLengthSlow )—similar to a MACD-style smoothing—to remove noise and reveal underlying trend momentum more clearly.
By smoothing twice, you get a cleaner signal, making it easier to spot turning points without the usual whipsaws seen with single-smoothing.
Weighted by the Chart’s Price Action
To reflect how these macro flows interact with the specific ticker, the script compares close price to its EMA ( myTickerEma ). The ratio ( close / myTickerEma ) is raised to weightPower , amplifying how overextended or under-extended the ticker is relative to its own trend. The final scaled lines are multiplied by this “ weightFactor ,” adapting them to each ticker’s current price trend.
“Paradoxical” DXY Relationship Explained
Conventionally, a strengthening US dollar can pressure risk assets. However, this script shows a rising Weighted DXY line (green) is often followed by bullishness in dollar-based equities (e.g., SPY) several days later. Why?
When global liquidity is high, capital can flow into US assets, supporting both the dollar and equities.
HYG being strong signals credit-fueled demand; combined with global liquidity, this can push bond and equity prices higher simultaneously.
As the DXY “catches a bid,” it hints at global investors allocating to US assets. This often takes 4–7 days to reflect in the broader equity market, giving the illusion of a “paradox.”
Practical Usage and Timeframes
Because major liquidity data (from central banks, RRP, TGA, etc.) is updated once a day or weekly, smaller intraday charts (like 1-hour) will not accurately capture these macro flows. For this reason, the indicator is most reliable on Daily charts. At higher frequency, signals can be misleading because the macro data does not refresh that often.
Why It’s Unique
Combines total global net liquidity and credit risk sentiment (HYG) into one line, then cross-compares it to DXY for insight into capital flows.
Applies a two-stage EMA smoothing for each series, reducing noise and clarifying the macro trend signal.
Weights the signal by the chart’s own price trend, adapting to each ticker’s technical conditions.
Reveals an unusual yet historically consistent “delayed bullishness” effect when the Weighted DXY (green) starts climbing.
A rising Weighted DXY line (green) often foretells— 4 to 7 days later —an upswing in US equities, contrary to the typical notion that a stronger dollar always harms risk assets. By blending net global liquidity, HYG’s risk appetite measure, and a weighting factor keyed to the chart’s trend, this indicator provides a novel, smoother view of macro flows.
Note: For best results, use Daily or higher timeframes to align with the release schedule of the underlying liquidity data. This avoids short-term noise that doesn’t reflect actual macro changes.
Dabel MS + FVGThis script is designed to assist traders by identifying market structures, imbalances, and potential trade opportunities using Break of Structure (BOS) and Market Structure Shifts (MSS). It visually highlights imbalances in price action, key pivots, and market structure changes, providing actionable information for making trading decisions.
Key features:
Imbalances Detection: Highlights bullish and bearish price gaps (Fair Value Gaps) using colored boxes. Users can choose the line style (solid, dashed, or dotted) for imbalance midlines.
Market Structure Analysis: Tracks pivot highs and lows to identify BOS and MSS in two separate market structures with adjustable pivot strengths.
Customizable Visualization: Allows users to choose line styles, colors, and display options for both imbalances and market structures.
Alerts: Alerts traders when BOS or MSS occur, helping to monitor the market effectively.
Trading Strategy
Imbalance Trading:
Imbalances (gaps) represent areas where supply or demand was left unfilled. These gaps often act as magnet zones where the price revisits to fill.
Bullish Imbalance: Look for buying opportunities when price enters a green imbalance zone.
Bearish Imbalance: Look for selling opportunities when price enters a red imbalance zone.
Use the midline of the imbalance box as a key reference point for potential reversals.
Break of Structure (BOS) and Market Structure Shift (MSS):
BOS: Indicates a continuation of the existing trend. For example:
Bullish BOS: Look for continuation in the uptrend after a high is broken.
Bearish BOS: Look for continuation in the downtrend after a low is broken.
MSS: Suggests a potential reversal in market structure. For example:
Bullish MSS: Indicates a possible shift from a bearish to bullish market.
Bearish MSS: Indicates a potential shift from a bullish to bearish market.
Multiple Market Structures:
This script provide two sets of market structures, allowing traders to compare short-term and long-term trends.
Adjust the pivot strength to suit your trading style (lower for intraday trading, higher for swing or positional trading).
Entry and Exit:
Entry: Look for entries near imbalances or after confirmed BOS/MSS in line with the overall trend.
Exit: Place stop-loss below/above recent pivots and take profit at nearby support/resistance or imbalance zones.
For New Traders
Focus on Basics: Understand what BOS and MSS mean and how they signal trend direction or reversals.
Use Alerts: Rely on the script's alert system to catch important moments without staring at charts all day.
Start Small: Test this strategy on a demo account before using it live. You can understand it more with practice.
Hull Suite by MRS**Hull Suite by MRS Strategy Indicator**
The Hull Suite by MRS Strategy is a technical analysis tool designed to provide insights into market trends using variations of the Hull Moving Average (HMA). This strategy aims to help traders identify optimal entry points for both long and short positions by utilizing multiple types of Hull-based indicators.
### Key Features:
1. **Hull Moving Average Variations**: The indicator offers three different Hull Moving Average variants:
- **HMA (Hull Moving Average)**: A fast-moving average that minimizes lag and reacts quickly to price changes.
- **EHMA (Enhanced Hull Moving Average)**: A smoother version of HMA with reduced noise, offering a clearer view of market trends.
- **THMA (Triple Hull Moving Average)**: A more complex Hull average that aims to provide a stronger confirmation of trend direction.
2. **Customizable Parameters**:
- **Source Selection**: Allows traders to choose the source for calculation (e.g., closing prices).
- **Length**: A configurable parameter to adjust the period over which the moving average is calculated (e.g., 55-period for swing entries).
- **Trend Coloring**: Users can enable automatic color-coding of the Hull moving average to reflect whether the market is in an uptrend (green) or downtrend (red).
- **Candle Color**: Option to color candles based on Hull's trend, further improving the visual clarity of trend direction.
3. **Entry and Exit Signals**:
- **Buy Signal**: Generated when the Hull moving average crosses above its historical value, indicating a potential upward price movement.
- **Sell Signal**: Triggered when the Hull moving average crosses below its historical value, signaling a potential downward price movement.
- The strategy can be customized to work with long, short, or both directions, making it adaptable for various market conditions.
4. **Visual Representation**:
- **Hull Bands**: The indicator can plot the Hull moving average as bands, with customizable transparency to suit individual preferences.
- **Band Filler**: The area between the two Hull moving averages is filled, making it easier to identify trends at a glance.
5. **Backtesting and Strategy Execution**: This strategy can be tested on historical data with adjustable backtest start and stop dates, providing traders with a better understanding of its performance before live trading.
### Purpose:
The Hull Suite by MRS Strategy is designed to assist traders in determining the optimal time to enter and exit the market based on robust Hull moving averages. With its flexibility, it can be used for trend-following, swing trading, or other strategic applications.
Enhanced HMA 5D standard Deviation - RickSimple hull moving average enhanced with standard deviation bands calculated over a 5 day period to account for volatility in ranging periods.
Possibility to choose the source of the hull calculation, as well as the source to use as threshold for long and short signal.
Two different types of visualization: candle coloring or moving average.
Phase Cross Strategy with Zone### Introduction to the Strategy
Welcome to the **Phase Cross Strategy with Zone and EMA Analysis**. This strategy is designed to help traders identify potential buy and sell opportunities based on the crossover of smoothed oscillators (referred to as "phases") and exponential moving averages (EMAs). By combining these two methods, the strategy offers a versatile tool for both trend-following and short-term trading setups.
### Key Features
1. **Phase Cross Signals**:
- The strategy uses two smoothed oscillators:
- **Leading Phase**: A simple moving average (SMA) with an upward offset.
- **Lagging Phase**: An exponential moving average (EMA) with a downward offset.
- Buy and sell signals are generated when these phases cross over or under each other, visually represented on the chart with green (buy) and red (sell) labels.
2. **Phase Zone Visualization**:
- The area between the two phases is filled with a green or red zone, indicating bullish or bearish conditions:
- Green zone: Leading phase is above the lagging phase (potential uptrend).
- Red zone: Leading phase is below the lagging phase (potential downtrend).
3. **EMA Analysis**:
- Includes five commonly used EMAs (13, 26, 50, 100, and 200) for additional trend analysis.
- Crossovers of the EMA 13 and EMA 26 act as secondary buy/sell signals to confirm or enhance the phase-based signals.
4. **Customizable Parameters**:
- You can adjust the smoothing length, source (price data), and offset to fine-tune the strategy for your preferred trading style.
### What to Pay Attention To
1. **Phases and Zones**:
- Use the green/red phase zone as an overall trend guide.
- Avoid taking trades when the phases are too close or choppy, as it may indicate a ranging market.
2. **EMA Trends**:
- Align your trades with the longer-term trend shown by the EMAs. For example:
- In an uptrend (price above EMA 50 or EMA 200), prioritize buy signals.
- In a downtrend (price below EMA 50 or EMA 200), prioritize sell signals.
3. **Signal Confirmation**:
- Consider combining phase cross signals with EMA crossovers for higher-confidence trades.
- Look for confluence between the phase signals and EMA trends.
4. **Risk Management**:
- Always set stop-loss and take-profit levels to manage risk.
- Use the phase and EMA zones to estimate potential support/resistance areas for exits.
5. **Whipsaws and False Signals**:
- Be cautious in low-volatility or sideways markets, as the strategy may generate false signals.
- Use additional indicators or filters to avoid entering trades during unclear market conditions.
### How to Use
1. Add the strategy to your chart in TradingView.
2. Adjust the input settings (e.g., smoothing length, offsets) to suit your trading preferences.
3. Enable the strategy tester to evaluate its performance on historical data.
4. Combine the signals with your own analysis and risk management plan for best results.
This strategy is a versatile tool, but like any trading method, it requires proper understanding and discretion. Always backtest thoroughly and trade with discipline. Let me know if you need further assistance or adjustments to the strategy!
STH MVRV + Double MA | JeffreyTimmermansSTH MVRV + Double MA
This indicator combines blockchain analytics and technical analysis to provide traders with insights into market trends and cycles. At its core, it utilizes the Short-Term Holder (STH) Market Value to Realized Value (MVRV) ratio, a powerful metric in blockchain analysis, alongside Moving Averages (MA's) to offer a comprehensive view of market dynamics.
What Is the STH-MVRV Ratio?
The STH-MVRV ratio is a blockchain-based metric that compares the market value of Bitcoin held by short-term holders to its realized value.
Market Value: The current price of Bitcoin multiplied by the number of coins held by short-term holders.
Realized Value : The average price at which short-term holders acquired their Bitcoin, based on blockchain transaction data.
This ratio provides a unique perspective on market sentiment:
Above 1: Short-term holders, on average, are in profit. This often signals a bullish market.
Below 1: Short-term holders are, on average, at a loss, which can indicate bearish sentiment.
The STH-MVRV is particularly useful for identifying potential market tops or bottoms, as short-term holder behavior often reflects broader market trends.
How Does This Indicator Work?
The STH MVRV + Double MA indicator builds on the STH-MVRV ratio by integrating it with additional data and tools to enhance its practical use:
STH-MVRV Variations:
STH-MVRV (MVRV): The traditional ratio as described above.
Price-Based MVRV: A variation using Bitcoin price to measure similar dynamics.
Average MVRV: A hybrid metric combining the two for balanced insights.
Dynamic Moving Averages (MA's):
Primary SMA (STH-MVRV): Smooths out fluctuations in the STH-MVRV ratio over a default period of 155 days.
Extra MA: A faster-moving average for shorter-term trends (default: 50 days).
Second MA: A slower-moving average for longer-term trends (default: 200 days).
Visual and Alert Features:
Color-coded plots to highlight bullish or bearish conditions.
Alerts for key crossover events, such as when STH-MVRV crosses above/below critical levels or Moving Averages.
Key Features
STH-MVRV as a Sentiment Gauge:
Use the ratio to determine whether short-term holders are profiting (bullish) or losing (bearish).
Moving Average Integration:
Identify trends and reversals with customizable Moving Averages.
Crossovers between MA's and the STH-MVRV indicate actionable trading signals.
Customizable Parameters:
Tailor SMA and MA settings to align with your strategy.
Adjust colors and labels for clearer insights.
Real-Time Updates:
Dynamic labels display the current values of STH-MVRV, Price-based MVRV, or the Average, providing instant clarity.
How to Use This Indicator
Gauge Market Sentiment:
Use the STH-MVRV to understand whether the market is overvalued or undervalued based on short-term holder behavior.
Trend Identification with MA's:
Monitor crossovers between STH-MVRV and Moving Averages for potential buy or sell signals.
Analyze Market Cycles:
Use the Average MVRV to gain a broader view of market conditions, balancing short-term and long-term insights.
What Makes This Indicator Unique?
In-Depth Blockchain Metric: Builds directly on the STH-MVRV ratio, a key metric in blockchain analysis.
Integrated Analysis: Combines the STH-MVRV with Moving Averages for enhanced functionality.
Customizability and Practicality: Users can adapt the settings to fit their unique trading style, ensuring the tool is both flexible and powerful.
This combination of blockchain insights and technical tools makes the STH MVRV + Double MA indicator an essential addition to any trader’s arsenal. Use it to stay ahead of market trends and make informed decisions with confidence.
-Jeffrey
MA Crossover + RSI Strategy [deepakks444]MA Crossover + RSI Strategy Indicator
This indicator is designed to provide buy (long) and sell (short) signals based on a combination of moving average (MA) crossovers, the Relative Strength Index (RSI), and a custom moving average filter. It allows traders to identify potential entry and exit points based on price trends and momentum.
Key Components
Moving Averages (MAs):
Short EMA (Exponential Moving Average): Default length of 9.
Long EMA: Default length of 21.
These MAs are used to detect trend crossovers. A bullish trend is indicated when the short EMA crosses above the long EMA, and a bearish trend is indicated when the short EMA crosses below the long EMA.
Custom Moving Average (Custom MA):
Configurable to be one of the following: SMA (Simple Moving Average), EMA, WMA (Weighted Moving Average), or VWMA (Volume Weighted Moving Average).
Default length is 200, commonly used as a long-term trend indicator.
Color-coded dynamically:
Green: Price is above the Custom MA.
Red: Price is below the Custom MA.
Relative Strength Index (RSI):
Default length of 14.
Customizable Overbought Level (default: 60) and Oversold Level (default: 40).
Provides a momentum filter to ensure trades are taken when the market exhibits strong trends in a favorable direction.
Signal Logic
Buy Signal (Long Entry - XL):
The Short EMA crosses above the Long EMA (bullish crossover).
RSI value is above the oversold level (indicating momentum is not excessively weak).
The price is above the Custom MA, confirming alignment with the prevailing trend.
Sell Signal (Short Entry - XS):
The Short EMA crosses below the Long EMA (bearish crossover).
RSI value is below the overbought level (indicating momentum is not excessively strong).
The price is below the Custom MA, confirming alignment with the prevailing trend.
Pending Signals
Pending signals account for situations where the crossover and RSI conditions are met, but the price has not yet crossed the Custom MA. These are tracked to activate only when the price moves in alignment with the Custom MA:
Pending Buy:
Triggered when:
Short EMA crosses above Long EMA.
RSI > Oversold Level.
Price is below the Custom MA.
Activates when the price crosses above the Custom MA.
Pending Sell:
Triggered when:
Short EMA crosses below Long EMA.
RSI < Overbought Level.
Price is above the Custom MA.
Activates when the price crosses below the Custom MA.
Visual Elements
EMA Lines:
Blue Line: Short EMA.
Red Line: Long EMA.
Custom MA:
Green: Indicates price is above the Custom MA.
Red: Indicates price is below the Custom MA.
Signal Arrows:
Green UP Arrow (XL): Buy signal.
Red DOWN Arrow (XS): Sell signal.
Alerts
Configurable alerts notify the user when:
Buy Signal: "Price crossed above the short EMA and RSI is oversold."
Sell Signal: "Price crossed below the short EMA and RSI is overbought."
Strategy Overview
This strategy combines trend-following (EMA crossovers) and momentum confirmation (RSI) with a Custom MA filter to ensure trades align with broader market trends. The Custom MA acts as a safety check, preventing trades against the prevailing trend.
Disclaimer
This script is for educational purposes only. Trading involves significant financial risk, and past performance is not indicative of future results. Use this script at your own discretion, and always backtest before deploying it in live markets. The author is not responsible for any financial losses incurred while using this script.
Suitability
This indicator is suitable for traders who prefer to combine trend-based strategies with momentum confirmation to filter out false signals and increase trade reliability.
StdDev of VWAP/MAStdDev Indicator (MA, Smoothed VWAP & Rolling VWAP) v5
Overview: The StdDev Indicator is a comprehensive tool designed to provide traders with multi-term deviation analysis by integrating various Moving Averages (MA) and Volume Weighted Average Price (VWAP) methodologies. This indicator combines different MA types and VWAP calculations across multiple timeframes to offer a nuanced view of market volatility and trend strength.
Key Features:
Multiple Moving Average Types:
Simple Moving Average (SMA): Calculates the average price over a specified period, providing a straightforward trend indicator.
Exponential Moving Average (EMA): Gives more weight to recent prices, making it more responsive to new information.
Weighted Moving Average (WMA): Assigns different weights to each price point, emphasizing specific periods.
Smoothed VWAP: Enhances the traditional VWAP by applying additional smoothing techniques (SMA, EMA, WMA) to reduce volatility.
Rolling VWAP: Continuously recalculates VWAP over a rolling window, offering dynamic support and resistance levels.
Multi-Term Deviation Analysis:
Extra Short Term (30 periods)
Short Term (50 periods)
Medium Term (110 periods)
Long Term (125 periods)
Extra-Long Term (190 periods)
Extremely-Long Term (245 periods)
Each term calculates the deviation of the selected price source (default: Low) from its corresponding MA or VWAP, normalized by the standard deviation. This multi-term approach allows traders to assess volatility and trend consistency across different time horizons.
Composite Upper and Lower Bounds:
Aggregates the upper and lower deviations from all terms to form composite boundaries. These bounds serve as dynamic support and resistance levels, helping traders identify potential reversal points or breakout zones.
Timeframe Customization:
Visibility Settings: Customize which deviation terms are visible on specific timeframes (15m, 1h, 4h, 1d, 1w). This flexibility ensures that the indicator aligns with your trading strategy, whether you're a scalper, day trader, or long-term investor.
Bar Coloring (Optional):
Visual Cues: When enabled, bars are color-coded based on the deviation levels, providing immediate visual feedback on market conditions. For example, bars may turn red when short-term deviations exceed the upper bound, indicating potential overbought conditions.
How It Works:
Deviation Calculation:
For each selected MA or VWAP type and term length, the indicator calculates the deviation of the current price source from the MA/VWAP. This deviation is normalized by the standard deviation to account for volatility.
Channel Offset:
Applies a linear regression and standard deviation to the deviation series to establish upper and lower channels. These channels are adjustable via multipliers, allowing traders to set their sensitivity levels.
Composite Boundaries:
Averages the upper and lower channels across all deviation terms to form composite upper and lower bounds. These bounds provide a holistic view of market volatility and trend strength.
Visualization:
Plots individual deviation lines for each term, along with the composite bounds. Optional bar coloring enhances visual interpretation, making it easier to spot significant market movements.
Usage Instructions:
Setup:
Add the StdDev Indicator to your TradingView chart. By default, it uses the Low price as the source, but this can be customized.
Configuration:
Moving Average Type: Select your preferred MA or VWAP type from the dropdown menu.
Term Lengths: Adjust the lengths for each deviation term as per your trading strategy.
StdDev Multipliers: Set the multipliers for the upper and lower bounds to control sensitivity.
Timeframe Visibility: Choose which deviation terms are visible on specific timeframes to tailor the indicator to your trading style.
Bar Coloring: Enable or disable bar coloring based on deviation thresholds for enhanced visual cues.
Interpretation:
Deviations: Monitor the deviation lines to assess overbought or oversold conditions across different terms.
Composite Bounds: Use the upper and lower bounds as dynamic support and resistance levels.
Bar Colors: Quickly identify significant market movements through color-coded bars.
Why Choose StdDev Indicator?
Comprehensive Analysis: By integrating multiple MA and VWAP types across various terms, the indicator offers a multifaceted view of market conditions.
Customization: Highly configurable settings allow traders to adapt the indicator to their specific strategies and timeframes.
Visual Clarity: Clear plotting and optional bar coloring provide intuitive insights, reducing the need for complex analysis.
Conclusion: The StdDev Indicator (MA, Smoothed VWAP & Rolling VWAP) v5 is a versatile tool that combines advanced moving average and VWAP methodologies to deliver a robust deviation analysis framework. Whether you're looking to fine-tune your scalping strategy or gain a deeper understanding of long-term market trends, this indicator equips you with the necessary tools to make informed trading decisions.
Support & Feedback: If you have any questions or need assistance with the indicator, feel free to reach out through the TradingView community or contact the script author directly.
Landry Light Pine ScannerLandry Light Pine Scanner
The Landry Light Pine Scanner is a comprehensive technical analysis tool designed to identify stocks showing strong upward trends based on the Landry Light methodology. It scans for stocks where:
Today's low and yesterday's low are above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA 50 is above SMA 150, and SMA 150 is above SMA 200 (a strong bullish SMA hierarchy).
Features:
Trend Detection: Automatically highlights stocks with strong bullish trends based on EMA and SMA alignment.
Customizable Inputs: Users can adjust EMA and SMA lengths to fit their trading style.
Visual Clarity: Plots the 30 EMA, SMA 50, SMA 150, and SMA 200 directly on the chart for easy analysis.
Alert Ready: Integrated with TradingView's alert system to notify users when the conditions are met.
Chart Highlights: Automatically highlights bars that meet the conditions with a subtle green background.
Use Case:
This indicator is ideal for swing traders and position traders looking for potential breakout opportunities. By filtering stocks with a bullish structure, traders can focus on high-probability setups.
Conditions Used:
30 EMA Conditions:
Today's low is above the 30 EMA.
Yesterday's low is above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA Hierarchy:
SMA 50 is above SMA 150.
SMA 150 is above SMA 200.
Customization Options:
30 EMA Length: Adjustable to match user preferences.
SMA Lengths: SMA 50, SMA 150, and SMA 200 lengths are customizable for flexibility.
Alerts:
Users can set alerts for when the defined conditions are met, making it easy to monitor multiple stocks.
How to Use:
Apply the Indicator:
Add the indicator to your TradingView chart.
Set Alerts:
Use the built-in alert condition for automated notifications.
Analyze Trends:
Look for green-highlighted bars indicating stocks meeting the criteria.
Screen Stocks:
Use this tool as part of your screener to filter stocks efficiently.
Note:
This indicator does not provide buy or sell signals. Always combine it with other technical and fundamental analysis for informed trading decisions.
Publishing Tags:
Landry Light, EMA, SMA, Trend Analysis, Swing Trading, Position Trading, Technical Analysis, Breakout Scanner, TradingView, Pine Script
Uptrick: Oscillator SpectrumUptrick: Oscillator Spectrum is a versatile trading tool designed to bring together multiple aspects of technical analysis—oscillators, momentum signals, divergence checks, correlation insights, and more—into one script. It includes customizable overlays and alert conditions intended to address a wide range of market conditions and trading styles.
Developed in Pine Script™, Uptrick: Oscillator Spectrum represents an extended version of the classic Ultimate Oscillator concept. It consolidates short-, medium-, and long-term momentum readings, applies correlation analysis across different symbols, and offers optional table-based metrics to provide traders with a more structured overview of potential trade setups. Whether used alongside your existing charts or as a standalone toolkit, it aims to build on and enhance the functionality of the standard Ultimate Oscillator.
### A Few Key Features
- Momentum Insights: Multiple timeframes for oscillators, plus buy/sell signal modes for flexible identification of overbought/oversold situations or crossovers.
- Divergence Detection: Automated checks for bullish/bearish divergences, aiming to help traders spot potential shifts in momentum.
- Correlation Meter: A visual histogram summarizing how selected assets are collectively trending. It is useful for tracking the bigger market picture.
- Gradient Overlays & Bar Coloring: Dynamic color transitions designed to emphasize changes in momentum, trend shifts, and overall sentiment without cluttering the chart.
- Money Flow Tracker: Tracks the flow of money into and out of the market using a smoothed Money Flow Index (MFI). Highlights overbought/oversold conditions with dynamic bar coloring and visual gradient fills, helping traders assess volume-driven sentiment shifts.
- Advanced Table Metrics: An optional table showing return on investment (ROI), collateral risk, and other contextual metrics for supported assets.
- Alerts & Automation: Configurable alerts covering divergence events, crossing of critical levels, and more, helping to keep traders informed of developments in real time.
### Intended Usage
- For Multiple Markets: Works on various markets (cryptocurrencies, forex pairs, stocks) to deliver a consistent view of momentum, potential entry/exit signals, and correlation.
- Adaptable Trading Styles: With customizable input settings, you can enable or disable specific features to align with your preferred strategies—intraday scalping, swing trading, or position holding.
By combining these elements under one indicator, Uptrick: Oscillator Spectrum allows traders to streamline analysis workflows, helping them stay focused on interpreting market moves and making informed decisions rather than juggling multiple scripts.
Purpose
Purpose of the “Uptrick: Oscillator Spectrum” Indicator
The “Uptrick: Oscillator Spectrum” indicator is intended to bring together several technical analysis elements into one tool. It combines oscillator-based momentum readings across different lookback periods, checks for potential divergences, provides optional buy/sell signal triggers, and offers correlation-based insights across multiple symbols. Additionally, it includes features such as bar coloring, gradient visualization, and user-configurable alerts to help highlight various market conditions.
By consolidating these functions, the script aims to help users systematically observe changing momentum, identify when prices reach user-defined overbought or oversold levels, detect when oscillator movements diverge from price, and examine whether different assets are aligning or diverging in their trends. The indicator also allows for optional advanced metric tables, which can supply further context on risk, ROI calculations, or other factors for supported assets. Overall, the script’s purpose is to organize multiple layers of technical analysis so that users have a structured way to evaluate potential trade opportunities and market behavior.
## Usage Guide
Below is an outline of how you can utilize the various components and features of Uptrick: Oscillator Spectrum in your charting workflow.
---
### 1. Using the Core Oscillator
- Basic View: By default, the script calculates a multi-timeframe oscillator (commonly displayed as the “Ultimate Oscillator”). This oscillator combines short-, medium-, and long-term measurements of buying pressure and true range.
- Overbought/Oversold Zones: You can configure thresholds (e.g., 70 for overbought, 30 for oversold) to help identify potential turning points. When the oscillator crosses these levels, it may indicate that price is extended in one direction.
- You can use the colors of the main oscillator to help you take short-term trades as well: cyan : Buy , red: Sell
- Alerts: If you enable alerts, the indicator can notify you when the oscillator crosses above or below your chosen overbought/oversold boundaries or when you get buy/sell signals.
---
### 2. Buy/Sell Signals in Overlay Modes
Uptrick: Oscillator Spectrum provides several signal modes and a choice between overlay true and overlay false or both. Additionally, you can pick which “line” (data source) the script uses to generate signals. This is set in the “Line to Analyze” dropdown, which includes Oscillator, HMA of Oscillator, and Moving Average. The following sections describe how each piece fits together.
---
#### Line to Analyze - Overlay Flase: Oscillator / HMA of Oscillator / Moving Average
1. Oscillator
- The core momentum reading, reflecting short-, medium-, and long-term periods combined.
2. HMA of Oscillator
- Applies a Hull Moving Average to the oscillator, creating a smoother but still responsive curve.
- Signals will be derived from this smoothed line. Some traders find it filters out minor fluctuations while remaining quicker to react than standard averages.
3. Moving Average
- Uses a user-selected MA type (SMA, EMA, WMA, etc.) over the oscillator values, rather than the raw oscillator itself.
- Tends to be more stable than the raw oscillator, but might delay signals more depending on the chosen MA settings.
---
#### Signal Modes
Regardless of which line you choose to analyze, you can use one of the following seven signal modes in overlay being true:
1. Overbought/Oversold (Pyramiding)
- What It Does:
- Buy signal when the chosen line crosses below the oversold threshold.
- Sell signal when it crosses above the overbought threshold.
- Pyramiding:
- Allows multiple triggers within the same overbought/oversold event.
2. Overbought/Oversold (Non Pyramiding)
- What It Does:
- Same thresholds but only one signal per oversold or overbought event.
- Use Case:
- Prevents repeated signals and chart clutter.
3. Smoothed MA Middle Crossover
- What It Does:
- Uses an MA defined by the user.
- Buy when crossing above the midpoint (50), Sell when crossing below.
- Use Case:
- Generates fewer signals, focusing on broader momentum shifts. There is no pyramiding.
In this image ,for example, the VWMA is used with length of 14 to identify buy sell signals.
4. Crossing Above Overbought/Below Oversold (Non Pyramiding)
- What It Does:
- Buy occurs if the line exits oversold territory by crossing back above it.
- Sell occurs if the line exits overbought territory by crossing back below it.
- Non Pyramiding:
- Restricts repeated signals until conditions reset.
5. Crossing Above Overbought/Below Oversold (Pyramiding)
- What It Does:
- Same thresholds, but allows multiple signals if the line repeatedly dips in and out of overbought or oversold.
- Use Case:
- More frequent entries/exits for active traders.
6. Divergence (Non Pyramiding)
- What It Does:
- Identifies bullish or bearish divergences using the chosen line vs. price.
- Buy for bullish divergence (higher low on the line vs. lower low on price), Sell for bearish divergence.
- Single Trigger:
- Only one signal per identified divergence event. (non pyramiding)
7. Divergence (Pyramiding)
- What It Does:
- Same divergence logic but triggers multiple times if the script sees repeated divergence in the same direction.
- Use Case:
- Could suit traders who layer positions during sustained divergence scenarios.
#### Overlay Modes: True vs. False
1. Overlay True
- Buy/sell arrows or labels plot directly on the main price chart, often at or near candlesticks.
- Bar Coloring:
- Can turn the candlestick bars green (buy) or red (sell), with intensity reflecting signal recency if bar coloring is enabled for this mode. (read below.)
- Advantage:
- Everything (price, signals, bar colors) is in one spot, making it straightforward to associate signals with current market action. You can adjust the periods of the main oscillator or lookback periods of divergences or overbought/oversold thresholds, to play around with your signals.
2. Overlay False
- Signal Placement:
- Signals appear in a sub-window or oscillator panel, leaving the main price chart uncluttered.
- Bar Coloring:
- You may still enable bar colors on the main chart (green for buy, red for sell) if desired.
- Alternatively, you can keep them neutral if you prefer a completely separate display of signals.
- Advantage:
- Clear separation of price action from signals, useful for cleaner charts or if using multiple overlay-based tools.
At the bottom are the signals for overlay being false and on the chart are the signals for overlay being true:
#### Bar Color Adjustments
1. Coloring Logic
- Bars typically go green on buy signals, red on sell signals.
- The opacity or brightness can vary to indicate signal freshness. When a new signal is formed, the color gets brighter. When there is no signal for a longer period of time, then the color slowly fades.
2. Enabling Bar Coloring
- In the indicator’s settings, turn on Bar Coloring.
- Choose “Signals Overlay True” or “Signals Overlay False” from the “Color should depend on:” dropdown, depending on which overlay approach you want to drive your bar colors. You can also chose the cloud fill in overlay false, correlation meter and smoothed HMA to color bars. Read more below:
### Bar Color Options:
When you enable bar coloring in Uptrick: Oscillator Spectrum, you can select which component or signal logic drives the color changes. Below are the five available choices:
---
#### Option 1: Overlay True Signals
- What It Does:
- Uses signals generated under the Overlay True mode to color the bars on your main chart.
- If a buy signal is triggered, bars turn green. If a sell signal occurs, bars turn red.
- Color Intensity:
- Bars appear brighter (more opaque) immediately after a new signal fires, then gradually fade over subsequent bars if no new signal appears.
---
#### Option 2: Overlay False Signals
- What It Does:
- Links bar coloring to signals generated when Overlay False mode is active.
- Buy/sell labels typically plot in a separate sub-window instead of the main chart, but your price bars can still change color based on these signals.
- Color Intensity:
- Similar to Overlay True, new buy/sell signals yield stronger color intensity, which fades over time.
- Use Case:
- Helps maintain a clean main chart (with signals off-chart) while still providing an immediate color-coded indication of a buy or sell state.
- Particularly useful if you prefer less clutter from signal markers on your price chart yet still want a visual representation of signal timing.
In this example normal divergence Pyramiding Signals are used in the overlay being true and the signals in overlay false are signals that analyze the HMA. This can help clear out noise (using a combo of both).
Option 3: Money Flow Tracker
What It Does:
The Money Flow Tracker uses the Money Flow Index (MFI), a volume-weighted oscillator, to measure the strength of money flowing into or out of an asset. The script smooths the raw MFI data using an EMA for a more responsive and visually intuitive output.
The feature also includes dynamic color gradients and bar coloring that highlight whether money flow is positive or negative.
Green Fill/Bar Color: Indicates positive money flow, suggesting potential accumulation.
Red Fill/Bar Color: Indicates negative money flow, signaling potential distribution.
Overbought and oversold thresholds are dynamically emphasized with transparency, making it easier to identify high-confidence zones.
Use Case:
Ideal for traders focusing on volume-driven sentiment to identify turning points or confirm existing trends.
Suitable for assessing broader market conditions when used alongside other indicators like oscillators or correlation analysis.
Provides additional clarity in spotting areas of accumulation or distribution, making it a valuable complement to price action and momentum studies.
---
#### Option 4: Correlation Meter
- What It Does:
- Colors the bars based on the indicator’s Correlation Meter output. The script checks multiple chosen tickers and sums up how many are trending positively or negatively.
- If the meter indicates an overall bullish bias (e.g., more than three assets in uptrend), bars turn green; if it’s bearish, bars turn red.
- Trend Readings:
- The correlation meter typically plots a histogram of bullish/neutral/bearish states. The bar color option links your chart’s candlestick coloring to that higher-level market sentiment.
- Use Case:
- Useful for traders wanting a quick visual prompt of whether the broader market (or a selection of related assets) is bullish or bearish at any given time.
- Helps avoid signals that conflict with the market majority.
#### Option 5: Smoothed HMA
- What It Does:
- Bar colors are driven by the slope or state of the Hull Moving Average (HMA) of the oscillator, rather than individual buy/sell triggers or correlation data.
- If the HMA indicates a strong upward slope (possibly darkening), bars may turn green; if the slope is downward (purple in the HMA line), bars turn red.
- Use Case:
- Ideal for those who focus on momentum continuity rather than discrete signals like overbought/oversold or divergence.
- May help identify smoother, more sustained moves, as the HMA filters out minor oscillations.
---
### 3. Using the Hull Moving Average (HMA) of the Oscillator
- HMA Calculation: You can enable a dedicated Hull Moving Average (HMA) for the oscillator. This creates a smoother line of the same underlying momentum reading, typically responding more quickly than classic moving averages.
- Color Intensity: As the HMA sustains an uptrend or downtrend, the script can adjust the line’s color. When slope momentum persists in one direction, the color appears more opaque. This intensification can hint that the existing direction may be well-established.
- Reversal Potential: If you observe the HMA color shifting or darkening after multiple bars of slope in the same direction, it may indicate increasing momentum. Conversely, a sudden flattening or change in color can be a clue that momentum is waning.
---
### 4. Moving Average Overlays & Gradient Cloud
- Oscillator MA: The script allows you to apply moving average types (SMA, EMA, SMMA, WMA, or VWMA) to the core oscillator, rather than to price. This can smooth out noise in the oscillator, potentially highlighting more consistent momentum shifts.
- Gradient Cloud: You can also enable a cloud in overlay true between two moving averages (for instance, a Hull MA and a Double EMA) on the price chart. The cloud fills with different colors, depending on which MA is above the other. This can provide a quick visual reference to bullish or bearish areas.
---
### 5. Divergence Detection
- Bullish & Bearish Divergence: By toggling “Calculate Divergence,” the script looks for oscillator pivots that contrast with price pivots (e.g., price making a lower low while the oscillator makes a higher low).
- A divergence is when the price makes an opposite pivot to the indicator value. E.g. Price makes lower low but indicator does higher low - This suggests a bullish divergence. THe opposite is for a bearish divergence.
- Visual Labels: When a divergence is found, labels (such as “Bull” or “Bear”) appear on the oscillator. This helps you see if the oscillator’s momentum patterns differ from the price movement.
- Filtering Signals: You can combine divergence signals with other features like overbought/oversold or the HMA slope to refine potential entries or exits.
---
### 6. Correlation & Multi-Ticker Analysis
- Correlation Meter: You can select up to five tickers in the settings. The script calculates a slope-based metric for each, then combines those metrics to show an overall bullish or bearish tendency (displayed as a histogram).
- Bar Coloring & Overlay: If you activate correlation-based bar coloring, it will reflect the broader trend alignment among the selected assets, potentially indicating when most are trending in the same direction.
- Use Case: If you trade multiple markets, the correlation histogram can help you quickly see if several major assets support the same market bias or are diverging from one another.
—
### 7. Money Flow Tracker
Money Flow Calculation: The Money Flow Tracker calculates the Money Flow Index (MFI) based on price and volume data, factoring in buying pressure and selling pressure. The output is smoothed using a low-lag EMA to reduce noise and enhance usability.
Visual Features:
Dynamic Gradient Fill:
The space between the smoothed MFI line and the midline (set at 50) is filled with a gradient.
Above 50: Green gradient, with intensity increasing as the MFI moves further above the midline.
Below 50: Red gradient, with intensity increasing as the MFI moves further below the midline.
This gradient provides a clear visual representation of money flow strength and direction, making it easier to assess sentiment shifts at a glance.
Overbought/Oversold Levels: Default thresholds are set at 70 (overbought) and 30 (oversold). When the MFI crosses these levels, it signals potential reversals or trend continuations.
Bar Coloring:
Bars turn green for positive money flow and red for negative money flow.
Color intensity fades over time, ensuring recent signals stand out while older ones remain visible without dominating the chart.
Alerts:
Alerts are triggered when the Money Flow Tracker crosses into overbought or oversold zones, keeping traders informed of critical conditions without constant monitoring.
Practical Applications:
Trend Confirmation: Use the Money Flow Tracker alongside the oscillator or HMA to confirm trends or identify potential reversals.
Volume-Based Reversal Signals: Spot turning points where price action aligns with shifts in money flow direction.
Sentiment Analysis: Gauge whether market participants are accumulating (positive flow) or distributing (negative flow) assets, offering an additional layer of insight into price movement.
(Space for an example chart: “Money Flow Tracker with gradient fills and overbought/oversold levels”)
### 8. Putting It All Together
- Combining Signals: A practical approach might be to watch for a bullish divergence in the oscillator, confirm it with a shift in the HMA slope color, and then wait for the price to be near or below oversold conditions. The correlation histogram may further confirm if the broader market is also leaning bullish at that time.
- Visual Cues: Bar coloring adds another layer, making your chart easier to interpret at a glance. You can also set alerts to ensure you don’t miss key events like divergences, crossovers, or moving average flips.
- Flexibility: Not every feature needs to be used simultaneously. You might opt to focus on divergences and overbought/oversold signals, or you could emphasize the correlation histogram and bar colors. The settings let you enable or disable each module to suit your style.
---
### 9. Tips for Customization
- Adjust Periods: Shorter periods can yield more signals but also more noise. Longer periods may provide steadier, but fewer, signals.
- Set Appropriate Alert Conditions: Only alert on events most relevant to your strategy to avoid overload.
- Explore Different MAs: Depending on the instrument, some moving average types may give a smoother or more responsive indication.
- Monitor Risk Management: As with any tool, these signals do not guarantee performance, so consider position sizing and stop-loss strategies.
---
By toggling and experimenting with the features described above—buy/sell signals, divergences, moving averages, dynamic gradient clouds, and correlation analysis—you can tailor Uptrick: Oscillator Spectrum to your specific trading approach. Each module is designed to give you a clearer, structured view of potential momentum shifts, overbought or oversold states, and the alignment or divergence of multiple assets.
## Features Explanation
Below is a detailed overview of key features in Uptrick: Oscillator Spectrum. Each component is designed to provide different angles of market analysis, allowing you to customize the tool to your preferences.
---
### 1. Main Oscillator
- Purpose: The primary oscillator in this script merges short-, medium-, and long-term views of buying pressure and true range into a single line.
- Calculation: It weights each period’s contribution (e.g., a heavier focus on the short period if desired) and normalizes the result on a 0–100 scale, where higher readings may suggest more robust momentum. (like from the classic Ultimate Oscillator)
- Practical Use:
- Traders can watch for overbought/oversold conditions at user-defined thresholds (e.g., 70/30).
- It can also provide a straightforward momentum reading for those who prefer to see if momentum is rising, falling, or leveling off.
---
### 2. HMA of the Smoothed Oscillator
- What It Is: A Hull Moving Average (HMA) applied to the main oscillator values. The HMA is often more responsive than standard MAs, offering smoother lines while preserving relatively quick reaction to changes.
- How It Works:
- The script takes the oscillator’s output and processes it through a Hull MA calculation.
- The HMA’s slope and color can change more dynamically, highlighting sharper momentum shifts.
- Why It’s Useful:
- By smoothing out minor fluctuations, the HMA can highlight trends in the oscillator’s trajectory.
- If you see an extended run in the HMA slope, it may indicate a more persistent trend in momentum.
- Color Intensity:
- As the HMA continues in one direction for several bars, the script can intensify the color, signaling stronger or more sustained momentum in that direction.
- Sudden changes in color or slope can signal the start of a new momentum swing.
---
### 3. Gradient Fill
This script uses two gradient-based visual elements:
1. Shining/Layered Gradient on the Main Oscillator
- Purpose: Adds multiple layers around the oscillator line (above and below) to emphasize slope changes and highlight how quickly the oscillator is moving up or down.
- Color Changes:
- When the oscillator rises, it uses a color scheme (e.g., aqua/blue) that intensifies as the slope grows.
- When the oscillator declines, it uses a distinct color (e.g., red/pink).
- User Benefit: Makes it easier to see at a glance if momentum is accelerating or decelerating, beyond just the numerical reading.
2. Dynamic Cloud Fill (Between MAs)
- Purpose: Allows you to plot two moving averages (for example, a short-term Hull MA and a longer-term DEMA) and fill the area between them with a color gradient.
- Bullish vs. Bearish:
- When the short MA is above the long MA, the cloud might appear in a greenish hue.
- When the short MA is below the long MA, the cloud can switch to red or another color.
- Transparency/Intensity:
- The fill can get more opaque if the difference between the two MAs is large, indicating a stronger trend but a higher probability of a reversal.
- User Benefit: Helps visualize changes in trend or momentum across multiple time horizons, all within a single chart overlay.
---
### 4. Correlation Meter & Symbol Inputs
- What It Is: This feature looks at multiple user-selected symbols (e.g., BTC, ETH, BNB, etc.) and computes each symbol’s short-term slope. It then aggregates these slopes into an overall “trend” score.
- Inputs Configuration:
1. Ticker Inputs: You can specify up to five different tickers.
2. Timeframe: Decide whether to pull data from different chart timeframes for each symbol.
3. Slope Calculation: The script may compute, for instance, a 5-period SMA minus a 20-period SMA to gauge if each symbol is trending up or down.
- Market Trend Histogram:
- Displays a column that goes above/below zero depending on how many symbols are bullish or bearish.
- If more than three (out of five) symbols are bullish, the histogram can show a green bar at +1; if fewer than three are bullish, it can show red at –1.
- How to Use:
- Quick Glance: Lets you know if most correlated assets are aligning or diverging.
- Bar Coloring (Optional): If enabled, your main chart’s bars can reflect the aggregated correlation, turning green or red depending on the meter’s reading.
---
### 5. Advanced Metrics Table
- What It Is: An optional table displaying additional metrics for several cryptocurrencies (or any symbols you define).
- Metrics Included:
1. ROI (30D): Calculates return relative to the lowest price in a 30-day period.
2. Collateral Risk: Uses standard deviation to assess volatility (higher risk if standard deviation is large).
3. Liquidity Recovery: A rolling average of volume, aiming to show how liquidity flows might recover over time.
4. Weakening (Rate of Change): Reflects how quickly price is changing compared to previous bars.
5. Monetary Bias (SMA): A simple average of recent prices. If price is below this SMA, it might be seen as undervalued relative to the short term.
6. Risk Phase: Categorizes risk as low, medium, or high based on the standard deviation figure.
7. DCA Signal: Suggests “Accumulate” or “Do Not Accumulate” by checking if the current price is below or above the SMA.
- Why It’s Useful:
- Offers a concise view of multiple assets in one place—helpful for portfolio-level insight.
- DCA (Dollar-Cost Averaging) suggestions can guide longer-term strategies, while volatility (collateral risk) helps gauge how aggressive the price swings might be.
---
### 6. Other Vital Aspects
- Alerts & Notifications:
- The script can trigger alerts for various conditions—crossovers, divergence detections, overbought/oversold transitions, or correlation-based signals.
- Useful for automating watchlists or ensuring you don’t miss a key setup while away from the screen.
- Customization:
- Each module (oscillator settings, divergence detection, correlation meter, advanced metrics table, etc.) can be enabled or disabled based on your preferences.
- You can fine-tune parameters (e.g., periods, smoothing lengths, alert triggers) to align the indicator with different trading styles—scalping, swing, or position trading.
- Combining Features:
- One might watch the main oscillator for momentum extremes, confirm via the HMA slope, check if correlation supports the same bias, and look at the table for risk-phase validation.
- This multi-layer approach can help develop a more structured and informed trading view.
(Space for an example chart: “A fully configured layout showing oscillator, HMA, gradient cloud, correlation meter, and table all in use.”)
7. Money Flow Tracker
Purpose: The Money Flow Tracker adds a volume-based perspective to the indicator suite by incorporating the Money Flow Index (MFI), which assesses buying and selling pressure over a defined period. By smoothing the MFI using an exponential moving average (EMA), the feature highlights the directional flow of capital into and out of the market with greater clarity and reduced noise.
Dynamic Gradient Visualization:
The Money Flow Tracker enhances visual analysis with gradient fills that reflect the MFI’s relationship to the midline (50).
Above 50: A green gradient emerges, intensifying as the MFI moves higher, indicating stronger positive money flow.
Below 50: A red gradient appears, with deeper shades signifying increasing selling pressure.
Transparency dynamically adjusts based on the MFI’s proximity to the midline, making high-confidence zones (closer to 0 or 100) visually distinct.
Directional Sensitivity:
The Tracker emphasizes the importance of overbought (above 70) and oversold (below 30) zones. These thresholds help traders identify when an asset might be overextended, signaling potential reversals or trend continuations.
The inclusion of a midline (50) as a neutral zone helps gauge shifts between accumulation (money flowing in) and distribution (money flowing out).
Bar Integration:
By enabling bar coloring linked to the Money Flow Tracker, traders can visualize its impact directly on price bars.
Green bars reflect positive money flow (above 50), signaling bullish conditions.
Red bars indicate negative money flow (below 50), highlighting bearish sentiment.
Intensity adjustments ensure that recent signals are more visually prominent, while older signals gradually fade for a clean, non-cluttered chart.
Key Advantages:
Volume-Informed Context: Traditional oscillators often focus solely on price; the Money Flow Tracker incorporates volume, adding a crucial dimension for analyzing market behavior.
Adaptive Filtering: The EMA-smoothing feature ensures that sudden, insignificant spikes in volume don’t trigger false signals, providing a clearer and more actionable representation of money flow trends.
Early Warning System: Divergences between price movement and the Money Flow Tracker’s trends can signal potential turning points, helping traders anticipate reversals before they occur.
Practical Use Cases:
Trend Confirmation: Pair the Money Flow Tracker with the oscillator or HMA to confirm bullish or bearish trends. For example, a rising oscillator with positive money flow indicates strong buying interest.
Identifying Entry/Exit Zones: Use overbought/oversold conditions as entry/exit points, particularly when combined with other features like divergence detection.
Market Sentiment Analysis: The Tracker’s ability to dynamically assess buying and selling pressure provides a clear picture of market sentiment, helping traders adjust their strategies to align with broader trends.
By understanding these features—main oscillator readings, the HMA’s smoothing capabilities, gradient-based visual highlights, correlation insights, advanced metrics, and the money flow tracker—you can tailor Uptrick: Oscillator Spectrum to your specific needs, whether you’re focusing on quick trades, longer-term market moves, or broad portfolio health.
Originality of the “Uptrick: Oscillator Spectrum” Indicator
While it includes elements of standard momentum analysis, Uptrick: Oscillator Spectrum sets itself apart by adding an array of features that broaden the typical oscillator’s scope:
1. Slope Coloring & Layered Gradient Effects
- Beyond just plotting a single line, the indicator visually highlights momentum shifts using color changes and gradient fills.
- As the oscillator’s slope becomes steeper or flatter, these gradients intensify or fade, helping users see at a glance when momentum is accelerating, slowing, or reversing.
2. Mean Reversion & Divergence Detection
- The script offers optional logic for marking potential mean reversion points (e.g., overbought/oversold crossovers) and flagging divergences between price and the oscillator line.
- These divergence signals come with adjustable lookback parameters, giving traders control over how recent or extended the pivots should be for detection.
- This functionality can reveal subtle momentum discrepancies that a basic oscillator might overlook.
3. Integrated Multi-Asset Correlation Meter
- In addition to monitoring a single symbol, the indicator can fetch data for multiple tickers. It aggregates each symbol’s slope into a histogram showing whether the broader market (or a group of assets) leans bullish or bearish.
- This cross-market insight moves beyond standard “one-symbol, one-oscillator” usage, adding a bigger-picture perspective in one tool.
4. Advanced Metrics Table
- Users can enable a table that covers ROI calculations, volatility-based risk (“Collateral Risk”), liquidity checks, DCA signals, and more.
- Rather than just seeing an oscillator value, traders can view additional metrics for selected assets in one place, helping them judge overall market conditions or assess multiple instruments simultaneously.
5. Flexible Overlay & Bar Coloring
- Signals can be displayed directly on the price chart (Overlay True) or in a sub-window (Overlay False).
- Bars themselves may change color (e.g., green for bullish or red for bearish) according to different rules—signals, dynamic cloud fill, correlation meter states, etc.
- This adaptability allows traders to keep the chart as simple or as info-rich as they prefer.
6. Custom Smoothing Options & HMA Extensions
- The oscillator can be processed further with a Hull Moving Average (HMA) to reduce noise while still reacting quickly to market changes.
- Slope-based coloring on the HMA provides an additional layer of visual feedback, which is not common in a standard oscillator.
By blending traditional momentum checks with slope-based color feedback, mean reversion triggers, divergence signals, correlation analysis, and an optional metrics table, Uptrick: Oscillator Spectrum offers a more rounded approach than a typical oscillator. It integrates multiple market insights—both visual and analytical—into one script, giving users a broader toolkit for studying potential reversals, gauging momentum strength, and assessing multi-asset trends.
## Conclusion
Uptrick: Oscillator Spectrum brings together multiple layers of analysis—oscillator momentum, divergence detection, correlation insights, HMA smoothing, and more—into one adaptable toolkit. It aims to streamline your charting process by offering meaningful visual cues (such as gradient fills and bar color shifts), advanced tables for broader market data, and flexible alerts to keep you informed of potential setups.
Traders can choose the specific features that suit their style, whether they prefer to focus on raw oscillator signals, multi-ticker correlation, or smooth trend cues from the HMA. By centralizing these different methods in one place, Uptrick: Oscillator Spectrum can help users build more structured approaches to spotting trend shifts and extended conditions, while also remaining compatible with additional analysis techniques.
---
### Disclaimer
This script is provided for informational purposes only and does not constitute financial or investment advice. Past performance is not indicative of future results, and all trading involves risk. You should carefully consider your objectives, risk tolerance, and financial situation before making any trading decisions.
MarktQuants Supertrend"MarktQuants Supertrend" is an indicator designed to help traders visualize market trends using a combination of moving averages and dynamic range calculations. It adapts to market conditions, providing insights into potential trend directions:
Trend Identification:
Utilizes a customizable moving average (MA Type) with options like SMA, EMA, SMMA, WMA, VWMA, TEMA, DEMA, LSMA, HMA, or ALMA to smooth price action.
Calculates a dynamic range based on the highest high over a specified period (Length), adjusted by multipliers (Multiplier Alpha and Multiplier Beta).
Signal Generation:
The indicator assesses price relative to both the moving average and the calculated range (Average Range or Lookback Alpha and Beta).
Scores are computed to determine if the price action suggests a long (bullish) or short (bearish) trend via crossover signals from these scores.
Visual Indicators:
Candlesticks: The color changes based on the trend direction; greenish for long conditions and purplish for short conditions, enhancing visual trend recognition.
Moving Average Line: Plotted in semi-transparent color matching the trend, with a bold line for clarity.
Range Indicator: A line representing the average range, filled with semi-transparent color to show potential support or resistance levels.
Customization:
Users can toggle between using the average range or specific lookback periods for trend signals via the Use Average Range option.
Adjustable parameters for the moving average and range calculations allow for fine-tuning to various market instruments or trading styles.
Inputs:
Range Settings:
Length: Defines the period for calculating the highest high.
Lookback Alpha & Lookback Beta: Different lookback periods for range calculation.
Multiplier Alpha & Multiplier Beta: Multipliers for adjusting the range.
Use Average Range: Switch to use average or specific range for signals.
Source: Pick the preferred source for the range calculations.
Moving Average Settings:
Type: Choice of moving average type.
Length: Length of the moving average.
Source: The price source for the moving average calculation (default is close price).
Alert Options:
MQ - Supertrend Long for Long trades (Buy) when the Long Condition is met.
MQ - Supertrend Short for Short trades (Sell) when the Short Condition is met.
Note: This indicator is best used alongside other analysis tools to confirm trends and signals. Always consider the broader market context.
MA Trend DashboardMA Trend Dashboard - Features
The MA Trend Dashboard is a versatile and user-friendly indicator designed to provide a comprehensive overview of market trends across multiple timeframes using moving averages (MAs). Here's what this script offers:
1. Dashboard Display
A compact and visually appealing dashboard is overlaid on the chart.
The dashboard displays the trend direction and deviation percentages for 30-minute, 1-hour, and 4-hour timeframes.
Users can position the dashboard in different locations (Top Right, Middle Right, or Bottom Right) and customize the text size (Tiny, Small, Normal).
2. Multi-Timeframe Trend Analysis
The script uses the concept of Multi-Timeframe (MTF) analysis to assess trends across:
30-minute (30m)
1-hour (1h)
4-hour (4h)
Each timeframe's trend is evaluated using the selected moving average method.
3. Customizable Moving Average Methods
Users can choose from various moving average calculation methods:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
SMMA (Smoothed Moving Average or RMA)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
This flexibility allows for tailored trend analysis based on the user's preferred methodology.
4. Visual Trend Indicators
Clear visual cues indicate the trend direction for each timeframe:
↑ (Up): Bullish trend.
↓ (Down): Bearish trend.
↘ (Weak Up): Mild bullishness.
↗ (Weak Down): Mild bearishness.
The background color of each cell dynamically changes based on the trend:
Green: Uptrend.
Red: Downtrend.
5. Deviation Percentage
The dashboard includes the percentage difference between the current price and the moving average for each timeframe.
Positive percentages are highlighted in green, and negative percentages in red.
6. Customization Options
Text Color: Allows users to adjust the color of the text displayed in the dashboard.
MA Length: Users can set the period for the moving averages (default is 50).
7. Dynamic Requests
Utilizes TradingView's dynamic_requests feature to ensure accurate real-time data across different timeframes without cluttering the chart.
Usage
This indicator is ideal for traders who want a quick and reliable snapshot of market trends across multiple timeframes. It is particularly suited for intraday and swing trading strategies, offering insights into price momentum and potential reversals.
EMA Crossover Strategy with Take Profit and Candle HighlightingStrategy Overview:
This strategy is based on the Exponential Moving Averages (EMA), specifically the EMA 20 and EMA 50. It takes advantage of EMA crossovers to identify potential trend reversals and uses multiple take-profit levels and a stop-loss for risk management.
Key Components:
EMA Crossover Signals:
Buy Signal (Uptrend): A buy signal is generated when the EMA 20 crosses above the EMA 50, signaling the start of a potential uptrend.
Sell Signal (Downtrend): A sell signal is generated when the EMA 20 crosses below the EMA 50, signaling the start of a potential downtrend.
Take Profit Levels:
Once a buy or sell signal is triggered, the strategy calculates multiple take-profit levels based on the range of the previous candle. The user can define multipliers for each take-profit level.
Take Profit 1 (TP1): 50% of the previous candle's range above or below the entry price.
Take Profit 2 (TP2): 100% of the previous candle's range above or below the entry price.
Take Profit 3 (TP3): 150% of the previous candle's range above or below the entry price.
Take Profit 4 (TP4): 200% of the previous candle's range above or below the entry price.
These levels are adjusted dynamically based on the previous candle's high and low, so they adapt to changing market conditions.
Stop Loss:
A stop-loss is set to manage risk. The default stop-loss is 3% from the entry price, but this can be adjusted in the settings. The stop-loss is triggered if the price moves against the position by this amount.
Trend Direction Highlighting:
The strategy highlights the bars (candles) with colors:
Green bars indicate an uptrend (when EMA 20 crosses above EMA 50).
Red bars indicate a downtrend (when EMA 20 crosses below EMA 50).
These visual cues help users easily identify the market direction.
Strategy Entries and Exits:
Entries: The strategy enters a long (buy) position when the EMA 20 crosses above the EMA 50 and a short (sell) position when the EMA 20 crosses below the EMA 50.
Exits: The strategy exits the positions at any of the defined take-profit levels or the stop-loss. Multiple exit levels provide opportunities to take profit progressively as the price moves in the favorable direction.
Entry and Exit Conditions in Detail:
Buy Entry Condition (Uptrend):
A buy position is opened when EMA 20 crosses above EMA 50, signaling the start of an uptrend.
The strategy calculates take-profit levels above the entry price based on the previous bar's range (high-low) and the multipliers for TP1, TP2, TP3, and TP4.
Sell Entry Condition (Downtrend):
A sell position is opened when EMA 20 crosses below EMA 50, signaling the start of a downtrend.
The strategy calculates take-profit levels below the entry price, similarly based on the previous bar's range.
Exit Conditions:
Take Profit: The strategy attempts to exit the position at one of the take-profit levels (TP1, TP2, TP3, or TP4). If the price reaches any of these levels, the position is closed.
Stop Loss: The strategy also has a stop-loss set at a default value (3% below the entry for long trades, and 3% above for short trades). The stop-loss helps to protect the position from significant losses.
Backtesting and Performance Metrics:
The strategy can be backtested using TradingView's Strategy Tester. The results will show how the strategy would have performed historically, including key metrics like:
Net Profit
Max Drawdown
Win Rate
Profit Factor
Average Trade Duration
These performance metrics can help users assess the strategy's effectiveness over historical periods and optimize the input parameters (e.g., multipliers, stop-loss level).
Customization:
The strategy allows for the adjustment of several key input values via the settings panel:
Take Profit Multipliers: Users can customize the multipliers for each take-profit level (TP1, TP2, TP3, TP4).
Stop Loss Percentage: The user can also adjust the stop-loss percentage to a custom value.
EMA Periods: The default periods for the EMA 50 and EMA 20 are fixed, but they can be adjusted for different market conditions.
Pros of the Strategy:
EMA Crossover Strategy: A classic and well-known strategy used by traders to identify the start of new trends.
Multiple Take Profit Levels: By taking profits progressively at different levels, the strategy locks in gains as the price moves in favor of the position.
Clear Trend Identification: The use of green and red bars makes it visually easier to follow the market's direction.
Risk Management: The stop-loss and take-profit features help to manage risk and optimize profit-taking.
Cons of the Strategy:
Lagging Indicators: The strategy relies on EMAs, which are lagging indicators. This means that the strategy might enter trades after the trend has already started, leading to missed opportunities or less-than-ideal entry prices.
No Confirmation Indicators: The strategy purely depends on the crossover of two EMAs and does not use other confirming indicators (e.g., RSI, MACD), which might lead to false signals in volatile markets.
How to Use in Real-Time Trading:
Use for Backtesting: Initially, use this strategy in backtest mode to understand how it would have performed historically with your preferred settings.
Paper Trading: Once comfortable, you can use paper trading to test the strategy in real-time market conditions without risking real money.
Live Trading: After testing and optimizing the strategy, you can consider using it for live trading with proper risk management in place (e.g., starting with a small position size and adjusting parameters as needed).
Summary:
This strategy is designed to identify trend reversals using EMA crossovers, with customizable take-profit levels and a stop-loss to manage risk. It's well-suited for traders looking for a systematic way to enter and exit trades based on clear market signals, while also providing flexibility to adjust for different risk profiles and trading styles.
Enhanced Gold Scalping Strategy (Backtest with Time Filter)Enhanced Gold Scalping Strategy (Backtest with Time Filter)
This script is a scalping strategy designed specifically for trading gold on lower timeframes, incorporating popular technical indicators and a session filter for optimal performance. The strategy aims to achieve consistency by combining trend-following and volatility-based conditions.
Key Features:
Indicators Used:
Exponential Moving Average (EMA): Filters trades based on the trend direction using a 50-period EMA.
Relative Strength Index (RSI): Ensures trades are taken in favorable momentum conditions (above 30 for longs and below 70 for shorts).
MACD Crossover: Identifies potential trade entries based on MACD line crossing above/below the signal line.
Average True Range (ATR): Used to dynamically calculate Stop Loss and Take Profit levels and ensure trades occur in high-volatility conditions.
Risk-Reward Optimization:
The strategy uses a customizable Risk-Reward Ratio (default is 2:1) for setting Stop Loss (SL) and Take Profit (TP) levels, ensuring that winning trades outweigh losses.
Volatility Filter:
Trades are only executed when the current ATR exceeds the 14-period ATR moving average by a defined threshold, filtering out low-volatility periods.
Session Filter:
The strategy only trades during active market hours (8:00 AM to 8:00 PM Amsterdam Time) on weekdays. This ensures trades align with periods of high liquidity and market activity.
Dynamic Entry and Exit Levels:
SL and TP levels are plotted dynamically on the chart to provide a clear visual of potential risk and reward for each trade.
Buy and Sell Signals:
Visual markers (green triangles for buy, red triangles for sell) on the chart to highlight entry points for better trade visibility.
How It Works:
Long Conditions:
MACD crossover (MACD line above the signal line).
RSI above 30.
Price is above the 50-period EMA.
ATR-based volatility condition is met.
Trade must occur within the defined session hours.
Short Conditions:
MACD crossunder (MACD line below the signal line).
RSI below 70.
Price is below the 50-period EMA.
ATR-based volatility condition is met.
Trade must occur within the defined session hours.
The strategy calculates dynamic SL and TP levels based on the ATR, ensuring flexibility to market conditions.
Customization Options:
EMA length, RSI length, and MACD parameters.
Risk-Reward Ratio for SL/TP calculations.
Volatility threshold for filtering trades.
Session start and end times for active trading hours.
Recommended Use:
Best suited for scalping gold on lower timeframes (15-min charts).
Disclaimer:
This strategy is intended for educational and backtesting purposes. Past performance is not indicative of future results. Use appropriate risk management and test thoroughly before applying to live trading.
Dynamic Display for Max/Min MA Types with Fake-Out FilterDynamic Moving Average Max/Min Indicator with Step Line Break
**** select the setting to STEP LINE BREAK****
This indicator provides a powerful way to identify dynamic entry and stop-loss levels for both long and short trades. It calculates the maximum and minimum values of a selected moving average (MA) over a specified lookback period, adapting dynamically to market conditions. It features options for various MA types, including SMA, EMA, HMA, RMA, and DEMA, to suit different trading strategies and styles.
How It Works
1. Moving Average Selection: Choose the type of moving average (SMA, EMA, HMA, RMA, or DEMA) and its period (e.g., HMA 13).
2. Max/Min Calculation: The indicator calculates the highest and lowest values of the selected moving average over a specified lookback period (e.g., 5 candles).
3. Dynamic Plotting:
• Bullish Market: When the price breaks the Max MA level, the Min level is plotted, trailing upward as a potential stop-loss for long trades.
• Bearish Market: When the price breaks the Min MA level, the Max level is plotted, trailing downward as a potential stop-loss for short trades.
4. Fake-Out Filter: If a candle breaks the Max/Min level but closes within the range (indicating a fake-out), the plots do not switch. This can cause repainting during volatile conditions, so use caution in high-wick markets.
Features
• Customizable Inputs: Adjust MA type, period, lookback, and timeframe to suit your trading strategy.
• Multi-Timeframe Flexibility: Works on all timeframes, from micro-scalping on the 1-minute chart to swing trading on higher timeframes.
• Trend Confirmation: Provides clear indications of when to enter or exit based on dynamic levels.
• Risk Management: Highlights stop-loss levels that trail the trend, helping to lock in profits or limit losses.
Advantages
1. Clear Entry/Exit Points: Provides actionable signals for both long and short trades, with defined stop-loss locations.
2. Customizable for Any Style: Tailor the indicator to your product, timeframe, and trading approach (scalping or swing trading).
3. Trend-Focused Guidance: Helps avoid counter-trend trades by showing the dominant trend direction.
4. Adaptive to Market Conditions: The dynamic nature of the indicator allows it to respond to both trending and consolidating markets.
Limitations
1. Repainting During Fake-Outs: The indicator can repaint during volatile periods with long wicks, as it filters for fake-out candles. This may create noise in certain market conditions.
2. Optimization Required: The ideal settings for MA type, period, and lookback are dependent on the market profile and need to be fine-tuned by the trader.
3. Less Effective in Consolidation: In sideways or choppy markets, the indicator may produce less reliable signals unless adjusted for lower sensitivity.
Trading Tips
• Use this indicator to focus on trending markets, avoiding trades against the prevailing trend. For example, during an uptrend, only take long trades and avoid shorts.
• Consider having two configurations: one for trending markets and one for consolidating markets, switching between them as needed.
• Pair this indicator with volume analysis, price action, or other complementary tools to increase accuracy and reduce noise.
This indicator is designed to be both an entry and risk management tool, enabling traders to make informed decisions while keeping risks in check.
ANIL's OHCL, VWAP and EMA CrossPrevious Week High and Low:
This part calculates the previous week's high and low values and plots them as continuous blue lines. The plot.style_line ensures the lines are drawn continuously.
Previous Day Open, High, Low, Close:
The script uses request.security to get the previous day's open, high, low, and close values. These are plotted as continuous lines in different colors:
Open: Green
High: Red
Low: Orange
Close: Purple
VWAP (Volume Weighted Average Price):
The VWAP is calculated using ta.vwap(close) and plotted with a thick black line.
Exponential Moving Averages (EMAs):
The script calculates two EMAs: one with a 9-period (fast) and one with a 21-period (slow).
The EMAs are plotted as continuous lines:
Fast EMA: Blue
Slow EMA: Red
EMA Cross:
The script checks for EMA crossovers and crossunders:
A crossover (fast EMA crossing above slow EMA) triggers a buy signal (green label below the bar).
A crossunder (fast EMA crossing below slow EMA) triggers a sell signal (red label above the bar).
Customization:
You can adjust the fastLength and slowLength variables to change the period of the EMAs.
You can modify the line colors and line thickness to match your preferred style.
The buy and sell signals can be customized further with different shapes or additional conditions for signal generation.
This script provides a comprehensive and visually distinct indicator with the previous week's and day's levels, VWAP, and EMA crossover signals.
EMA SHIFT & PARALLEL [n_dot]BINANCE:ETHUSDT.P
This strategy was developed for CRYPTO FUTURES, (the settings for ETHUSDT.P) . I aimed for the strategy to function in a live environment, so I focused on making its operation realistic:
When determining the position, only 80% (adjustable) of the available cash is invested to reduce the risk of position liquidation.
I account for a 0.05% commission, typical on the futures market, for each entry and exit.
Concept:
I modified a simple, well-known method: the crossover of two exponential moving averages (FAST, SLOW) generates the entry and exit signals.
I enhanced the base idea as follows:
For the fast EMA, I incorporated a multiplier (offset) to filter out market noise and focus only on strong signals.
I use different EMAs for long and short entry points; both have their own FAST and SLOW EMAs and their own offset. For longs, the FAST EMA is adjusted downward (<1), while for shorts, it is adjusted upward (>1). Consequently, the signal is generated when the modified FAST EMA crosses the SLOW EMA.
Risk Management:
The position includes the following components:
Separate stop-losses for long and short positions.
Separate trailers for long and short positions.
The strategy operates so that the entry point is determined by the EMA crossover, while the exit is governed only by the Stop Loss or Trailer. Optionally, it can be set to close the position at the EMA recrossing ("Close at Signal").
Trailer Operation:
An entry percentage and offset are defined. The trailer activates when the price surpasses the entry price, calculated automatically by the system.
The trailer closes the position when the price drops by the offset percentage from the highest reached price.
Example for trailer:
Purchase Price = 100
Trailer Enter = 5% → Activation Price = 105 (triggers trailer if market price crosses it).
Trailer Offset = 2%
If the price rises to 110, the exit price becomes 107.8.
If the price goes to 120, the exit price becomes 117.6.
If the price falls below 117.6, the trailer closes the position.
Settings:
Source: Determines the market price reference.
End Close: Closes positions at the end of the simulation to avoid "shadow positions" and provide an objective result.
Lot proportional to free cash (%): Only a portion of free cash is invested to meet margin requirements.
Plot Short, Plot Long: Simplifies displayed information by toggling indicator lines on/off.
Long Position (toggleable):
EMA Fast ws: Window size for FAST EMA.
EMA Slow ws: Window size for SLOW EMA.
EMA Fast down shift: Adjustment factor for FAST EMA.
Stop Loss long (%): Percent drop to close the position.
Trailer enter (%): Percent above the purchase price to activate the trailer.
Trailer offset (%): Percent drop to close the position.
Short Position (toggleable):
EMA Fast ws: Window size for FAST EMA.
EMA Slow ws: Window size for SLOW EMA.
EMA Fast up shift: Adjustment factor for FAST EMA.
Stop Loss short (%): Percent rise to close the position.
Trailer enter (%): Percent below the purchase price to activate the trailer.
Trailer offset (%): Percent rise to close the position.
Operational Framework:
If in a long position and a short EMA crossover occurs, the strategy closes the long and opens a short (flip).
If in a short position and a long EMA crossover occurs, the strategy closes the short and opens a long (flip).
A position can close in three ways:
Stop Loss
Trailer
Signal Recrossing
If none are active, the position remains open until the end of the simulation.
Observations:
Shifts significantly deviating from 1 increase overfitting risk. Recommended ranges: 0.96–0.99 (long) and 1.01–1.05 (short).
The strategy's advantage lies in risk management, crucial in leveraged futures markets. It operates with relatively low DrawDown.
Recommendations:
Bullish Market: Higher entry threshold (e.g., 6%) and larger offset (e.g., 3%).
Volatile/Sideways Market: Tighter parameters (e.g., 3%, 1%).
The method is stable, and minor parameter adjustments do not significantly impact results, helping assess overfitting: if small changes lead to drastic differences, the strategy is over-optimized.
EMA Settings: Adjust FAST and SLOW EMAs based on the asset's volatility and cyclicality.
On the crypto market, especially in the Futures market, short time periods (1–15 minutes) often show significant noise, making patterns/repetitions hard to identify. I recommend setting the interval to at least 1 hour.
I hope this contributes to your success!
Stochastics Oscillator with Buy/Sell Indicator [iSTAGs]iSTAGs "Stochastics Oscillator" with Buy/Sell Indicator
Overview
The Stochastics Oscillator is a versatile trading indicator designed to provide comprehensive insights into market momentum and potential price reversals. With its multi-layered approach, it incorporates a blend of oscillators, smoothed averages, and relative strength measures to deliver actionable trading signals.
Disclaimer
This indicator is provided for study purposes only . While it may assist in identifying potential buy and sell opportunities, please note:
1. False Signals: The buy/sell indicators may generate false signals. Always validate signals using additional analysis or tools.
2. Trading Strategies: Use appropriate exit points and stop-loss levels as part of your overall trading strategy.
3. No Guarantees: Do not rely solely on this indicator for trading decisions. Market conditions may change, and no indicator guarantees accurate results.
4. Strategy Testing: The strategy associated with this indicator is not tested, and backtesting features are not available at this time.
Key Features
1. Stochastics Oscillator
• Combines the smoothed ranges of price movement to identify overbought and oversold conditions.
• Inbuilt signal lines helps pinpoint potential crossovers for trend reversals.
2. Zones Highlighting
• Clearly visualized zones for:
o Overbought (70–100): Caution for potential reversals.
o Bullish (0–40): Positive momentum.
o Bearish (0 to -40): Negative momentum.
o Oversold (-70 to -100): Potential buying opportunities.
3. Buy and Sell Signals
• Primary Buy/Sell Indicator: Highlighted directly on the chart for ease of use.
• Potential Buy/Sell Signals: Secondary indicators based on advanced crossover conditions that can generate early signals.
4. RSI Integration
• Realtime RSI value display for an additional layer of confirmation.
• Color-coded RSI values to easily interpret market strength:
o Red: Overbought (>80)
o Orange: Strong momentum (70–80)
o White: Neutral (30–70)
o Blue: Weak momentum (20–30)
o Green: Oversold (<20)
5. Limited Customizable Visuals
o Clean and color-coded plots and fills make it intuitive to identify trends and trading opportunities at a glance.
How to Use
1. Trading Signals:
• Use buy/sell shapes and flags for identifying potential entry and exit points.
• Combine primary buy/sell indicator and secondary buy/sell signals for higher confidence.
2. Trend Confirmation:
• Monitor the oscillator and signal crossovers alongside zone fills to gauge market direction.
3. RSI Analysis:
• Keep an eye on the RSI value and its color coding for confirmation of overbought or oversold conditions.
Settings
• Enable/Disable Features: Customize the visibility of Buy/Sell indicators, Potential Signals, and RSI display.
• Editable Zones: Adjust zone colors and ranges to suit your trading strategy.
Conclusion
The Stochastics Oscillator is a powerful tool for traders seeking to enhance their technical analysis. Its layered approach provides clarity, precision, and adaptability for a wide range of trading strategies, whether you're a scalper, swing trader, or long-term investor.
________________________________________
Developed by iSTAGs
________________________________________
Happy Trading! 🎯
Stock Scanner - 38 AssetsPullback Scanner and Trading Strategy:
The Scanner's Purpose:
This tool helps identify stocks and futures from a set-list that are in a strong uptrend (above 200 SMA) but experiencing a temporary pullback (RSI below 38), creating potential buying opportunities.
Load 38 Favourite Stocks. They need to be bullish ie: Trading usually above 200 SMA. A drop down switch lets you choose which group. You can find suitable stocks using the filter at FINVIZ:
use on 4hr Timeframes and Above
You must use this on at least the 4hr timeframe, otherwise the 200SMA is not truly placed correctly and a valid trade depends upon the price action being ABOVE the 200SMA.
finviz.com
Key Components:
200 Simple Moving Average (SMA)
Acts as a trend filter
Price above 200 SMA indicates a long-term uptrend
Helps avoid trading against the main trend
Relative Strength Index (RSI)
Set to 38 as the oversold threshold
Identifies temporary weakness in strong trends
Acts as the pullback confirmation. You could add an RSI indicator to the chart for monitoring.
Visual Signals:
Green row: Indicates both conditions are met (price > 200 SMA and RSI < 38)
Yellow triangle: Appears at price bottom when RSI drops below 38
Yellow 200 SMA line: Shows the trend direction and potential support
Trade Setup:
First Requirement: Price must be trading above the 200 SMA
Second Requirement: Wait for RSI to drop below 38
Entry Trigger: When both conditions align (row turns green)
Risk Management: Set stop loss below recent swing low
Exit: When RSI moves above 53 or price crosses below 200 SMA
The scanner monitors multiple instruments simultaneously, allowing traders to identify setups across different markets without manually checking each chart. When a row turns green, that instrument deserves closer attention for potential trade setup.
Example Trade:
Looking at the chart of Apple (AAPL), the yellow triangles show where RSI dropped below 38 while price remained above the rising 200 SMA, providing multiple long entry opportunities in an established uptrend. Actually Apple may be better with RSI below 26.
If you use ctrader, I have made a cbot version of this to automatically take trades on the ctrader platform: eg: XAUUSD i.postimg.cc
GocchiMulti-Indicator: RSI & Moving Averages
This versatile TradingView indicator combines two essential tools for technical analysis—Relative Strength Index (RSI) and Moving Averages (MAs)—into one comprehensive solution. It is designed for traders seeking flexibility, customization, and efficiency in their charting experience.
Features:
Relative Strength Index (RSI):
Customizable RSI length.
Adjustable overbought and oversold levels.
Selectable source input (e.g., close, open, high, low).
Visual levels for overbought and oversold zones, aiding in quick trend and momentum identification.
Three Moving Averages:
Three independently customizable moving averages.
Options for Simple Moving Average (SMA) or Exponential Moving Average (EMA) for each line.
Adjustable lengths for short-, medium-, and long-term trend tracking.
Visual Enhancements:
Clear, color-coded plots for RSI and each moving average.
Overbought and oversold zones are highlighted with horizontal dotted lines.
Alerts:
Get notified when RSI crosses above the overbought level or below the oversold level.
Alerts help traders stay on top of potential market reversals or breakout opportunities.
Use Cases:
RSI Analysis: Spot overbought or oversold conditions to identify potential reversals.
Trend Following: Use moving averages to confirm trends or identify crossovers for potential entry and exit points.
Custom Strategies: Tailor the settings to fit specific trading styles, such as scalping, swing trading, or long-term investing.
This all-in-one indicator streamlines your analysis by reducing the need for multiple overlays, making your charts cleaner and more actionable. Whether you're a novice or an experienced trader, this tool provides the flexibility and insights you need to succeed in any market condition.
BBSS+This Pine Script implements a custom indicator overlaying Bollinger Bands with additional features for trend analysis using Exponential Moving Averages (EMAs). Here's a breakdown of its functionality:
Bollinger Bands:
The script calculates the Bollinger Bands using a 20-period Simple Moving Average (SMA) as the basis and a multiplier of 2 for the standard deviation.
It plots the Upper Band and Lower Band in red.
EMA Calculations:
Three EMAs are calculated for the close price with periods of 5, 10, and 40.
The EMAs are plotted in green (5-period), cyan (10-period), and orange (40-period) to distinguish between them.
Trend Detection:
The script determines bullish or bearish EMA alignments:
Bullish Order: EMA 5 > EMA 10 > EMA 40.
Bearish Order: EMA 5 < EMA 10 < EMA 40.
Entry Signals:
Long Entry: Triggered when:
The close price crosses above the Upper Bollinger Band.
The Upper Band is above its 5-period SMA (indicating momentum).
The EMAs are in a bullish order.
Short Entry: Triggered when:
The close price crosses below the Lower Bollinger Band.
The Lower Band is below its 5-period SMA.
The EMAs are in a bearish order.
Trend State Tracking:
A variable tracks whether the market is in a Long or Short trend based on conditions:
A Long trend continues unless conditions for a Short Entry are met or the Upper Band dips below its average.
A Short trend continues unless conditions for a Long Entry are met or the Lower Band rises above its average.
Visual Aids:
Signal Shapes:
Triangle-up shapes indicate Long Entry points below the bar.
Triangle-down shapes indicate Short Entry points above the bar.
Bar Colors:
Green bars indicate a Long trend.
Red bars indicate a Short trend.
This script combines Bollinger Bands with EMA crossovers to generate entry signals and visualize market trends, making it a versatile tool for identifying momentum and trend reversals.