Support & Resistance - Volume Based [Splirus]The Support & Resistance - Volume Based indicator is a sophisticated tool designed for TradingView to assist traders in identifying key support and resistance levels based on volume and price action dynamics. Here’s a breakdown of its functionality:
Core Features:
1. Dynamic Support and Resistance Zones:
Automatically detects and plots support and resistance zones using swing highs and lows.
Zones are calculated based on the Average True Range (ATR) to ensure dynamic adaptability to market volatility.
2. Volume Integration:
Incorporates volume data to validate the strength of support and resistance zones.
Highlights zones where volume activity indicates significant market interest.
3. Customizable Trading Modes:
Offers three trading styles: Scalper, Intraday, and Swing, each with adjustable parameters to suit different timeframes and strategies.
4. Breakout and Retest Detection:
Identifies breakouts above resistance or below support.
Tracks retests of broken levels to confirm their validity as new support or resistance.
5. Multi-Timeframe Analysis:
Includes an option to display custom support and resistance levels derived from higher timeframes for enhanced perspective.
6. Visual Enhancements:
Configurable colors and labels for resistance and support zones.
Displays volume labels and key level annotations for clarity.
Settings Overview:
Trading Settings:
Adjust parameters like swing length and retest bar count to refine level detection.
Visual Settings:
Control the appearance of zones, including width, history retention, and color customization.
Alert Conditions:
Alerts for testing, breaking, and retesting support or resistance zones, ensuring traders never miss critical events.
Usage Scenarios:
Intraday Traders: Quickly identify intraday levels to base entries and exits.
Swing Traders: Utilize historical zones to plan trades around significant support and resistance areas.
Scalpers: Benefit from precise, short-term level detection tailored for high-frequency trading.
This indicator is highly versatile, combining technical precision with visual clarity, making it an essential tool for traders aiming to optimize their decision-making in dynamic markets.
Indicators and strategies
Smart Money Breakout Signals [AlgoAlpha]Introducing the Smart Money Breakout Signals, a cutting-edge trading indicator designed to identify key structural shifts and breakout opportunities in the market. This tool leverages a blend of smart money concepts like Break of Structure (BOS) and Change of Character (CHoCH) to provide traders with actionable insights into market direction and potential entry or exit points.
Key Features :
✨ Market Structure Analysis : Automatically detects and labels BOS and CHoCH for trend confirmation and reversals.
🎨 Customizable Visualization : Tailor bullish and bearish colors for breakout lines and signals to suit your preferences.
📊 Dynamic Take-Profit Targets : Displays three tiered take-profit levels based on breakout volatility.
🔔 Real-Time Alerts : Stay ahead of the game with notifications for bullish and bearish breakouts.
📋 Performance Dashboard : Monitor signal statistics, including win rates and total signals, directly on your chart.
How to Use :
Add the Indicator : Add the script to your favourites ⭐ and customize settings like market structure horizon and confirmation type.
Monitor Breakouts : Observe BOS and CHoCH labels to identify potential trend shifts. Use the breakout lines and tiered take-profit levels to plan trades effectively.
Set Alerts : Enable alerts for bullish or bearish breakouts to act on opportunities without constant monitoring.
How It Works :
The indicator identifies market structure by analyzing pivot highs and lows over a user-defined time horizon. A breakout is confirmed based on either candle closes or wicks surpassing previous pivot points. Upon detection, the script generates signals with breakout lines and calculates take-profit targets based on the distance from the breakout level. A built-in dashboard tracks performance metrics like total signals and win rates, giving traders real-time feedback on strategy effectiveness.
Smart VolumeThis script introduces a unique approach to volume analysis by combining three critical components that work together to identify institutional activity:
1. Adaptive Volume Analysis
- Automatically calculates significant volume thresholds specific to each stock (current bar volume compared to the average of previous 6 bars)
- Unlike standard indicators using fixed multipliers (like 2x average volume), this adapts to each stock's unique trading characteristics
- Example: A 2x volume spike might be significant for AAPL but irrelevant for a volatile small-cap
2. Volume Contraction Pattern (VCP) Detection
- Identifies periods of decreasing volume with precise criteria:
• Requires 6+ consecutive periods of declining volume
• Volume must compress by at least 20% from peak
• Price must remain within a defined channel
- Automatically detects completion of compression patterns
3. RVM (Relative Volatility Measure) Integration
- Measures current volatility against historical averages
- Identifies low-volatility periods that often precede major moves
- When combined with volume compression, signals higher probability setups
How Components Work Together:
- Volume spikes are evaluated against stock-specific thresholds
- VCP detection runs continuously to identify compression patterns
- RVM confirms volatility contraction aligned with volume compression
- When all three align, the indicator signals potential breakout entry
Usage:
1. Monitor volume bars for spikes above adaptive thresholds (bright green/red)|
2. Monitor average volume line turning from white to green indicating volume contraction (the brighter the green the more contraction happened)
2. Watch for green shading at the zero-line indicating volatility compression (RVM)
3. Use the statistics table for more insights
Original Features:
- First indicator to combine adaptive volume thresholds with VCP detection
- Implements stock-specific volume analysis instead of fixed multipliers
- Integrates volatility confirmation with volume patterns
- Provides real-time statistical analysis of compression patterns
Best suited for daily timeframes on liquid stocks where institutional activity is most visible.
Note: While patterns suggest potential moves, always confirm with price action before trading.
Video:
Quantitative Breakout Bands (AIBitcoinTrend)Quantitative Breakout Bands (AIBitcoinTrend) is an advanced indicator designed to adapt to dynamic market conditions by utilizing a Kalman filter for real-time data analysis and trend detection. This innovative tool empowers traders to identify price breakouts, evaluate trends, and refine their trading strategies with precision.
👽 What Are Quantitative Breakout Bands, and Why Are They Unique?
Quantitative Breakout Bands combine advanced filtering techniques (Kalman Filters) with statistical measures such as mean absolute error (MAE) to create adaptive price bands. These bands adjust to market conditions dynamically, providing insights into volatility, trend strength, and breakout opportunities.
What sets this indicator apart is its ability to incorporate both position (price) and velocity (rate of price change) into its calculations, making it highly responsive yet smooth. This dual consideration ensures traders get reliable signals without excessive lag or noise.
👽 The Math Behind the Indicator
👾 Kalman Filter Estimation:
At the core of the indicator is the Kalman Filter, a recursive algorithm used to predict the next state of a system based on past observations. It incorporates two primary elements:
State Prediction: The indicator predicts future price (position) and velocity based on previous values.
Error Covariance Adjustment: The process and measurement noise parameters refine the prediction's accuracy by balancing smoothness and responsiveness.
👾 Breakout Bands Calculation:
The breakout bands are derived from the mean absolute error (MAE) of price deviations relative to the filtered trendline:
float upperBand = kalmanPrice + bandMultiplier * mae
float lowerBand = kalmanPrice - bandMultiplier * mae
The multiplier allows traders to adjust the sensitivity of the bands to market volatility.
👾 Slope-Based Trend Detection:
A weighted slope calculation measures the gradient of the filtered price over a configurable window. This slope determines whether the market is trending bullish, bearish, or neutral.
👾 Trailing Stop Mechanism:
The trailing stop employs the Average True Range (ATR) to calculate dynamic stop levels. This ensures positions are protected during volatile moves while minimizing premature exits.
👽 How It Adapts to Price Movements
Dynamic Noise Calibration: By adjusting process and measurement noise inputs, the indicator balances smoothness (to reduce noise) with responsiveness (to adapt to sharp price changes).
Trend Responsiveness: The Kalman Filter ensures that trend changes are quickly identified, while the slope calculation adds confirmation.
Volatility Sensitivity: The MAE-based bands expand and contract in response to changes in market volatility, making them ideal for breakout detection.
👽 How Traders Can Use the Indicator
👾 Breakout Detection:
Bullish Breakouts: When the price moves above the upper band, it signals a potential upward breakout.
Bearish Breakouts: When the price moves below the lower band, it signals a potential downward breakout.
The trailing stop feature offers a dynamic way to lock in profits or minimize losses during trending moves.
👾 Trend Confirmation:
The color-coded Kalman line and slope provide visual cues:
Bullish Trend: Positive slope, green line.
Bearish Trend: Negative slope, red line.
👽 Why It’s Useful for Traders
Dynamic and Adaptive: The indicator adjusts to changing market conditions, ensuring relevance across timeframes and asset classes.
Noise Reduction: The Kalman Filter smooths price data, eliminating false signals caused by short-term noise.
Comprehensive Insights: By combining breakout detection, trend analysis, and risk management, it offers a holistic trading tool.
👽 Indicator Settings
Process Noise (Position & Velocity): Adjusts filter responsiveness to price changes.
Measurement Noise: Defines expected price noise for smoother trend detection.
Slope Window: Configures the lookback for slope calculation.
Lookback Period for MAE: Defines the sensitivity of the bands to volatility.
Band Multiplier: Controls the band width.
ATR Multiplier: Adjusts the sensitivity of the trailing stop.
Line Width: Customizes the appearance of the trailing stop line.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.
HTF CandlestickHTF Candlestick
This indicator that visualizes a specific candle from a user-defined timeframe (1D, 1H, etc.) and its associated properties on the chart. Below is a detailed explanation:
1 - Inputs and Initialization:
timeframeInput: Allows the user to select the desired timeframe (e.g., daily).
pos: Adjusts the horizontal position of the drawn candle on the chart.
2 - Custom Data Type (type bar):
The bar type stores data for the open, high, low, and close (OHLC) values, as well as the start time of the candle.
It also includes graphical elements like body, wick, and start lines.
3 - Logic:
A variable b is initialized to represent the custom candle.
The script checks for changes in the selected timeframe and creates a new bar when the timeframe changes.
4 - Methods:
update(): Updates the OHLC values of the bar if a new high or low occurs.
display(): Draws the candle on the chart, including:
The candle body.
The wick (shadow).
Labels showing the open, high, and low values.
Horizontal and vertical dotted lines for visual aid.
5 - Candle Redrawing:
The script clears all graphical elements (lines, labels, boxes) for the current candle on the last bar of the chart (barstate.islast) and redraws them using the display() method.
6 - Table Display:
A small table is displayed at the right-hand side of the chart showing:
The selected timeframe.
The opening value of the candle.
The difference between the close and open prices, highlighted with the appropriate color.
Kod Açıklaması
Bu Pine Script, kullanıcı tarafından seçilen bir zaman dilimine (1D, 1H vb.) ait bir mum çubuğunu ve onun özelliklerini grafik üzerinde görselleştiren özel bir indikatördür. İşte detaylı açıklaması:
1- Girdiler ve Başlangıç:
timeframeInput: Kullanıcının istediği zaman dilimini seçmesine olanak tanır (ör. günlük).
pos: Çizilen mumun grafikte yatay pozisyonunu ayarlamak için kullanılır.
2 - Özel Veri Tipi (type bar):
bar türü, açılış, yüksek, düşük ve kapanış (OHLC) değerlerini ve mumun başlangıç zamanını saklar.
Ayrıca, grafik öğeleri için body, wick ve start gibi alanlar içerir.
3- Mantık:
b değişkeni, seçilen mum çubuğunu temsil etmek için tanımlanmıştır.
Seçilen zaman diliminde bir değişiklik olup olmadığını kontrol eder ve değişiklik olduğunda yeni bir bar oluşturur.
4 - Metotlar:
update(): Daha yüksek bir zirve veya daha düşük bir dip meydana gelirse, mumun OHLC değerlerini günceller.
display(): Grafik üzerinde mum çubuğunu çizer. Bu işlem şunları içerir:
Mum gövdesi.
Fitil (gölge).
Açılış, yüksek ve düşük değerlerini gösteren etiketler.
Görsel yardım için yatay ve dikey kesik çizgiler.
5- Mum Yeniden Çizimi:
Grafik üzerindeki tüm grafiksel elemanları (çizgiler, etiketler, kutular) temizler ve mevcut mumun son çubuğunda (barstate.islast) bunları yeniden çizer.
6 - Tablo Görüntüsü:
Grafik üzerinde sağ tarafta küçük bir tablo gösterilir. Bu tabloda:
Seçilen zaman dilimi.
Mumun açılış değeri.
Kapanış ve açılış fiyatları arasındaki fark, uygun renkte vurgulanarak gösterilir.
Bu kod, kullanıcıya belirli bir zaman dilimindeki mum çubuğunun görsel bir analizini ve temel bilgilerini sağlar.
Uptrick Signal Density Cloud🟪 Introduction
The Uptrick Signal Density Cloud is designed to track market direction and highlight potential reversals or shifts in momentum. It plots two smoothed lines on the chart and fills the space between them (often called a “cloud”). The bars on the chart change color depending on bullish or bearish conditions, and small triangles appear when certain reversal criteria are met. A metrics table displays real-time values for easy reference.
🟩 Why These Features Have Been Linked Together
1) Dual-Line Structure
Two separate lines represent shorter- and longer-term market tendencies. Linking them in one tool allows traders to view both near-term changes and the broader directional bias in a single glance.
2) Smoothed Averages
The script offers multiple smoothing methods—exponential, simple, hull, and an optimized approach—to reduce noise. Using more than one type of moving average can help balance responsiveness with stability.
3) Density Cloud Concept
Shading the region between the two lines highlights the gap or “thickness.” A wider gap typically signals stronger momentum, while a narrower gap could indicate a weakening trend or potential market indecision. When the cloud is too wide and crosses a certain threshold defined by the user, it indicates a possible reversal. When the cloud is too narrow it may indicate a potential breakout.
🟪 Why Use This Indicator
• Trend Visibility: The color-coded lines and bars make it easier to distinguish bullish from bearish conditions.
• Momentum Tracking: Thicker cloud regions suggest stronger separation between the faster and slower lines, potentially indicating robust momentum.
• Possible Reversal Alerts: Small triangles appear within thick zones when the indicator detects a crossover, drawing attention to key moments of potential trend change.
• Quick Reference Table: A metrics table shows line values, bullish or bearish status, and cloud thickness without needing to hover over chart elements.
🟩 Inputs
1) First Smoothing Length (length1)
Default: 14
Defines the lookback period for the faster line. Lower values make the line respond more quickly to price changes.
2) Second Smoothing Length (length2)
Default: 28
Defines the lookback period for the slower line or one of the moving averages in optimized mode. It generally responds more slowly than the faster line.
3) Extra Smoothing Length (extraLength)
Default: 50
A medium-term period commonly seen in technical analysis. In optimized mode, it helps add broader perspective to the combined lines.
4) Source (source)
Default: close
Specifies the price data (for example, open, high, low, or a custom source) used in the calculations.
5) Cloud Type (cloudType)
Options: Optimized, EMA, SMA, HMA
Determines the smoothing method used for the lines. “Optimized” blends multiple exponential averages at different lengths.
6) Cloud Thickness Threshold (thicknessThreshold)
Default: 0.5
Sets the minimum separation between the two lines to qualify as a “thick” zone, indicating potentially stronger momentum.
🟪 Core Components
1) Faster and Slower Lines
Each line is smoothed according to user preferences or the optimized technique. The faster line typically reacts more quickly, while the slower line provides a broader overview.
2) Filled Density Cloud
The space between the two lines is filled to visualize in which direction the market is trending.
3) Color-Coded Bars
Price bars adopt bullish or bearish colors based on which line is on top, providing an immediate sense of trend direction.
4) Reversal Triangles
When the cloud is thick (exceeding the threshold) and the lines cross in the opposite direction, small triangles appear, signaling a possible market shift.
5) Metrics Table
A compact table shows the current values of both lines, their bullish/bearish statuses, the cloud thickness, and whether the cloud is in a “reversal zone.”
🟩 Calculation Process
1) Raw Averages
Depending on the mode, standard exponential, simple, hull, or “optimized” exponential blends are calculated.
2) Optimized Averages (if selected)
The faster line is the average of three exponential moving averages using length1, length2, and extraLength.
The slower line similarly uses those same lengths multiplied by 1.5, then averages them together for broader smoothing.
3) Difference and Threshold
The absolute gap between the two lines is measured. When it exceeds thicknessThreshold, the cloud is considered thick.
4) Bullish or Bearish Determination
If sma1 (the faster line) is above sma2 (the slower line), conditions are deemed bullish; otherwise, they are bearish. This distinction is reflected in both bar colors and cloud shading.
5) Reversal Markers
In thick zones, a crossover triggers a triangle at the point of potential reversal, alerting traders to a possible trend change.
🟪 Smoothing Methods
1) Exponential (EMA)
Prioritizes recent data for quicker responsiveness.
2) Simple (SMA)
Takes a straightforward average of the chosen period, smoothing price action but often lagging more in volatile markets.
3) Hull (HMA)
Employs a specialized formula to reduce lag while maintaining smoothness.
4) Optimized (Blended Exponential)
Combines multiple EMA calculations to strike a balance between responsiveness and noise reduction.
🟩 Cloud Logic and Reversal Zones
Cloud thickness above the defined threshold typically signals exceeding momentum and can lead to a quick reversal. During these thick periods, if the width exceeds the defined threshold, small triangles mark potential reversal points. In order for the reversal shape to show, the color of the cloud has to be the opposite. So, for example, if the cloud is bearish, and exceeds momentum, defined by the user, a bullish signal appears. The opposite conditions for a bullish signal. This approach can help traders focus on notable changes rather than minor oscillations.
🟪 Bar Coloring and Layered Lines
Bars take on bullish or bearish tints, matching the faster line’s position relative to the slower line. The lines themselves are plotted multiple times with varying opacities, creating a layered, glowing look that enhances visibility without affecting calculations.
🟩 The Metrics Table
Located in the top-right corner of the chart, this table displays:
• SMA1 and SMA2 current values.
• Bullish or bearish alignment for each line.
• Cloud thickness.
• Reversal zone status (in or out of zone).
This numeric readout allows for a quick data check without hovering over the chart.
🟪 Why These Specific Moving Average Lengths Are Used
Default lengths of 14, 28, and 50 are common in technical analysis. Fourteen captures near-term price movement without overreacting. Twenty-eight, roughly double 14, provides a moderate smoothing level. Fifty is widely regarded as a medium-term benchmark. Multiplying each length by 1.5 for the slower line enhances separation when combined with the faster line.
🟩 Originality and Usefulness
• Multi-Layered Smoothing. The user can select from several moving average modes, including a unique “optimized” blend, possibly reducing random fluctuations in the market data.
• Combined Visual and Numeric Clarity. Bars, clouds, and a real-time table merge into a single interface, enabling efficient trend analysis.
• Focus on Significant Shifts. Thick cloud zones and triangles draw attention to potentially stronger momentum changes and plausible reversals.
• Flexible Across Markets. The adjustable lengths and threshold can be tuned to different asset classes (stocks, forex, commodities, crypto) and timeframes.
By integrating multiple technical concepts—cloud-based trend detection, color coding, reversal markers, and an immediate reference table—the Uptrick Signal Density Cloud aims to streamline chart reading and decision-making.
🟪 Additional Considerations
• Timeframes. Intraday, daily, and weekly charts each yield different signals. Adjust the smoothing lengths and threshold to suit specific trading horizons.
• Market Types. Though applicable across asset classes, parameters might need tweaking to address the volatility of commodities, forex pairs, or cryptocurrencies.
• Confirmation Tools. Pairing this indicator with volume studies or support/resistance analysis can improve the reliability of signals.
• Potential Limitations. No indicator is foolproof; sudden market shifts or choppy conditions may reduce accuracy. Cautious position sizing and risk management remain essential.
🟩 Disclaimers
The Uptrick Signal Density Cloud relies on historical price data and may lag sudden moves or provide false positives in ranging conditions. Always combine it with other analytical techniques and sound risk management. This script is offered for educational purposes only and should not be considered financial advice.
🟪 Conclusion
The Uptrick Signal Density Cloud blends trend identification, momentum assessment, and potential reversal alerts in a single, user-friendly tool. With customizable smoothing methods and a focus on cloud thickness, it visually highlights important market conditions. While it cannot guarantee predictive accuracy, it can serve as a comprehensive reference for traders seeking both a quick snapshot of the current trend and deeper insights into market dynamics.
MARTINGALE8MARTINGALE8 Indicator: Comprehensive User Guide
Welcome to the MARTINGALE8 Indicator, your ultimate tool for implementing a customizable martingale trading strategy directly on TradingView! Whether you're a beginner trader or an experienced strategist, this indicator offers flexibility and clarity, empowering you to trade with confidence. Let’s dive into how you can make the most of it!
What Is the Martingale Principle?
The martingale strategy is a betting technique often used in gambling and trading. The idea is simple: double down on losing positions so that when a trade eventually succeeds, the profits will recover all previous losses and yield a small profit. In trading, this translates to placing incrementally larger buy orders as the price moves against your initial position, assuming the price will eventually reverse in your favor.
The martingale principle works under the asumption of mean reversion —that the price will eventually recover to a point where all accumulated losses are recouped, and a profit is made. By increasing order sizes at lower levels, the average entry price moves closer to the current price, reducing the price move required to reach profitability. However, like any strategy, it carries risks — if the price continues to move against your position without reversing, losses can escalate quickly .
What Does MARTINGALE8 Do?
The MARTINGALE8 Indicator is an open source script designed to:
Calculate multiple price levels (buy and take-profit) using a martingale strategy.
Allow full customization of entry size, order deviation, profit targets, and order multipliers.
Visualize key trading levels directly on the chart for better decision-making.
Provide helpful labels with real-time metrics like total cost, range analysis, and high-volume bar prices.
This indicator is ideal for traders looking to automate and refine their martingale-based trading approaches.
Features
1. Customizable Inputs
You have complete control over key parameters:
Start Price: Set a custom starting price, or let it default to the market price.
Entry Size: Choose your initial trade size (default: equivalent to 7.5 USDT).
Order Multiplier: Adjust the size of each subsequent order in the martingale sequence.
Order Deviation: Define the percentage deviation for each buy level.
Profit Deviation: Determine the target percentage deviation for take-profit levels.
Length: Specify the lookback period for market analysis (default: 84 bars).
2. Market Analysis
The script calculates key metrics, including:
Highest Volume Bar (HVB): Identifies the bar with the highest trading volume in the selected period.
Range Analysis: Computes the high-to-low range percentage to help you understand market volatility.
3. Martingale Levels
Automatically generates :
10 Buy Levels: Strategically placed below the starting price.
Take-Profit Level: A target above the starting price based on the profit deviation.
4. Cost Calculation
The script calculates the total cost of all orders, including a 10% buffer for safety, so you can plan your capital allocation effectively.
5. Visual Elements
The indicator draws clean and intuitive lines for:
Take-Profit Level: Highlighted in fuchsia.
Buy Levels: Clearly marked with aqua lines.
Zero Line: Your base price, shown in white.
Additional labels provide:
A summary of key metrics like total cost, entry price, and range.
Precise price values for the take-profit and lowest buy levels.
How to Use MARTINGALE8
Step 1: Add the Indicator to Your Chart
Click on the “Indicators” tab in TradingView.
Search for “MARTINGALE8” and add it to your chart.
Step 2: Configure the Inputs
Navigate to the Settings menu of the indicator and adjust the following parameters:
Start Price : Set your starting price or leave it as 0 to use the current market price.
Entry Size : Define the size of your initial trade (e.g., 7.5 USDT).
Order Multiplier : Choose how much larger each subsequent order should be.
Order Deviation : Specify the percentage distance between buy levels.
Profit Deviation : Set your desired percentage for the take-profit level.
Length : Adjust the number of bars to analyze for high volume.
Step 3: Visualize the Levels
The indicator will plot:
A white line for the base price.
Aqua lines for the buy levels.
A fuchsia line for the take-profit level.
Step 4: Monitor the Labels
Look for the summary label on the chart, which shows:
Total cost of the martingale orders.
Entry price and key market metrics (range, high-volume bar price).
Tips for Optimal Use
Adjust Inputs to Match Market Conditions : Experiment with order and profit deviations to account for volatile or steady markets.
Manage Risk : Use the cost calculation feature to ensure you allocate capital responsibly.
Technical Details
The script is written in Pine Script v6 and uses:
Switch Statements : For flexible default values.
Line Objects : To draw and update key price levels dynamically.
Labels : To display relevant trading metrics.
I’m glad to share this tool with the TradingView community. If you enjoy using MARTINGALE8, please keep it going and share your feedback. Let’s trade smarter, not harder!
ZZ Algo MR V3InfinityAlgo is an advanced suite of technical analysis indicators derived from price data and Volume.
// Trading and investing involves real financial risk. There is real potential of loss when investing/trading any financial asset.
// None of these indicators guarantee profitable results. Investors need to manage their own risk accordingly when dealing with the uncertainty and random conditions of the market.
// InfinityAlgoLap is not liable for any potential financial losses incurred from (including but not limited to) the InfinityAlgo indicators, InfinityAlgoLap ideas and tutorials as well as from any input from the community and its members.
// InfinityAlgoLap reserves the right to revoke any membership if members actions is deemed with harmful intent.
// By subscribing to InfinityAlgo and InfinityAlgoLap , you fully understand and accept these risks. InfinityAlgoLap does not provide legal, tax or accounting advice.
// © 2021- 2022. InfinityAlgoLap. All rights reserved.
Half-Trend Channel [BigBeluga]Half Trend Channel is a powerful trend-following indicator designed to identify trend direction, fakeouts, and potential reversal points. The combination of upper/lower bands, midline coloring, and specific signals makes it ideal for spotting trend continuation and market reversals.
The base of the channel is calculated using smoothed half-trend logic.
// Initialize half trend on the first bar
if barstate.isfirst
hl_t := close
// Update half trend value based on conditions
switch
closeMA < hl_t and highestHigh < hl_t => hl_t := highestHigh
closeMA > hl_t and lowestLow > hl_t => hl_t := lowestLow
=> hl_t := hl_t
// Smooth
float s_hlt = ta.hma(hl_t, len)
🔵 Key Features:
Upper and Lower Bands:
The bands adapt dynamically to market volatility.
Price movements toward the bands help identify areas of overextension and potential reversal points.
Midline Trend Signal:
The midline changes color to reflect the current trend:
Green Midline: Indicates an uptrend.
Purple Midline: Signals a downtrend.
Fakeout Signals ("X"):
"X" markers appear when price briefly breaches the outer bands but fails to sustain the move.
Fakeouts help traders identify areas where price momentum weakens.
Reversal Signals (Triangles):
Triangles (▲ and ▼) mark potential tops and bottoms:
▲ Up Triangles: Suggest a potential bottom and a reversal to the upside.
▼ Down Triangles: Indicate a potential top and a reversal to the downside.
Dynamic Trend Labels:
At the last bar, the indicator displays labels like "Trend Up" or "Trend Dn" , reflecting the current trend direction.
🔵 Usage:
Use the colored midline to determine the overall trend direction.
Monitor "X" fakeout signals to spot failed breakouts or momentum exhaustion near the bands.
Watch for reversal triangles (▲ and ▼) to identify potential trend reversals at tops or bottoms.
Combine the bands and midline signals to confirm trade entries and exits:
Enter long trades when price bounces off the lower band with a green midline.
Consider short trades when price reverses from the upper band with a purple midline.
Use the trend label (e.g., "Trend Up" or "Trend Dn") for quick confirmation of the current market state.
The Half Trend Channel is an essential tool for traders who want to follow trends, avoid fakeouts, and identify reliable tops and bottoms to optimize their trading decisions.
Bullish/Bearish Indicator [ilkaykaratepe]Bullish/Bearish Reversal Bars Indicator with Support/Resistance
Malaysian SnR [by DanielM]The Malaysian SnR (Support and Resistance) levels are a popular trading concept that identifies specific price levels on charts which are considered significant for trading decisions. Here's a breakdown of the concepts:
A Levels and V Levels: These refer to specific types of SNR levels:
A Levels: These are formed at the highest points of price movements. The indicator highlights these levels with a red line.
V Levels: These are formed at the lowest points of price movements, typically observed as valleys in chart patterns. The indicator highlights these levels with a green line.
Fresh and Unfresh Levels:
Fresh Levels: These are price levels that have not been touched by a wick since their formation. They are considered more significant because they might provide a stronger reaction when the price touches these levels again.
Unfresh Levels: These are levels that have been touched by a wick since their formation. Each time a level is tested, it is considered less significant because it might offer weaker resistance or support. A level that has been tested can become fresh again if it's crossed by a candle body.
Gaps:
A gap occurs when you have two bullish candles or two bearish candles. It is defined as the area between the close of the first candle and the open of the next one. It is marked by drawing a line at the closing price of the first candle, thus representing the level where the gap was initially observed. The indicator highlights these levels with a blue lines for bullish gaps and violet lines for bearish gaps.
Fresh vs. Unfresh Gaps:
Similar to A and V levels, gaps can be classified as fresh or unfresh. A fresh gap is one that hasn't been touched by a wick after it was created. These are often considered more significant because they may hold stronger as potential support or resistance. Unfresh gaps have been touched by a wick, and they may be considered less significant. A gap that has been tested can become fresh again if it's crossed by a candle body.
Inputs:
Number of bars to look back to detect A levels, V levels, and Gaps.
Allows users to toggle the visibility of only fresh A and V levels.
Allows users to decide whether to display gap levels or not.
Allows users to decide whether to display only fresh gaps.
Allows the users to set the maximum number of A levels, V levels and gaps on the chart.
WaveTrend V4The **WaveTrend V4** indicator combines MACD and WaveTrend oscillators to identify trends and potential reversal points. Here's a simplified guide to using it:
---
### **Key Components**
1. **WaveTrend Lines**
- **Green Line (WT1):** Fast-moving oscillator.
- **Red Line (WT2):** Slow-moving signal line.
- **Overbought (-60)/Oversold (60):** Horizontal dashed lines marking extremes.
2. **MACD Lines**
- **Blue Line (MACD):** Standard MACD line.
- **Purple Line (Smoothed MACD):** Smoothed version of the MACD.
- **Orange Line (Signal):** MACD signal line.
3. **Background Colors**
- **Green:** Uptrend (buying pressure).
- **Red:** Downtrend (selling pressure).
- **Yellow:** Indecision/neutral market.
---
### **How to Use It**
1. **Trend Identification**
- **Buy Signal:** Green background + WT1 crosses **above** WT2 (especially if both are below -60).
- **Sell Signal:** Red background + WT1 crosses **below** WT2 (especially if both are above 60).
- **Indecision:** Yellow background – avoid taking positions until trend clarifies.
2. **Overbought/Oversold Zones**
- **Oversold (WT1 < -60):** Potential buying opportunity if WT1 starts rising.
- **Overbought (WT1 > 60):** Potential selling opportunity if WT1 starts falling.
3. **MACD Confirmation**
- Look for alignment between the **smoothed MACD** (purple) crossing the **signal line** (orange) and the WaveTrend trend color.
4. **Divergence**
- **Bullish Divergence:** Price makes lower lows, but WT1 forms higher lows.
- **Bearish Divergence:** Price makes higher highs, but WT1 forms lower highs.
---
### **Pro Tips**
- Combine with price action (support/resistance) for higher accuracy.
- Avoid trading in "yellow" zones (indecision).
- Use stop-losses to manage risk during false signals.
This indicator works best in **trending markets** – be cautious in sideways conditions!
Fibonacci 3-D🟩 The Fibonacci 3-D indicator is a visual tool that introduces a three-dimensional approach to Fibonacci projections, leveraging market geometry. Unlike traditional Fibonacci tools that rely on two points and project horizontal levels, this indicator leverages slopes derived from three points to introduce a dynamic element into the calculations. The Fibonacci 3-D indicator uses three user-defined points to form a triangular structure, enabling multi-dimensional projections based on the relationships between the triangle’s sides.
This triangular framework forms the foundation for the indicator’s calculations, with each slope (⌳AB, ⌳AC, and ⌳BC) representing the rate of price change between its respective points. By incorporating these slopes into Fibonacci projections, the indicator provides an alternate approach to identifying potential support and resistance levels. The Fibonacci 3-D expands on traditional methods by integrating both historical price trends and recent momentum, offering deeper insights into market dynamics and aligning with broader market geometry.
The indicator operates across three modes, each defined by the triangular framework formed by three user-selected points (A, B, and C):
1-Dimensional (1-D): Fibonacci levels are based on a single side of the triangle, such as AB, AC, or BC. The slope of the selected side determines the angle of the projection, allowing users to analyze linear trends or directional price movements.
2-Dimensional (2-D): Combines two slopes derived from the sides of the triangle, such as AB and BC or AC and BC. This mode adds depth to the projections, accounting for both historical price swings and recent market momentum.
3-Dimensional (3-D): Integrates all three slopes into a unified projection. This mode captures the full geometric relationship between the points, revealing a comprehensive view of geometric market structure.
🌀 THEORY & CONCEPT 🌀
The Fibonacci 3-D indicator builds on the foundational principles of traditional Fibonacci analysis while expanding its scope to capture more intricate market structures. At its core, the indicator operates based on three user-selected points (A, B, and C), forming the vertices of a triangle that provides the structural basis for all calculations. This triangle determines the slopes, projections, and Fibonacci levels, aligning with the unique geometric relationships between the chosen points. By introducing multiple dimensions and leveraging this triangular framework, the indicator enables a deeper examination of price movements.
1️⃣ First Dimension (1-D)
In technical analysis, traditional Fibonacci retracement and extension tools operate as one-dimensional instruments. They rely on two price points, often a swing high and a swing low, to calculate and project horizontal levels at predefined Fibonacci ratios. These levels identify potential support and resistance zones based solely on the price difference between the selected points.
A one-dimensional Fibonacci showing levels derived from two price points (B and C).
The Fibonacci 3-D indicator extends this one-dimensional concept by introducing Ascending and Descending projection options. These options calculate the levels to align with the directional movement of price, creating sloped projections instead of purely horizontal levels.
1-D mode with an ascending projection along the ⌳BC slope aligned to the market's slope. Potential support is observed at 0.236 and 0.382, while resistance appears at 1.0 and 0.5.
2️⃣ Second Dimension (2-D)
The second dimension incorporates a second side of the triangle, introducing relationships between two slopes (e.g., ⌳AB and ⌳BC) to form a more dynamic three-point structure (A, B, and C) on the chart. This structure enables the indicator to move beyond the single-axis (price) calculations of traditional Fibonacci tools. The sides of the triangle (AB, AC, BC) represent slopes calculated as the rate of price change over time, capturing distinct components of market movement, such as trend direction and momentum.
2-D mode of the Fibonacci 3-D indicator using the ⌳AC slope with a descending projection. The Fibonacci projections align closely with observed market behavior, providing support at 0.236 and resistance at 0.618. Unlike traditional zigzag setups, this configuration uses two swing highs (A and B) and a swing low (C). The alignment along the descending slope highlights the geometric relationships between selected points in identifying potential support and resistance levels.
3️⃣ Third Dimension (3-D)
The third dimension expands the analysis by integrating all three slopes into a unified calculation, encompassing the entire triangle structure formed by points A, B, and C. Unlike the second dimension, which analyzes pairwise slope relationships, the 3-D mode reflects the combined geometry of the triangle. Each slope contributes a distinct perspective: AB and AC provide historical context, while BC emphasizes the most recent price movement and is given greater weight in the calculations to ensure projections remain responsive to current dynamics.
Using this integrated framework, the 3-D mode dynamically adjusts Fibonacci projections to balance long-term patterns and short-term momentum. The projections extend outward in alignment with the triangle’s geometry, offering a comprehensive framework for identifying potential support and resistance zones and capturing market structures beyond the scope of simpler 1-D or 2-D modes.
Three-dimensional Fibonacci projection using the ⌳AC slope, aligning closely with the market's directional movement. The projection highlights key levels: resistance at 0.0 and 0.618, and support at 1.0, 0.786, and 0.382.
By leveraging all three slopes simultaneously, the 3-D mode introduces a level of complexity particularly suited for volatile or non-linear markets. The weighted slope calculations ensure no single price movement dominates the analysis, allowing the projections to adapt dynamically to the broader market structure while remaining sensitive to recent momentum.
Three-dimensional ascending projection. In 3D mode, the indicator integrates all three slopes to calculate the angle of projection for the Fibonacci levels. The resulting projections adapt dynamically to the overall geometry of the ABC structure, aligning with the market’s current direction.
🔂 Interactions: Dimensions. Slope Source, Projections, and Orientation
The Dimensions , Projections , and Orientation settings work together to define Fibonacci projections within the triangular framework. Each setting plays a specific role in the geometric analysis of price movements.
♾️ Dimension determines which of the three modes (1-D, 2-D, or 3-D) is used for Fibonacci projections. In 1-D mode, the projections are based on a single side of the triangle, such as AB, AC, or BC. In 2-D mode, two sides are combined, producing levels based on their geometric relationship. The 3-D mode integrates all three sides of the triangle, calculating projections using weighted averages that emphasize the BC side for its relevance to recent price movement while maintaining historical context from the AB and AC sides.
A one-dimensional Fibonacci projection using the ⌳AB slope with a neutral projection. Important levels of interaction are highlighted: repeated resistance at Level 1.0 and repeated support at Levels 0.5 and 0.618. The projection aligns horizontally, reflecting the relationship between points A, B, and C while identifying recurring zones of market structure.
🧮 Slope Source determines which side of the triangle (AB, AC, or BC) serves as the foundation for Fibonacci projections. This selection directly impacts the calculations by specifying the slope that anchors the geometric relationships within the chosen Dimension mode (1-D, 2-D, or 3-D).
In 1-D mode, the selected Source defines the single side used for the projection. In 2-D and 3-D modes, the Source works in conjunction with other settings to refine projections by integrating the selected slope into the multi-dimensional framework.
One-dimensional Fibonacci projection using the ⌳AC Slope Source and Ascending projection. The projection continues on the AC slope line.
🎯 Projection controls the direction and alignment of Fibonacci levels. Neutral projections produce horizontal levels, similar to traditional Fibonacci tools. Ascending and Descending projections adjust the levels along the calculated slope to reflect market trends. These options allow the indicator’s outputs to align with different market behaviors.
An ascending projection along the ⌳BC slope aligns with resistance levels at 1.0, 0.618, and 0.236. The geometric relationship between points A, B, and C illustrates how the projection adapts to market structure, identifying resistance zones that may not be captured by traditional Fibonacci tools.
🧭 Orientation modifies the alignment of the setup area defined by points A, B, and C, which influences Fibonacci projections in 2-D and 3-D modes. In Default mode, the triangle aligns naturally based on the relative positions of points B and C. In Inverted mode, the geometric orientation of the setup area is reversed, altering the slope calculations while preserving the projection direction specified in the Projection setting. In 1-D mode, Orientation has no effect since only one side is used for the projection.
Adjusting the Orientation setting provides alternative views of how Fibonacci levels align with the market's structure. By recalibrating the triangle’s setup, the inverted orientation can highlight different relationships between the sides, providing additional perspectives on support and resistance zones.
2-D inverted. The ⌳AC slope defines the projection, and the inverted orientation adjusts the alignment of the setup area, altering the angles used in level calculations. Key levels are highlighted: resistance at 0.786, strong support at 0.5 and 0.236, and a resistance-turned-support interaction at 0.618.
🛠️ CONFIGURATION AND SETTINGS 🛠️
The Fibonacci 3-D indicator includes configurable settings to adjust its functionality and visual representation. These options include customization of the dimensions (1-D, 2-D, or 3-D), slope calculations, orientations, projections, Fibonacci levels, and visual elements.
When adding the indicator to a new chart, select three reference points (A, B, and C). These are usually set to recent swing points. All three points can be easily changed at any time by clicking on the reference point and dragging it to a new location.
By default, all settings are set to Auto . The indicator uses an internal algorithm to estimate the projections based on the orientation and relative positions of the reference points. However, all values can be overridden to reflect the user's interpretation of the current market geometry.
⚙️ Core Settings
Dimensions : Defines how many sides of the triangle formed by points A, B, and C are incorporated into the calculations for Fibonacci projections. This setting determines the level of complexity and detail in the analysis. 1-D : Projects levels along the angle of a single user-selected side of the triangle.
2-D : Projects levels based on a composite slope derived from the angles of two sides of the triangle.
3-D : Projects levels based on a composite slope derived from all three sides of the triangle (A-B, A-C, and B-C), providing a multi-dimensional projection that adapts to both historical and recent market movements.
Slope Source : Determines which side of the triangle is used as the basis for slope calculations. A–B: The slope between points A and B. In 1-D mode, this determines the projection. In 2-D and 3-D modes, it contributes to the composite slope calculation.
A–C: The slope between points A and C. In 1-D mode, this determines the projection. In 2-D and 3-D modes, it contributes to the composite slope calculation.
B--C: The slope between points B and C. In 1-D mode, this determines the projection. In 2-D and 3-D modes, it contributes to the composite slope calculation.
Orientation : Defines the triangle's orientation formed by points A, B, and C, influencing slope calculations. Auto : Automatically determines orientation based on the relative positions of points B and C. If point C is to the right of point B, the orientation is "normal." If point C is to the left, the orientation is inverted.
Inverted : Reverses the orientation set in "Auto" mode. This flips the triangle, reversing slope calculations ⌳AB becomes ⌳BA).
Projection : Determines the direction of Fibonacci projections: Auto : Automatically determines projection direction based on the triangle formed by A, B, and C.
Ascending : Projects the levels upward.
Neutral : Projects the levels horizontally, similar to traditional Fibonacci retracements.
Descending : Projects the levels downward.
⚙️ Fibonacci Level Settings Show or hide specific levels.
Level Value : Adjust Fibonacci ratios for each level. The 0.0 and 1.0 levels are fixed.
Color : Set level colors.
⚙️ Visibility Settings Show Setup : Toggle the display of the setup area, which includes the projected lines used in calculations.
Show Triangle : Toggle the display of the triangle formed by points A, B, and C.
Triangle Color : Set triangle line colors.
Show Point Labels : Toggle the display of labels for points A, B, and C.
Show Left/Right Labels : Toggle price labels on the left and right sides of the chart.
Fill % : Adjust the fill intensity between Fibonacci levels (0% for no fill, 100% for full fill).
Info : Set the location or hide the Slope Source and Dimension. If Orientation is Inverted , the Slope Source will display with an asterisk (*).
⚙️ Time-Price Points : Set the time and price for points A, B, and C, which define the Fibonacci projections.
A, B, and C Points : User-defined time and price coordinates that form the foundation of the indicator's calculations.
Interactive Adjustments : Changes made to points on the chart automatically synchronize with the settings panel and update projections in real time.
Notes
Unlike traditional Fibonacci tools that include extensions beyond 1.0 (e.g., 1.618 or 2.618), the Fibonacci 3-D indicator restricts Fibonacci levels to the range between 0.0 and 1.0. This is because the projections are tied directly to the proportional relationships along the sides of the triangle formed by points A, B, and C, rather than extending beyond its defined structure.
The indicator's calculations dynamically sort the user-defined A, B, and C points by time, ensuring point A is always the earliest, point C the latest, and point B the middle. This automatic sorting allows users to freely adjust the points directly on the chart without concern for their sequence, maintaining consistency in the triangular structure.
🖼️ ADDITIONAL CHART EXAMPLES 🖼️
Three-dimensional ⌳AC slope is used with an ascending projection, even as the broader market trend moves downward. Despite the apparent contradiction, the projected Fibonacci levels align closely with price action, identifying zones of support and resistance. These levels highlight smaller countertrend movements, such as pullbacks to 0.382 and 0.236, followed by continuations at resistance levels like 0.618 and 0.786.
In 2-D mode, an ascending projection based on the BC slope highlights the market's geometric structure. A setup triangle, defined by a swing high (A), a swing low (B), and another swing high (C), reveals Fibonacci projections aligning with support at 0.236, 0.382, and 0.5, and resistance at 0.618, 0.786, and 1.0, as shown by the green and red arrows. This demonstrates the ability to uncover dynamic support and resistance levels not calculated in traditional Fibonacci tools.
In 2-D mode with an ascending projection from the ⌳AB slope, price movement is contained within the 0.5 and 0.786 levels. The 0.5 level serves as support, while the 0.786 level acts as resistance, with price action consistently interacting with these boundaries.
An AC (2-D) ascending projection is derived from two swing highs (A and B) and a swing low (C), reflecting a non-linear market structure that deviates from traditional zigzag patterns. The ascending projection aligns closely with the market's upward trajectory, forming a channel between the 0.0 and 0.5 Fibonacci levels. Note how price action interacts with the projected levels, showing support at 0.236 and 0.382, with the 0.5 level acting as a mid-channel equilibrium.
Two-dimensional ascending Fibonacci projection using the ⌳AC slope. Arrows highlight resistance at 0.786 and support at 0.0 and 0.236. The projection follows the ⌳AC slope, reflecting the geometric relationship between points A, B, and C to identify these levels.
Three-dimensional Fibonacci projection using the ⌳AC slope, aligned with the actual market's directional trend. By removing additional Fibonacci levels, the image emphasizes key areas: resistance at Level 0.0 and support at Levels 1.0 and 0.5. The projection dynamically follows the ⌳AC slope, adapting to the market's structure as defined by points A, B, and C.
A three-dimensional configuration uses the ⌳AB slope as the baseline for projections while incorporating the geometric influence of point C. Only the 0.0 and 0.618 levels are enabled, emphasizing the relationship between support at 0.0 and resistance at 0.618. Unlike traditional Fibonacci tools, which operate in a single plane, this setup reveals levels that rely on the triangular relationship between points A, B, and C. The third dimension allows for projections that align more closely with the market’s structure and reflect its multi-dimensional geometry.
The Fibonacci 3-D indicator can adapt to non-traditional point selection. Point A serves as a swing low, while points B and C are swing highs, forming an unconventional configuration. ⌳The BC slope is used in 2-D mode with an inverted orientation, flipping the projection direction and revealing resistance at Level 0.786 and support at Levels 0.618 and 0.5.
⚠️ DISCLAIMER ⚠️
The Fibonacci 3-D indicator is a visual analysis tool designed to illustrate Fibonacci relationships. While the indicator employs precise mathematical and geometric formulas, no guarantee is made that its calculations will align with other Fibonacci tools or proprietary methods. Like all technical and visual indicators, the Fibonacci projections generated by this tool may appear to visually align with key price zones in hindsight. However, these projections are not intended as standalone signals for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
The Fibonacci 3-D indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Your feedback and insights are invaluable to refining and enhancing the Fibonacci 3-D indicator. We look forward to the creative applications, adaptations, and observations this tool inspires within the trading community.
BEP BOLLINGER with Entry & TargetBEP BOLLINGER with Entry & Target Indicator
INPUT
ITM CE
ITM PE
ATM CE
ATM PE
This custom Pine Script indicator provides traders with a powerful tool to analyze options trading setups, specifically for Call and Put options (CE & PE). By integrating Bollinger Bands with a set of configurable parameters, it calculates key entry, stop loss, and take profit levels, while factoring in risk and reward for each trade. Ideal for options traders, this indicator supports precise risk management and enhances your ability to plan and execute trades based on calculated entry points and profit targets.
Key Features:
CE & PE Symbol Selection: Allows users to input two pairs of Call and Put option symbols for premium calculation.
Premium Calculation: Automatically calculates and plots the average premium for each pair of options.
Risk & Reward Zones: Visualizes risk zones and reward zones based on user-defined entry price, stop loss, and risk/reward ratio.
Leverage and Stop Loss Calculation: Computes the optimal leverage and adjusts stop loss based on acceptable loss percentage.
Break-Even Point: Identifies the break-even point considering trading fees and leverage.
Take Profit Levels: Calculates and visualizes multiple take profit levels with different risk/reward ratios.
Multi-Timeframe Analysis: Incorporates higher timeframe analysis to determine entry and stop loss levels for better decision-making.
Dynamic Alerts: Provides alerts when the price hits the stop loss, take profit levels, or reaches the break-even point.
Visual Tools: Draws lines and shaded areas for entry, stop loss, take profit, and risk/reward zones to aid in visual decision-making.
Customizable Settings:
Risk Management: Adjust stop loss, leverage, and risk/reward ratios to suit your trading strategy.
Trading Direction: Choose between Long or Short positions based on market outlook.
Fee Calculations: Input your buy and sell fees to accurately calculate break-even and profit zones.
Color Customization: Personalize the color of premium lines, offset levels, and risk/reward zones.
Alerts:
Alerts can be set for Stop Loss, Take Profit, and Break-Even, ensuring you're notified in real-time when important price levels are reached.
This tool is perfect for traders looking to integrate risk management and precise trade setup analysis into their options trading strategy.
Fibonacci Extension Strt StrategyCore Logic and Steps:
Weekly Trend Identification:
Find the last significant Higher High (HH) and Lower Low (LL) or vice-versa on the Weekly timeframe.
Determine if it's an uptrend (HH followed by LL) or a downtrend (LL followed by HH).
Plot a Fibonacci Extension (or Retracement in reverse order) from the swing point determined to the other significant swing point.
Weekly Retracement Levels:
Display horizontal lines at the 0.236, 0.382, and 0.5 Fibonacci levels from the weekly extension.
Monitor price action on these levels.
Daily Confirmation:
When price hits the Fib levels, examine the Daily chart.
Look for a rejection wick (indicating the pull back is ending) on the identified weekly retracement levels.
Confirm that the price is indeed starting to continue in the direction of the original weekly trend.
Four-Hour Entry:
On the 4H timeframe, plot a new Fib Extension in the opposite direction of the weekly.
If it's an uptrend, the Fib is plotted from last swing low to its swing high. If the weekly trend was bearish the Fib will be plotted from last swing high to the swing low.
Generate an entry when price breaks the high of that candle.
Trade Management:
Entry is on the breakout of the current candle.
Stop Loss: Place the stop loss below the wick of the breakout candle.
Take Profit 1: Close 50% of the position at the 0.5 Fibonacci level. Move the stop loss to breakeven on this position.
Take Profit 2: Close another 25% of the position at the 0.236 Fib level.
Trailing Take Profit: Keep the last 25% open, using a trailing stop loss. (You'll need to define the logic for the trailing stop, e.g., trailing stop using the last high/low)
How to Use in TradingView:
Open a TradingView Chart.
Click on "Pine Editor" at the bottom.
Copy and paste the corrected Pine Script code.
Click "Add to Chart".
The indicator should now be displayed on your chart.
Hardik Raja - SmartAIMLSmartAIML indicator by Hardik Raja that generates buy & sell signals with a dual confirmation strategy.
Information for Educational Purposes Only:
All information provided by the indicator, including buy & sell signals, is intended for educational purposes only and does not constitute financial advice.
SignalSync Multi-Indicator TableThis indicator integrates multiple technical indicators, including EMA crossovers, RSI, MACD, Stochastic RSI, Williams %R, SuperTrend, and KST, all displayed in a dynamic table on your chart. This script provides a comprehensive view of various indicators, their values, conditions, and signals.
Here’s a brief breakdown :
1. Input Parameters: You allow users to set values for various technical indicators (e.g., RSI length, EMA periods, MACD settings, etc.) with adjustable defaults for different trading styles (short, medium, long-term).
2. Indicator Calculations: You calculate the values for indicators like RSI, MACD, Williams %R, Stochastic RSI, SuperTrend, and KST using user-defined settings.
3. EMA Crossover Logic: The script computes the difference between the short-term and long-term EMAs (9-21 and 20-50) and assigns buy/sell signals based on these crossovers.
4. KST Indicator: The script includes the KST (Know Sure Thing) indicator, calculating rate-of-change values and smoothing them with moving averages. It generates buy/sell signals when KST crosses its signal line.
5. VWAP: The script calculates the VWAP (Volume Weighted Average Price) to determine whether the price is above or below the VWAP, indicating bullish or bearish market sentiment.
6. Table Display: The script displays all the calculated values, conditions, signals, and parameters in a table that can be positioned anywhere on the chart.
Bot Signals (Faster + RSI Filter)Bot Signals (Faster + RSI Filter)
This indicator is designed to identify potential buy and sell signals based on a combination of smoothed range filters and an optional RSI confirmation. It works by analyzing price movements and trends, providing clear visual signals for better decision-making.
Features:
Fast and Slow Range Filters: Combines two smoothed range filters with customizable periods and multipliers for flexibility and precision.
RSI Filter: Optional RSI-based confirmation for signals, ensuring additional reliability. Easily toggleable.
Trend Detection: Differentiates between upward and downward trends to provide relevant signals.
Non-Repainting: Signals are based on confirmed data and do not repaint.
Customizable Alerts: Includes alert conditions for both buy and sell signals.
This indicator is ideal for traders looking to follow trends and make quick decisions in volatile markets.
Fibonacci Oscillator (RSI & Fibonacci)█ Overview
The Fibonacci Oscillator is a multi-faceted oscillator designed to provide traders with a comprehensive understanding of market trends and retracement points. Built on the Fibonacci ratios, it combines the functionalities of popular oscillators like RSI and MACD with unique insights into the market structure. This oscillator not only helps identify trend direction but also pinpoints overbought and oversold levels, making it an essential tool for various trading strategies.
snapshot
█ How to Use
Identify Trends
Use the oscillator to identify the direction of the market trend.
snapshot
Identify Retracements
Use the oscillator to identify the retracements.
snapshot
█ Settings
Fibonacci Settings
These settings let you customize the Fibonacci level to focus on, thereby allowing you to tailor the oscillator according to your trading preferences.
Oscillator Settings
You can also choose between different oscillator types (RSI, MACD, Histogram) and adjust their respective settings like lengths, signals, and colors.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational
[COG] Advanced School Run StrategyAdvanced School Run Strategy (ASRS) – Explanation
Overview: The Advanced School Run Strategy (ASRS) is an intraday trading approach designed to identify breakout opportunities based on specific time and price patterns. This script applies the concepts of the Advanced School Run Strategy as outlined in Tom Hougaard's research, adapted to work seamlessly on TradingView charts. It leverages 5-minute candlestick data to set actionable breakout levels and provides traders with visual cues and alerts to make informed decisions.
Features:
Dynamic Breakout Levels: Automatically calculates high and low levels based on the market's behavior during the initial trading minutes.
Custom Visualization: Highlights breakout zones with customizable colors and transparency, providing clear visual feedback for bullish and bearish breakouts.
Configurable Alerts: Includes alert conditions for both bullish and bearish breakouts, ensuring traders never miss a trading opportunity.
Reset Logic: Resets breakout levels daily at the market open to ensure accurate signal generation for each session.
How It Works:
The script identifies key levels (high and low) after a configurable number of minutes from the market open (default: 25 minutes).
If the price breaks above the high level or below the low level, a corresponding breakout is detected.
The script draws breakout zones on the chart and triggers alerts based on the breakout direction.
All levels and signals reset at the start of each new trading session, maintaining relevance to current market conditions.
Customization Options:
Line and box colors for bullish and bearish breakouts.
Transparency levels for breakout visualizations.
Alert settings to receive notifications for detected breakouts.
Acknowledgment: This script is inspired by Tom Hougaard's Advanced School Run Strategy. The methodology has been translated into Pine Script for TradingView users, adhering to TradingView’s policies and community guidelines. This script does not redistribute proprietary content from the original research but implements the principles for educational and analytical purposes.