Triple Trend Indicator [BigBeluga]Triple Trend Indicator is a versatile trend-following tool designed to help traders identify trend strength and potential pullback levels using a three-band system. Each band represents a varying degree of price deviation from the mean, providing progressively stronger trend signals.
🔵 Key Features:
Three Adaptive Bands:
The indicator dynamically calculates three bands (1, 2, and 3) based on moving averages (SMA, EMA, WMA) and ATR multipliers.
Bands are positioned below the price in an uptrend and above the price in a downtrend, offering clear trend direction visualization.
Signal System:
Signals are generated when price interacts with the bands:
Signal 1: Triggered when the price touches Band 1, indicating a minor pullback within the trend.
Signal 2: Triggered at Band 2, showing a stronger price deviation and trend confirmation.
Signal 3: Triggered at Band 3, representing the most significant price deviation and strongest trend signal.
The further the price deviates from the mean, the stronger the trend signal, with Signal 3 being the most robust.
Color-Coded Bands:
Bands dynamically change color based on the trend direction:
Green bands signify an uptrend.
Brown bands signify a downtrend.
Dynamic Trend Line Changes:
Dashed lines highlight trend changes, helping traders visualize key turning points in the market.
🔵 Usage:
Use the bands to identify trend direction and strength.
Monitor the signal system to assess the level of price deviation and potential pullback strength.
Combine Signal 1, 2, and 3 to confirm trend momentum:
Signal 1 suggests a weaker pullback and continuation.
Signal 2 indicates a stronger trend confirmation.
Signal 3 highlights the strongest momentum and potential exhaustion points.
Utilize the color-coded bands for an intuitive understanding of current market conditions.
The Triple Trend Indicator is an ideal tool for trend traders looking for structured signals and dynamic support and resistance levels to optimize entries and exits.
Göstergeler ve stratejiler
Micha Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Machine Learning SupertrendThe Machine Learning Supertrend is an advanced trend-following indicator that enhances the traditional Supertrend with Gaussian Process Regression (GPR) and kernel-based learning. Unlike conventional methods that rely purely on historical ATR values, this indicator integrates machine learning techniques to dynamically estimate volatility and forecast future price movements, resulting in a more adaptive and robust trend detection system.
At the core of this indicator lies Gaussian Process Regression (GPR), which utilizes a Radial Basis Function (RBF) kernel to model price distributions and anticipate future trends. Instead of simply looking at past price action, it constructs a kernel matrix, enabling a probabilistic approach to price forecasting. This allows the indicator to not only detect current trends but also project potential trend reversals with greater accuracy.
By applying machine learning to ATR estimation, the ML Supertrend dynamically adjusts its thresholds based on predicted values rather than a fixed multiplier. This makes the trend signals more responsive to market conditions, reducing false signals and minimizing whipsaws often seen with traditional Supertrend indicators. The upper and lower bands are no longer static but evolve based on the underlying price structure, improving the reliability of trend shifts.
When the price crosses these adaptive levels, the indicator detects a trend change and plots it accordingly. Green signifies a bullish trend, while red indicates a bearish one. Alerts can also be triggered when the trend shifts, allowing traders to react quickly to potential reversals.
What makes this approach powerful is its ability to adapt to different market conditions. Traditional ATR-based methods use fixed parameters that might not always be optimal, whereas this ML-driven Supertrend continuously refines its estimations based on real-time data. The result is a more intelligent, less lagging, and highly adaptive trend-following tool.
This indicator is particularly useful for traders looking to enhance trend-following strategies with AI-driven insights. It reduces noise, improves signal reliability, and even offers a degree of trend forecasting, making it ideal for those who want a more advanced and dynamic alternative to standard Supertrend indicators.
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, and past performance is not indicative of future results. Trading involves risk, and users should conduct their own research and use proper risk management before making investment decisions.
Volume & Trend Confluence OscillatorVolume & Trend Confluence Oscillator (VTCO)
Overview:
The Volume & Trend Confluence Oscillator (VTCO) is a technical analysis tool designed to help traders assess market conditions by integrating volume analysis, momentum, and trend direction into a single oscillator. This indicator provides traders with additional confirmation when evaluating potential trade entries and exits.
Key Features:
Volume Analysis: Calculates a Z-score to detect unusual trading activity.
Momentum Measurement: Evaluates the rate of price change to gauge market velocity.
Trend Confirmation: Utilizes an Exponential Moving Average (EMA) to assess overall market direction.
Signal Filtering: Incorporates minimum movement thresholds and a confirmation period to reduce false signals.
Visual Enhancements: Background shading indicates trend direction, and buy/sell markers highlight key signals.
How It Works:
The VTCO applies a volume multiplier to momentum readings when volume activity significantly deviates from its historical norm. Additionally, it prioritizes momentum moves that align with the prevailing market trend. A smoothing mechanism refines the oscillator’s signal line, ensuring a more stable and actionable output. The indicator generates alerts when key conditions are met, assisting traders in identifying potential trend shifts.
Signal Generation:
Buy Signal: Triggered when the oscillator crosses above zero after an oversold condition, ideally within an uptrend.
Sell Signal: Triggered when the oscillator crosses below zero after an overbought condition, ideally within a downtrend.
Alerts: Configurable alerts notify traders when key market conditions are met.
Usage Considerations:
Works effectively across various timeframes but may provide more reliable signals on higher timeframes.
Best utilized in conjunction with additional technical indicators and risk management strategies.
No indicator guarantees future performance; proper analysis and trade management remain essential.
Disclaimer:
This indicator is provided for educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct independent analysis before making trading decisions.
Volumized Order Blocks | Flux ChartsOrder Blocks and Volume
Order Block Detection: The script identifies bullish and bearish order blocks based on price action and volume analysis. An Order Block typically forms when there is a strong move in price accompanied by significant volume, and it is seen as a potential level for price to return to or react at.
Swing Detection: The script looks for price swings (peaks and troughs) within a specified period (swingLength) and identifies these as potential starting points for order blocks.
Zone Types:
Bullish Order Blocks: Formed when price makes a strong upward move with accompanying high volume.
Bearish Order Blocks: Formed when price makes a strong downward move with high volume.
Order Block Validity: The order blocks can become invalid (a "breaker") if price moves past certain levels (depending on whether the obEndMethod is "Wick" or "Close").
Timeframes
The script supports multi-timeframe analysis. You can enable different timeframes for order block detection, and it will combine information from different timeframes for a more comprehensive analysis.
Visualization
Boxes: Bullish and bearish order blocks are drawn on the chart as boxes, with different colors representing the order type.
Volume Information: The script also displays volume-related information in the order block boxes, including the high and low volume levels within the block.
Combining Order Blocks
The script supports combining overlapping or touching order blocks into a single larger order block for a more refined visual representation. The combined blocks will have aggregated volume and other attributes.
Configuration Options
Show Historic Zones: Allows displaying older order blocks.
Volumetric Info: Option to display volume data within the order blocks.
Extend Zones: Configurable distance for extending the order blocks on the chart.
Text Display: Shows additional information (like the timeframe) on the order blocks.
Key Functions:
findOrderBlocks(): Main function that detects order blocks based on price action and volume.
combineOBsFunc(): Combines overlapping order blocks.
renderOrderBlock(): Renders the detected order blocks visually on the chart.
Advanced Features:
Dynamic Zone Extension: The zones can be dynamically extended based on the volatility of the market.
Volume Bars: Volume is visualized in the form of bars, either to the left or right of the order block zones.
Execution Flow:
Swing Detection: First, it detects significant price swings to identify potential order block zones.
Order Block Creation: Based on the detected swings, the script creates order blocks, calculating their volume, type (bullish or bearish), and other properties.
Order Block Rendering: The script then renders these order blocks on the chart, along with volume information and optional combined text from multiple timeframes.
Validation and Cleanup: The script regularly checks and cleans up invalidated order blocks to ensure the chart remains up-to-date with valid zones.
Conclusion
This script is primarily used for traders who want to identify potential support and resistance zones based on institutional order flow and price action. By using order blocks, traders can visualize key market areas where price might reverse or consolidate. The script's multi-timeframe capabilities allow for a more robust and thorough analysis, making it a powerful tool for technical analysis.
Let me know if you need help with any specific part of the code!
Search
Reason
Binance Pseudo Funding FeeThe indicator calculates the Funding Fee for Binance based on the Premium Index provided by TradingView. The calculation formula can be found here: Binance Funding Rate Introduction . This is NOT the official rate visible on binance.com and used for settlements, but rather an estimated rate, which is inherently INACCURATE . The accuracy of the calculation heavily depends on the timeframe, with almost perfect results on minute-based timeframes.
For the most accurate calculations, you need to visit Binance Funding History and fill in the corresponding Interval , Interest Rate , and Funding Cap/Floor settings for the specific symbol in the indicator's settings. I understand this is not convenient, but for now, this is how it works.
The blue bars indicate the settlement time. Funding can be smoothed using moving averages. Both the funding rate and the moving averages are displayed using plot and are labeled, so you can set alerts on them.
FT_RMITrendLibLibrary "FT_RMITrendLib"
calculateRMI(length)
Parameters:
length (simple int)
getRMITrendState(rsi_mfi, prevRsiMfi, pmom, nmom)
Parameters:
rsi_mfi (float)
prevRsiMfi (float)
pmom (float)
nmom (float)
High-Low Breakout Strategy with ATR traling Stop LossThis script is a TradingView Pine Script strategy that implements a High-Low Breakout Strategy with ATR Trailing Stop.created by SK WEALTH GURU, Here’s a breakdown of its key components:
Features and Functionality
Custom Timeframe and High-Low Detection
Allows users to select a custom timeframe (default: 30 minutes) to detect high and low levels.
Tracks the high and low within a user-specified period (e.g., first 30 minutes of the session).
Draws horizontal lines for high and low, persisting for a specified number of days.
Trade Entry Conditions
Long Entry: If the closing price crosses above the recorded high.
Short Entry: If the closing price crosses below the recorded low.
The user can choose to trade Long, Short, or Both.
ATR-Based Trailing Stop & Risk Management
Uses Average True Range (ATR) with a multiplier (default: 3.5) to determine a dynamic trailing stop-loss.
Trades reset daily, ensuring a fresh start each day.
Trade Execution and Partial Profit Taking
Stop-loss: Default at 1% of entry price.
Partial profit: Books 50% of the position at 3% profit.
Max 2 trades per day: If the first trade hits stop-loss, the strategy allows one re-entry.
Intraday Exit Condition
All positions close at 3:15 PM to ensure no overnight risk.
Three Bar Reversal & Patterns with TP, SL and EntryThe indicator I shared implements a strategy to detect and plot several key patterns (Three Bar Reversal, Double Bottom, Double Top, W, and M patterns) along with visual markers for buy and sell signals. It also uses line drawing to connect the patterns and alert the user when a signal is detected.
To identify the time frame suitability for each pattern and signal, let's break down how certain timeframes might affect the effectiveness and frequency of these patterns. Here are some general guidelines:
1. Three Bar Reversal
Best Timeframe: 5-minute to 1-hour.
Why: The Three Bar Reversal is a relatively short-term pattern that reacts quickly to price changes, making it more suitable for lower timeframes (5-minute, 15-minute, 30-minute, or 1-hour). On higher timeframes (like daily), these reversals might become too broad or rare, decreasing their effectiveness.
2. Double Bottom & Double Top
Best Timeframe: 1-hour to 4-hour.
Why: Double bottoms and tops tend to be more reliable on slightly longer timeframes (1-hour, 4-hour). These patterns signify stronger market reversals, so they need more time to form. On shorter timeframes, the patterns might appear too frequently or be invalidated by minor price fluctuations.
3. W Pattern
Best Timeframe: 1-hour to daily.
Why: The W pattern is a trend reversal pattern that tends to form over a longer period of time. It requires a series of price movements to complete, so it is better suited for 1-hour, 4-hour, or daily charts. On shorter timeframes, the pattern could appear too frequently, reducing its reliability.
4. M Pattern
Best Timeframe: 1-hour to daily.
Why: Like the W pattern, the M pattern is a reversal signal that requires more time to form. It’s more reliable on mid-range timeframes (1-hour to daily) where the market has time to develop these top structures. Shorter timeframes will produce more noise and less reliable M patterns.
5. Buy/Sell Signals
Best Timeframe for Buy Signals: 5-minute to 4-hour (for short-term momentum).
Best Timeframe for Sell Signals: 5-minute to 4-hour.
Why: The buy/sell signals can be applied across a range of timeframes. On shorter timeframes (5-minute, 15-minute, or 30-minute), the signals can help capture smaller, quick trends. For more significant moves, you can extend to 1-hour or 4-hour timeframes. Longer timeframes (like daily) would reduce signal frequency, but the signals would likely represent stronger price movements.
Example of Timeframe Suitability:
5-minute charts: Good for Three Bar Reversal and Buy/Sell Signals. Patterns like Double Bottom and Double Top may appear too often and be less significant.
30-minute charts: Suitable for Three Bar Reversal, Double Bottom, Double Top, and Buy/Sell Signals. More reliable than shorter timeframes.
1-hour charts: A balanced timeframe for Double Bottom, Double Top, W, M, and Buy/Sell Signals.
4-hour charts: Excellent for more substantial patterns like Double Bottom, Double Top, W, and M. Three Bar Reversal and Buy/Sell Signals will also be reliable.
Daily charts: Best for identifying more significant patterns like Double Bottom, Double Top, W, and M. Buy and sell signals will appear less frequently.
Scalper Strategy 15M V3This script combines two popular indicators, MACD and RSI, to provide more accurate trading signals. Additionally, it displays Support & Resistance levels based on the last 50 candles, helping traders identify potential price reversal areas.
Intraday & Swing traders looking to optimize their entry & exit points
TradingView users seeking stronger confirmation in trading signals.
Traders who incorporate support & resistance into their strategies.
How to Use:
1. Adjust the MACD & RSI parameters to match your strategy.
2. Use Support & Resistance levels to spot potential price reversals.
3. Watch for Buy/Sell signals appearing on the chart.
Always use proper risk management. No strategy is perfect, so backtest before using it on a live account.
Johnny's Volatility-Driven Trend Identifier w/ Reversal SignalsJohnny's Volatility-Driven Trend Identifier w/ Reversal Signals is designed to identify high-probability trend shifts and reversals by incorporating volatility, momentum, and impulse-based filtering. It is specifically built for traders who want to capture strong trend movements while minimizing false signals caused by low volatility noise.
By leveraging Rate of Change (ROC), Relative Strength Index (RSI), and Average True Range (ATR)-based volatility detection, the indicator dynamically adapts to market conditions. It highlights breakout trends, reversals, and early signs of momentum shifts using strategically placed labels and color-coded trend visualization.
Inspiration taken from Top G indicator .
What This Indicator Does
The Volatility-Driven Trend Identifier works by:
Measuring Market Extremes & Momentum:
Uses ROC normalization with standard deviation to identify impulse moves in price action.
Implements RSI filtering to determine overbought/oversold conditions that validate trend strength.
Utilizes ATR-based volatility tracking to ensure signals only appear when meaningful market movements are occurring.
Identifying Key Trend Events:
Power Peak (🔥): Marks a confirmed strong downtrend, ideal for shorting opportunities.
Surge (🚀): Indicates a confirmed strong uptrend, signaling a potential long entry.
Soft Surge (↗): Highlights a mild bullish reentry or early uptrend formation.
Soft Peak (↘): Shows a mild bearish reentry or early downtrend formation.
Providing Adaptive Filtering for Reliable Signals:
Filters out weak trends with a volatility check, ensuring signals appear only in strong market conditions.
Implements multi-level confirmation by combining trend strength metrics, preventing false breakouts.
Uses gradient-based visualization to color-code market sentiment for quick interpretation.
What This Indicator Signals
Breakouts & Impulse Moves: 🚀🔥
The Surge (🚀) and Power Peak (🔥) labels indicate confirmed momentum breakouts, where the trend has been validated by a combination of ROC impulse, RSI confirmation, and ATR volatility filtering.
These signals suggest that the market is entering a strong trend, and traders can align their entries accordingly.
Early Trend Formation & Reentries: ↗ ↘
The Soft Surge (↗) and Soft Peak (↘) labels indicate areas where a trend might be forming, but is not yet fully confirmed.
These signals help traders anticipate potential entries before the trend gains full strength.
Volatility-Adaptive Trend Filtering: 📊
Since the indicator only activates in volatile conditions, it avoids the pitfalls of low-range choppy markets where false signals frequently occur.
ATR-driven adaptive windowing allows the indicator to dynamically adjust its sensitivity based on real-time volatility conditions.
How to Use This Indicator
1. Identifying High-Probability Entries
Bullish Entries (Long Trades)
Look for 🚀 Surge signals in an uptrend.
Confirm with RSI (should be above 50 for momentum).
Ensure volatility is increasing to validate the breakout.
Use ↗ Soft Surge signals for early entries before the trend fully confirms.
Bearish Entries (Short Trades)
Look for 🔥 Power Peak signals in a downtrend.
RSI should be below 50, indicating downward momentum.
Volatility should be rising, ensuring market momentum is strong.
Use ↘ Soft Peak signals for early entries before a full bearish confirmation.
2. Avoiding False Signals
Ignore signals when the market is ranging (low ATR).
Check RSI and ROC alignment to ensure trend confirmation.
Use additional confluences (e.g., price action, support/resistance levels, moving averages) for enhanced accuracy.
3. Trend Confirmation & Filtering
The stronger the trend, the higher the likelihood that Surge (🚀) and Power Peak (🔥) signals will continue in their direction.
Soft Surge (↗) and Soft Peak (↘) act as early warning signals before major breakouts occur.
What Makes This a Machine Learning-Inspired Moving Average?
While this indicator is not a direct implementation of machine learning (as Pine Script lacks AI/ML capabilities), it mimics machine learning principles by adapting dynamically to market conditions using the following techniques:
Adaptive Trend Selection:
It does not rely on fixed moving averages but instead adapts dynamically based on volatility expansion and momentum detection.
ATR-based filtering adjusts the indicator’s sensitivity to real-time conditions.
Multi-Factor Confirmation (Feature Engineering Equivalent in ML):
Combines ROC, RSI, and ATR in a structured way, similar to how ML models use multiple inputs to filter and classify data.
Implements conditional trend recognition, ensuring that only valid signals pass through the filter.
Noise Reduction with Data Smoothing:
The algorithm avoids false signals by incorporating trend intensity thresholds, much like how ML models remove outliers to refine predictions.
Adaptive filtering ensures that low-volatility environments do not produce misleading signals.
Why Use This Indicator?
✔ Reduces False Signals: Multi-factor validation ensures only high-confidence signals are triggered.
✔ Works in All Market Conditions: Volatility-adaptive nature allows the indicator to perform well in both trending and ranging markets.
✔ Great for Swing & Intraday Trading: It helps spot momentum shifts early and allows traders to catch major market moves before they fully develop.
✔ Visually Intuitive: Color-coded trends and clear signal markers make it easy to interpret.
Bottom FishingThe Bottom Fishing Indicator is a technical analysis tool that integrates RSI (Relative Strength Index), CCI (Commodity Channel Index), and MFI (Money Flow Index) to detect potential market bottoming opportunities. It calculates the oversold accumulation value of these indicators and marks buy signals when specific thresholds are met.
This indicator supports multi-timeframe (MTF) analysis, allowing users to track oversold conditions on higher timeframes such as daily or weekly charts.
Calculation Logic
(1) RSI Calculation
The Relative Strength Index (RSI) measures the strength of price movement by comparing recent gains and losses over a defined period. If the RSI value drops below 30, it indicates that the asset is oversold, meaning that selling pressure has been dominant and a potential rebound might occur. When this condition is met, the difference between 30 and the RSI value is added to the accumulation sum.
(2) CCI Calculation
The Commodity Channel Index (CCI) compares the current price level to its moving average over a specific period. If the CCI value falls below -100, it suggests that the asset is experiencing significant downward pressure. The difference between -100 and the actual CCI value is recorded and accumulated over time to gauge the intensity of the oversold condition.
(3) MFI Calculation
The Money Flow Index (MFI) evaluates price movements in relation to volume to determine buying and selling pressure. When the MFI drops below 20, it signals that the market is experiencing excessive selling pressure. The difference between 20 and the MFI value is added to the accumulation sum to track the degree of the oversold condition.
(4) Oversold Accumulation Calculation
Each time the selected indicator (RSI, CCI, or MFI) enters an oversold state, the corresponding difference is added to an ongoing sum. If the indicator exits the oversold zone, the accumulation sum resets to zero. Once the accumulation sum reaches or exceeds the defined threshold, the indicator marks a buy signal on the chart, indicating a potential bottom.
Multi-Timeframe (MTF) Calculation
Uses request.security() to fetch higher timeframe data (e.g., Daily, Weekly).
RSI, CCI, and MFI are recalculated on the selected timeframe.
The same oversold accumulation logic is applied to detect long-term buy opportunities.
The MTF accumulation line is plotted to visualize oversold conditions on higher timeframes.
Chart Display
(1) Indicator Lines
✅ Accumulation Value Line
Value Sum Line (Aqua color): Represents the oversold accumulation sum in the current timeframe.
MTF Value Sum Line (Orange color): Represents the oversold accumulation sum in the selected multi-timeframe.
✅ Divergence Signal Markers
If accumulation exceeds the threshold, a "Goal" marker is plotted above the candle, signaling a potential bottom.
Use Cases
🔹 Short-term Trading: Ideal for scalping and intraday trading, detecting potential reversals when RSI, CCI, or MFI enters the oversold zone.
🔹 Trend Reversal Trading: Works best with multi-timeframe confirmation, where a higher timeframe also signals an oversold condition.
🔹 Combining with Other Indicators: Can be used alongside moving averages, MACD, Bollinger Bands for higher accuracy.
THE EDGE FXThis indicator is designed to enhance chart organization for traders by providing essential tools for analysis and time management. Key features include:
1. Notes and Watermarks:
- Allows traders to add customizable notes and watermarks directly on the chart for better information tracking and organization.
2. Unique Day and Week Separation:
- Dynamically separates days and weeks based on the selected UTC timezone. This feature is ideal for global traders managing different time zones and ensures accurate time segmentation on the chart.
3. Fractal Marking:
- Automatically highlights fractal points on the chart, helping traders identify potential reversal or continuation zones based on classic fractal analysis principles.
How It Works:
- The indicator overlays additional visual elements on the chart without altering the underlying data.
- Time segmentation is achieved using an algorithm that adapts to the selected UTC timezone for clear and accurate visualization.
- Fractal detection follows standard technical analysis rules to identify key price levels.
Usage Instructions:
- Add the indicator to your chart and configure the settings for your preferred timezone.
- Use the notes feature to save and display critical information directly on the chart.
- Utilize fractal markings to analyze potential turning points and market trends.
This indicator provides a streamlined way to manage your chart annotations and fractal analysis, making it an essential tool for both intraday and swing traders.
RoGr75 - EMA 50/8 Cross With Buy/Sell Signals RoGr75 - EMA 50/8 Cross With Buy/Sell Signals
---
**Overview:**
This script is designed to generate **Buy** and **Sell** signals based on the crossover and crossunder of two Exponential Moving Averages (EMAs): **EMA 8** (green line) and **EMA 50** (blue line). The signals are plotted at a user-defined distance from the candles, ensuring clear visibility and adaptability to market volatility.
---
**Key Features:**
1. **EMA Cross Signals**:
- A **Buy Signal** is generated when the **EMA 8** crosses above the **EMA 50**.
- A **Sell Signal** is generated when the **EMA 8** crosses below the **EMA 50**.
2. **Variable Signal Distance**:
- The distance of the Buy and Sell signals from the candles is controlled by a **user-defined input** (`signal_distance`).
- The distance is calculated using the **Average True Range (ATR)** to adapt to market volatility.
3. **Customizable Parameters**:
- `signal_distance`: Adjust the distance of the signals from the candles (default: 2.0).
- ATR period: Fixed at 14 but can be modified in the script.
4. **Visual Enhancements**:
- Buy signals are displayed as green labels below the candles.
- Sell signals are displayed as red labels above the candles.
- Optional background highlighting for Buy and Sell signals.
---
**How It Works:**
- The script calculates the **EMA 8** and **EMA 50** and plots them on the chart.
- When a crossover or crossunder occurs, a label is placed at a distance determined by the formula:
- **Buy Signal Position**: `low - (signal_distance * ATR(14))`
- **Sell Signal Position**: `high + (signal_distance * ATR(14))`
- The signals are clearly visible and adapt to the volatility of the asset.
---
**Input Parameters:**
- `signal_distance` (type: input float): Controls the distance of the Buy and Sell signals from the candles. Default value is `2.0`.
---
**Usage:**
1. Add the script to your chart in TradingView.
2. Adjust the `signal_distance` input to set the desired distance of the signals from the candles.
3. Monitor the Buy and Sell signals generated by the script for potential trading opportunities.
---
**Example:**
- If `signal_distance` is set to `2.0`, the Buy signal will appear **2x ATR** below the candle's low, and the Sell signal will appear **2x ATR** above the candle's high.
---
**Customization:**
- Modify the ATR period or replace it with a fixed value for static distance.
- Adjust the colors, styles, and sizes of the labels and EMAs to suit your preferences.
---
**Ideal For:**
- Traders looking for a simple and effective EMA crossover strategy.
- Users who want customizable signal placement for better visibility.
- Those who prefer volatility-adjusted signal distances.
---
**Note:**
This script is for educational and informational purposes only. Always backtest and validate strategies before using them in live trading.
Percentage Retracement from ATH█ OVERVIEW
The Percentage Retracement from ATH indicator is a dynamic trading utility designed to help traders gauge market pullbacks from the peak price. By calculating key retracement levels based on the All-Time High (ATH) and user‑defined percentage inputs, it offers clear visual cues to assist in identifying potential support and resistance zones.
█ KEY FEATURES
Custom Date — Use a custom start date so the indicator only considers specified price action.
Retracement Calculation — Determines ATH and calculates levels based on user‑defined percentages (0% to –100%).
Visual Customisation — Plots configurable horizontal lines and labels showing retracement percentages and prices.
Time Filtering — Uses time filtering to base levels on the desired data period.
█ PURPOSE
Assist traders in visualising the depth of price retracements from recent or historical peaks.
Identify critical zones where the market may find support or resistance after reaching an ATH.
Facilitate more informed entry and exit decisions by clearly demarcating retracement levels on the chart.
█ IDEAL USERS
Swing Traders — Looking to exploit pullbacks following strong upward moves.
Technical Analysts — Interested in pinpointing key retracement levels as potential reversal or continuation points.
Price Action Traders — Focused on the nuances of market peaks and subsequent corrections.
Strategy Developers — Keen to backtest and refine approaches centred on retracement dynamics.
Kalman Filter Trend BreakersKalman filter is a recursive algorithm that has been invented in the 1960s to track a moving target, remove any noisy measurements of its position and predict its future position.
In trading, KF might be a good replacement for a moving average, as it reacts to price changes in a different way. Not only it follows price direction, but can also track the velocity of price changes. This specific behaviour of KF is used in this indicator to track changes in trends.
Trend is characterized by price moving directionally, however, any trend comes to pause or complete stop and reversal, as the price changes more slowly (a trend fades into a sideways movement for a while) or the price movement changes direction, thus making a reversal.
This indicator detects the points where such changes occur (trend breaker points), and produces signals, which serve as points of current trend pausing or reversing. By applying different settings for KF calculation, you can produce less or more signals that indicate change in trend character, and either detect only significant trends changes, or less and shorter trends changes as well.
The signals do not differentiate the exact type of a trend change (it can be a brief trend pause followed by a continuation, as well as a complete reversal). However, once you are in a trend, the significant velocity change indicates a change in trend structure. In this sense, trend breaker signals should not be followed blindly, and can be used only as trend (and position) exit confirmations, but not the entry contrarian confirmations.
For better visual representation, you can use chart signals attached to bars, and additionally a vertical gradient which shows significant trend velocity change.
Daily COC Strategy with SHERLOCK WAVESThis indicator implements a unique trading strategy known as the "Daily COC (Candle Over Candle) Strategy" enhanced with "SHERLOCK WAVES" for pattern recognition. It's designed for traders looking to capitalize on specific candlestick formations with a negative risk-reward ratio, with the aim of achieving a high win rate (over 70%) through numerous trading opportunities, despite each trade having a higher risk relative to the reward.
Key Features:
Pattern Recognition: Identifies a setup based on three consecutive candles - a red candle followed by a shooting star, then an entry candle that does not break below the shooting star's low.
Negative Risk/Reward Trade Selection: Focuses on entries where the potential stop loss is greater than the take profit, banking on a high win rate to offset the individual trade's negative risk-reward ratio.
Visual Signals:
Green Label: Marks potential entry points at the high of the candle before the entry.
Green Dot: Indicates a winning trade closure.
Red Dot: Signals a losing trade closure.
Blue Circle: Warns when the current candle is within 2% of breaking above the previous candle's high, suggesting a potential setup is developing.
Green Circle: Plots the take profit level.
Red Circle: Plots the stop loss level.
Dynamic Statistics: A live updating label showing the number of trades, wins, losses, open trades, current account balance, and win percentage.
Customizable Parameters:
Risk % per Trade: Adjust the percentage of your account balance you're willing to risk on each trade.
Initial Account Balance: Set your starting balance for tracking performance.
Start Date for Strategy: Define when the strategy should start calculating from, allowing for backtesting.
Alerts:
An alert condition is set for when a potential trade setup is developing, helping traders prepare for entries.
Usage Tips:
This strategy is predicated on the idea that a high win rate can compensate for the negative risk-reward ratio of individual trades. It might not suit all market conditions or traders' risk profiles.
Use this strategy in conjunction with other analysis methods to validate trade setups.
Note: Always backtest thoroughly before applying to live markets. Consider this tool as part of a broader trading strategy, not a standalone solution. Monitor your win rate and adjust your risk management accordingly to ensure the strategy remains profitable over time.
This description now correctly explains the purpose behind the negative risk-reward ratio in the context of your trading strategy.
Timeframe Levels for Price Action📖 Introduction
Timeframe Levels Indicator is a powerful tool for identifying key support and resistance zones based on historical price action. By plotting weekly, daily, and 4-hour closing levels, this indicator helps traders understand where price is likely to:
✅ Range & Consolidate – Identify congestion zones where price action stalls.
✅ Break & Expand – Spot areas where price can rapidly move to the next level.
✅ Form MMXM Structures – Find market maker expansion and distribution levels.
These levels are critical for traders looking to anticipate price action, identify high-probability trade setups, and manage risk effectively.
The indicator dynamically plots historical close price levels across three key timeframes:
✅ Weekly Close Levels – Identify key levels based on weekly closes.
✅ Daily Close Levels – Spot daily open/close levels for refined entries.
✅ 4-Hour Close Levels – Track intra-day significant price points.
⚙️ How It Works
This indicator retrieves and displays the past 10 close levels for each selected timeframe using request.security().
🔹 Lines are customizable – Adjust the number of lines per timeframe (0-10).
🔹 Dynamic styling – Choose colors and line styles (solid, dashed, or dotted).
🔹 Extend historical levels – Lines extend across the chart for easy visualization.
🎨 Customization Options
🔧 Timeframe Selection: Choose how many weekly, daily, and 4-hour levels to display.
🎨 Color Settings: Customize the colors for each timeframe.
📏 Line Styles: Select between solid, dashed, or dotted lines for better visibility.
📊 Why Use This Indicator?
✅ Identify Key Support & Resistance Zones – Track where price has historically reacted.
✅ Adapt to Any Trading Style – Works for scalping, swing trading, and long-term investing.
✅ Enhance Multi-Timeframe Analysis – Quickly compare price action across different timeframes.
📊 How This Helps You Trade
✔ Pinpoint Key Trading Levels – Use past close levels to identify major market turning points.
✔ Confirm Ranges & Expansions – Understand whether price is likely to consolidate or break into a new trend by evaluating the next level above or below.
✔ Optimize Entries & Exits – Avoid getting trapped in congestion zones and capitalize on breakout opportunities. The more overlapping lines, the more congestion.
✔ Backtest Historical Reactions – See how price has responded to these levels in the past to refine your strategy. As price breaks out, any daily or 4 hour level will slow down the continued momentum.
🛠 How to Use
1️⃣ Add the indicator to your TradingView chart.
2️⃣ Adjust the number of levels per timeframe (Weekly, Daily, 4-Hour).
3️⃣ Customize the line colors and styles to match your chart preferences.
4️⃣ Observe how price reacts to historical levels and plan your trades accordingly.
📜 Code Highlights : What Makes This Indicator Powerful?
This Multi-Timeframe Open/Close Levels Indicator is built with dynamic customization, efficiency, and structured market insights in mind. Here are some key highlights of the code:
The script fetches historical closing prices from three critical timeframes:
✅ Weekly Close Levels (W) – Major swing levels for long-term positioning.
✅ Daily Close Levels (D) – Useful for intraday and swing trading.
✅ 4-Hour Close Levels (240) – Ideal for short-term traders and scalpers.
Each timeframe’s close levels act as dynamic support and resistance zones, helping traders spot key areas for price reactions and liquidity grabs.
The indicator retrieves and stores up to 10 past close levels using request.security(), making it easy to track key price points without lagging the chart.
✅ Uses bar_index to extend levels both left and right.
✅ Ensures proper deletion and redrawing of lines to prevent clutter.
✅ Automatically updates levels as new bars print.
Instead of storing all lines at once, the script:
⚡ Deletes old lines before redrawing new ones.
⚡ Uses var line to ensure memory efficiency.
⚡ Prevents exceeding TradingView's 10,000-cell limit by limiting the number of stored lines.
This results in a smooth, non-laggy experience even with multiple timeframes displayed.
The levels plotted by this indicator help traders:
📊 Identify consolidation zones where price might range.
🚀 Spot breakout areas where price expands to the next key level.
📉 Recognize market maker structures (MMXM) to predict liquidity grabs.
These insights give traders a strategic edge in planning their entries, exits, and trade management.
Final Thoughts
This indicator is a powerful tool for traders looking to integrate historical price levels into their strategy.
Whether you’re a scalper, a day trader, or a swing trader, this indicator provides valuable insights into where price is likely to range, reverse, or break out.
Don’t trade blind—trade with structure. Use this tool to refine your entries, exits, and risk management, and start making more confident trading decisions today!
📌 Interested in accessing this indicator? 📩 Contact me for details!
HTC peppermint_07 CCI w signal + s&r RSI
This CCI version enhances the traditional Commodity Channel Index (CCI) by integrating a dynamically calculated Relative Strength Index (RSI) that acts as support and resistance as shown in the screenshot, it can add as a confirmation to the divergence found in the CCI.
Key Features:
Enhanced CCI: The primary plot (black line but customizable) represents the standard CCI, providing insight into price momentum and potential overbought/oversold conditions.
Dynamic RSI Support/Resistance: The upper and lower bands (medium cyan line) are derived from a smoothed RSI, dynamically adjusting to the current market volatility. These bands serve as potential support and resistance levels for the CCI as additional confirmation for the divergence.
Overbought/Oversold Zones: The traditional overbought (+100) and oversold (-100) levels for CCI are marked with horizontal dotted lines.
Benefits:
Improved Entry/Exit Signals: Combining CCI with dynamic RSI support/resistance may offer more precise trading signals compared to using CCI alone.
Dynamic Adaptation: The RSI-based bands adapt to changing market conditions, potentially providing more relevant support and resistance levels.
Divergence Confirmation: dynamic s&r RSI adds confluence to potential trend reversals identified by the CCI.
Potential Usage:
Traders might use this indicator to:
Identify potential overbought/oversold conditions using the CCI and its relationship to the dynamic RSI bands.
Look for breakouts beyond the dynamic support/resistance levels as potential entry points.
Confirm potential trend reversals using RSI divergence (cyan and red label above divergence) signals.
Further Development Considerations:
Customizable Parameters: Allowing users to adjust the CCI length, RSI periods, and smoothing factors would enhance flexibility.
Alert Conditions: Adding alerts for breakouts, overbought/oversold conditions, and divergence signals would improve usability.
Backtesting: Thoroughly backtesting the indicator's performance across different assets and timeframes is essential before using it for live trading.
DISCLAIMER: !!
indicator is a custom technical analysis tool designed for educational and informational purposes only. It should not be construed as financial advice or a recommendation to buy or sell any security. Trading involves substantial risk of loss and may not be suitable for all investors.
Key Points to Consider:
No Guarantee of Profitability: The indicator's past performance is not indicative of future results. No trading strategy can guarantee profits or eliminate the risk of losses. You could lose some or all of your investment.
Use at Your Own Risk: Use of this indicator is solely at your own discretion and risk. You are responsible for your trading decisions. The developers and distributors of this indicator are not liable for any losses incurred as a result of using it.
Not Financial Advice: This indicator does not provide financial advice. Consult with a qualified financial advisor before making any investment decisions.
Backtesting Limitations: Backtested results, if presented, should be viewed with caution. Past performance may not reflect future results due to various factors, including changing market conditions and the limitations of backtesting methodologies.
Indicator Limitations: Technical indicators, including this one, are not perfect. They can generate false signals, and their effectiveness can vary depending on market conditions and the specific parameters used.
Parameter Optimization: Optimizing indicator parameters for past performance can lead to overfitting, which may not translate to future profitability.
No Warranty: The indicator is provided "as is" without any warranty of any kind, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
Changes and Updates: The developers may make changes or updates to the indicator without notice.
By using the "HTC peppermint_07 CCI w signal + s&r RSI" indicator, you acknowledge and agree to the terms of this disclaimer. If you do not agree with these terms, do not use the indicator.
UNITY SMART SIGNAL PROUNITY SMART SIGNAL PRO Indicator Formula:
UNITY SMART SIGNAL PRO indicator ko calculate karne ke liye two main parameters ki zarurat hoti hai:
Average True Range (ATR) – Yeh volatility ka measure hota hai.
Multiplier – Iska use ATR ko scale karne ke liye hota hai.
Super Trend ki formula yeh hai:
Up Trend: (Previous Super Trend) + (Multiplier × ATR)
Down Trend: (Previous Super Trend) - (Multiplier × ATR)
Calculation Steps:
Calculate ATR (Average True Range): ATR ko calculate karne ke liye, aapko har period ke liye True Range (TR) calculate karni hoti hai. True Range ko is formula se calculate kiya jata hai:
𝑇
𝑅
=
Max
(
High
−
Low
,
∣
High
−
Previous Close
∣
,
∣
Low
−
Previous Close
∣
)
TR=Max(High−Low,∣High−Previous Close∣,∣Low−Previous Close∣)
ATR ko ek certain number of periods (usually 14) ke liye average kiya jata hai.
Multiplier Selection: Multiplier ko usually 1.5, 2 ya 3 rakha jata hai. Yeh value aap market ki volatility ke hisaab se adjust kar sakte hain.
UNITY SMART SIGNAL PRO Calculation:
Agar price current bar mein above UNITY SMART SIGNAL PRO value hai, toh trend upward hai.
Agar price current bar mein below UNITY SMART SIGNAL PRO value hai, toh trend downward hai.
Example:
Up Trend (when price is above the Super Trend line):
Super Trend value = (Previous Super Trend value) + (Multiplier × ATR)
Down Trend (when price is below the Super Trend line):
Super Trend value = (Previous Super Trend value) - (Multiplier × ATR)
RSI & BB% Indicator (King369)Here's a TradingView Pine Script that combines the Relative Strength Index (RSI) and Bollinger Bands %B into a single indicator. It includes the following features:
✅ RSI calculation
✅ Bollinger Bands %B calculation
✅ Three level borders (0, 50, 100)
✅ Customizable settings (length, colors, etc.)
✅ Background shading for overbought/oversold zones
Displaced MAsDisplaced Moving Averages with Customizable Bands
Overview
The "Displaced Moving Averages with Customizable Bands" indicator is a powerful and versatile tool designed to provide a comprehensive view of price action in relation to various moving averages (MAs) and their volatility. It offers a high degree of customization, allowing traders to tailor the indicator to their specific needs and trading styles. The indicator features a primary moving average with multiple configurable percentage-based displacement bands. It also includes additional moving averages with standard deviation bands for a more in-depth analysis of different timeframes.
Key Features
Multiple Moving Average Types:
Choose from a wide range of popular moving average types for the primary MA calculation:
WMA (Weighted Moving Average)
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
HMA (Hull Moving Average)
VWAP (Volume-Weighted Average Price)
Smoothed VWAP
Rolling VWAP
The flexibility to select the most appropriate MA type allows you to adapt the indicator to different market conditions and trading strategies.
Smoothed VWAP with Customizable Smoothing:
When "Smoothed VWAP" is selected, you can further refine it by choosing a smoothing type: SMA, EMA, WMA, or HMA.
Customize the smoothing period based on the chart's timeframe (1H, 4H, D, W) or use a default period. This feature offers fine-grained control over the responsiveness of the VWAP calculation.
Rolling VWAP with Adjustable Lookback:
The "Rolling VWAP" option calculates the VWAP over a user-defined lookback period.
Customize the lookback length for different timeframes (1H, 4H, D, W) or use a default period. This provides a dynamic VWAP calculation that adapts to the chosen timeframe.
Customizable Lookback Lengths:
Define the lookback period for the primary moving average calculation.
Tailor the lookback lengths for different timeframes (1H, 4H, D, W) or use a default value.
This allows you to adjust the sensitivity of the MA to recent price action based on the timeframe you are analyzing. Also has inputs for 5m, and 15m timeframes.
Percentage-Based Displacement Bands:
The core feature of this indicator is the ability to plot multiple displacement bands above and below the primary moving average.
These bands are calculated as a percentage offset from the MA, providing a clear visualization of price deviations.
Visibility Toggles: Independently show or hide each band (+/- 2%, 5%, 7%, 10%, 15%, 20%, 25%, 30%, 40%, 50%, 60%, 70%).
Customizable Colors: Assign unique colors to each band for easy visual identification.
Adjustable Multipliers: Fine-tune the percentage displacement for each band using individual multiplier inputs.
The bands are useful for identifying potential support and resistance levels, overbought/oversold conditions, and volatility expansions/contractions.
Labels for Displacement Bands:
The indicator displays labels next to each plotted band, clearly indicating the percentage displacement (e.g., "+7%", "-15%").
Customize the label text color for optimal visibility.
The labels can be horizontally offset by a user-defined number of bars.
Additional Moving Averages with Standard Deviation Bands:
The indicator includes three additional moving averages, each with upper and lower standard deviation bands. These are designed to provide insights into volatility on different timeframes.
Timeframe Selection: Choose the timeframes for these additional MAs (e.g., Weekly, 4-Hour, Daily).
Sigma (Standard Deviation Multiplier): Adjust the standard deviation multiplier for each MA.
MA Length: Set the lookback period for each additional MA.
Visibility Toggles: Show or hide the lower band of MA1, the middle/upper/lower bands of MA2, and the bands of MA3.
4h Bollinger Middle MA is unticked by default to provide a less cluttered chart
These additional MAs are particularly useful for multi-timeframe analysis and identifying potential trend reversals or volatility shifts.
How to Use
Add the indicator to your TradingView chart.
Customize the settings:
Select the desired Moving Average Type for the primary MA.
If using Smoothed VWAP, choose the Smoothing Type and adjust the Smoothing Period for different timeframes.
If using Rolling VWAP, adjust the Lookback Length for different timeframes.
Set the Lookback Length for the primary MA for different timeframes.
Toggle the visibility of the Displacement Bands and adjust their Colors and Multipliers.
Customize the Label Text Color and Offset.
Configure the Timeframes, Sigma, and MA Length for the additional moving averages.
Toggle the visibility of the additional MA bands.
Interpret the plotted lines and bands:
Primary MA: Represents the average price over the selected lookback period, calculated using the chosen MA type.
Displacement Bands: Indicate potential support and resistance levels, overbought/oversold conditions, and volatility ranges. Price trading outside these bands may signal significant deviations from the average.
Additional MAs with Standard Deviation Bands: Provide insights into volatility on different timeframes. Wider bands suggest higher volatility, while narrower bands indicate lower volatility.
Potential Trading Applications
Trend Identification: Use the primary MA to identify the overall trend direction.
Support and Resistance: The displacement bands can act as dynamic support and resistance levels.
Overbought/Oversold: Price reaching the outer displacement bands may suggest overbought or oversold conditions, potentially indicating a pullback or reversal.
Volatility Analysis: The standard deviation bands of the additional MAs can help assess volatility on different timeframes.
Multi-Timeframe Analysis: Combine the primary MA with the additional MAs to gain a broader perspective on price action across multiple timeframes.
Entry and Exit Signals: Use the interaction of price with the MA and bands to generate potential entry and exit signals. For example, a bounce off a lower band could be a buy signal, while a rejection from an upper band could be a sell signal.
Disclaimer
This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct thorough research and consider your risk tolerance before making any trading decisions.
Enjoy using the "Displaced Moving Averages with Customizable Bands" indicator!