Tomas Ratio Strategy with Multi-Timeframe AnalysisHello,
I would like to present my new indicator I have compiled together inspired by Calmar Ratio which is a ratio that measures gains vs losers but with a little twist.
Basically the idea is that if HLC3 is above HLC3 (or previous one) it will count as a gain and it will calculate the percentage of winners in last 720 hourly bars and then apply 168 hour standard deviation to the weekly average daily gains.
The idea is that you're supposed to buy if the thick blue line goes up and not buy if it goes down (signalized by the signal line). I liked that idea a lot, but I wanted to add an option to fire open and close signals. I have also added a logic that it not open more trades in relation the purple line which shows confidence in buying.
As input I recommend only adjusting the amount of points required to fire a signal. Note that the lower amount you put, the more open trades it will allow (and vice versa)
Feel free to remove that limiter if you want to. It works without it as well, this script is meant for inexperienced eye.
I will also publish a indicator script with this limiter removed and alerts added for you to test this strategy if you so choose to.
Also, I have added that the trades will enter only if price is above 720 period EMA
Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Always backtest thoroughly and adjust parameters based on your trading style and market conditions.
Made in collaboration with ChatGPT.
Candlestick analysis
Previous Key Levels (fadi)Previous Key Levels indicator is a highly configurable OHLC levels tool designed to provide traders with the ability to plot multiple levels while minimizing screen clutter. This indicator is perfect for those who want to monitor various timeframes simultaneously without overloading their charts with unnecessary information.
How to Use It
This indicator offers traders the flexibility to track up to 6 higher timeframes (HTFs) and multiple candles for each timeframe. For example, a trader can choose to monitor the OHLC of the last four 4-hour candles, providing a comprehensive view of significant price levels over different periods.
Key Features
Highly Configurable: Customize the number of timeframes and candles to suit your trading strategy.
Minimal Screen Clutter: Efficiently plot multiple levels without overwhelming your chart.
Flexible Application: Ideal for identifying support and resistance levels, liquidity sweeps, target levels, and more, adapting to various trading styles.
Traders have diverse trading styles and preferences. Some may use these levels to identify support and resistance zones, while others might look for liquidity sweeps or set target levels. By offering a high degree of customization, the Previous Key Levels indicator caters to the unique needs of individual traders, helping them make informed decisions based on historical price action across multiple timeframes.
Timeframe Settings
Toggle to track 6 HTF settings and the number of candles to track for each.
Limit to next HTFs only can be used to limit the HTF levels displayed based on the current timeframe.
Hide Above will disable the indicator above the specified interval.
Offset to Left and Right are used to specify where the level line starts and ends based on the current candle.
Offset between HTFs extends HTF levels to become more readable.
HTF Settings
Choice of the OHLC levels to track.
Specify the color, line style, and line width for each level.
Mark the start of that level, for example, draw a vertical line where the 4H candle has started.
Trace back to draw optional lines to track back to the origin of the level.
Label Settings
Highly configurable labels that allow traders to customize the labels to their liking.
Label color, background, and size.
Customize using up to 9 configurable parts.
Fading Levels
To prevent clutter, the indicator offers the option to change the transparency of the levels based on their distance from the current price. The distance is calculated based on a configurable Average True Range (ATR).
Change Transparency to a percentage of its current color.
Range should be within X candles will fade any level that is X candles length away from the current price.
ATR length used in calculation will calculate the average size of candles in the calculation.
Engulfing & Pin Bar DetectorOverview
The "Engulfing & Pin Bar Detector" script identifies two important candlestick patterns: Engulfing Candles and Pin Bars. These patterns are widely used in technical analysis to signal potential reversals or continuations in the market. The script provides visual signals directly on the chart to help traders make informed decisions.
Features Bullish Engulfing:
The second candle completely engulfs the body and shadows (high and low) of the previous bearish candle.
Signals a potential reversal to the upside.
Marked with a green background and a label below the candle.
Bearish Engulfing:
The second candle completely engulfs the body and shadows (high and low) of the previous bullish candle.
Signals a potential reversal to the downside.
Marked with a red background and a label above the candle.
Bullish Pin Bar:
A candle with a long lower shadow and a small body near the top of the range.
Indicates potential upward price action.
Marked with a blue background and an upward triangle below the candle.
Bearish Pin Bar:
A candle with a long upper shadow and a small body near the bottom of the range.
Indicates potential downward price action.
Marked with an orange background and a downward triangle above the candle.
Customizable Visual Alerts:
Background highlights and shape markers for quick and easy identification of patterns.
How to Use
Add the script to your TradingView chart.
Look for:
Green background: Bullish Engulfing.
Red background: Bearish Engulfing.
Blue background: Bullish Pin Bar.
Orange background: Bearish Pin Bar.
Combine with other indicators or price action techniques for confirmation.
Adjust your entry and exit strategies based on the patterns:
For Bullish Engulfing or Bullish Pin Bar, consider entering long positions or exiting shorts.
For Bearish Engulfing or Bearish Pin Bar, consider entering short positions or exiting longs.
Example Use Cases
Identify potential reversal zones.
Use as confirmation in trend-following or counter-trend strategies.
Enhance your analysis with clear visual signals.
BRT Cluster VolumeTitle and Purpose
BRT Cluster Volume is a powerful market analysis tool designed to identify key support and resistance levels, cluster volumes, and breakout signals. This script is highly beneficial for traders who aim to gain deeper insights into market trends and pinpoint zones of interest for buyers and sellers.
Key Features
1. Support and Resistance Levels:
- The script automatically detects chart extremums by analyzing a specified number of bars on the left and right to form levels. This approach effectively identifies local highs and lows.
- The uniqueness of this implementation lies in its dynamic data processing. For each extremum, the "channel width" is calculated, allowing insignificant levels to be filtered out based on a user-defined minimum width. This method eliminates noise and ensures focus on critical levels.
- Extremum lines can be extended to the right (when enabled), allowing traders to track current price movements relative to historical levels.
2. Cluster Volume:
- The cluster analysis is based on lower timeframe data, providing precise identification of key zones of market participant activity. The script dynamically requests close prices and volumes from lower timeframes, calculates the average volume, and identifies levels where volumes exceed a defined threshold.
- The visualization of cluster volumes is unique: volumes exceeding the threshold are displayed as candles with customizable colors and markers. These indicators help traders identify zones of significant interest.
- Cluster volume is only displayed when it interacts with support or resistance levels, ensuring that the visualization remains precise and relevant for market analysis.
3. Breakout Signals:
- The script evaluates "breakout strength" for each breakout of support or resistance levels by comparing the current price with the level. This helps filter false breakouts and focus on significant price movements.
- Traders can select the source for breakout signals (close price or high/low), offering flexibility for various trading styles and strategies.
- By incorporating the concept of "maximum breakout strength," the script highlights only meaningful breakouts, ignoring minor fluctuations.
4. Integration of Trading Sessions:
- Extremum levels for major trading sessions (Asia, Europe, USA) are identified and labeled on the chart. This allows traders to see when significant price levels were formed during the day.
- The script uses timestamps to automatically detect session times, ensuring accuracy and minimizing manual adjustments.
5. Dynamic Data Updates:
- The script dynamically updates support and resistance levels in real time as new data becomes available. This feature is crucial for traders working in fast-moving markets.
- Outdated information (such as obsolete levels) is automatically removed to keep the chart clean and focused on relevant data.
6. Visualization of Activity Zones:
- Trend direction is visualized using color-coded candles based on cluster volumes. For instance, candles with volumes exceeding the average are highlighted with specific colors, helping traders quickly identify areas of heightened activity.
- The unique aspect of this visualization is that cluster volumes appear only in zones where they interact with breakout levels, providing an intuitive and streamlined presentation of critical data.
Usage
- Support and Resistance: Adjust the "Left Bars" and "Right Bars" settings to determine extremums. Use the "Channel Min Width" setting to filter out insignificant levels.
- Cluster Volume: Customize the analysis period and volume threshold to identify high-activity zones. Enable breakout clusters to see how volumes interact with breakouts.
- Session Extremums: Highlight significant levels for Asia, Europe, and US trading sessions to gain insights into market dynamics across different time zones.
- Breakout Signals: Configure the breakout strength and source (close or high/low) for precise signal detection.
Parameter Details
1. Support & Resistance:
- `Left Bars` / `Right Bars`: Number of bars to consider for determining extremums.
- `# of Lines`: Maximum number of support/resistance lines to display.
- `Channel Min Width`: Minimum channel width to filter insignificant levels.
2. Breakout:
- `Show Breakouts`: Toggle breakout signal display.
- `Max breakout strength`: Maximum strength for valid breakouts.
- `Breakout source`: Data source for breakouts (close or high/low).
3. Cluster Volume:
- `Lookback`: Number of bars to analyze for cluster volumes.
- `Threshold`: Volume threshold (percentage above the average).
- `Cluster Volume Timeframe`: Timeframe for cluster volume analysis.
- `Breakout Cluster`: Display cluster volumes only for breakout-related zones.
4. Visual Settings:
- `Extend extremum lines to the right`: Extend support/resistance lines to the right.
- `Show ASIA/EU/US Session Extremums`: Display extremums for trading sessions.
Features and Benefits
- The script provides flexible parameter customization, allowing it to adapt to different trading styles and timeframes.
- The visualization is designed to be clean and intuitive, ensuring users can easily interpret the data.
- Suitable for all timeframes, making it ideal for both intraday and long-term market analysis.
Limitations
- The script is not suitable for analysis on non-standard chart types (e.g., Heikin Ashi, Renko, Kagi).
- To ensure accurate performance, realistic data for commission and slippage should be used.
Warnings
- The script relies on historical data for calculations, which may cause discrepancies in real-time conditions.
- Users should fully understand the functionality of cluster analysis and breakout signals before using the script in live trading.
This script combines advanced data processing logic, dynamic level adjustments, and unique visualization approaches, making it an indispensable tool for market analysis and trading decision-making.
Weekly Covered Calls Strategy with IV & Delta LogicWhat Does the Indicator Do?
this is interactive you must use it with your options chain to input data based on the contract you want to trade.
Visualize three strike price levels for covered calls based on:
Aggressive (closest to price, riskier).
Moderate (mid-range, balanced).
Low Delta (farthest, safer).
Incorporate Implied Volatility (IV) from the options chain to make strike predictions more realistic and aligned with market sentiment. Adjust the risk tolerance by modifying Delta inputs and IV values. Risk is defined for example .30 delta means 30% chance of your shares being assigned. If you want to generate steady income with your shares you might want to lower the risk of them being assigned to .05 or 5% etc.
How to Use the Indicator with the Options Chain
Start with the Options Chain:
Look for the following data points from your options chain:
Implied Volatility (IV Mid): Average IV for a particular strike price.
Delta:
~0.30 Delta: Closest strike (Aggressive).
~0.15–0.20 Delta: Mid-range strike (Moderate).
~0.05–0.10 Delta: Far OTM, safer (Low Delta).
Strike Price: Identify strike prices for the desired Deltas.
Open Interest: Check liquidity; higher OI ensures tighter spreads.
Input IV into the Indicator:
Enter the IV Mid value (e.g., 0.70 for 70%) from the options chain into the Implied Volatility field of the indicator.
Adjust Delta Inputs Based on Risk Tolerance:
Aggressive Delta: Increase if you want strikes closer to the current price (riskier, higher premium).
Default: 0.2 (20% chance of shares being assigned).
Moderate Delta: Balanced risk/reward.
Default: 0.12 (12%)
Low Delta: Decrease for safer, farther OTM strikes.
Default: 0.05 (5%)
Visualize the Chart:
Once inputs are updated:
Red Line: Aggressive Strike (closest, riskiest, higher premium).
Blue Line: Moderate Strike (mid-range).
Green Line: Low Delta Strike (farthest, safer).
Step-by-Step Workflow Example
Open the options chain and note:
Implied Volatility (IV Mid): Example 71.5% → input as 0.715.
Delta for desired strikes:
Aggressive: 0.30 Delta → Closest strike ~ $455.
Moderate: 0.15 Delta → Mid-range strike ~ $470.
Low Delta: 0.05 Delta → Farther strike ~ $505.
Open the indicator and adjust:
IV Mid: Enter 0.715.
Aggressive Delta: Leave at 0.12 (or adjust to bring strikes closer).
Moderate Delta: Leave at 0.18.
Low Delta: Adjust to 0.25 for safer, farther strikes.
View the chart:
Compare the indicator's strikes (red, blue, green) with actual options chain strikes.
Use the visualization to: Validate the risk/reward for each strike.
Align strikes with technical trends, support/resistance.
Adjusting Inputs Based on Risk Tolerance
Higher Risk: Increase Aggressive Delta (e.g., 0.15) for closer strikes.
Use higher IV values for volatile stocks.
Moderate Risk: Use default values (0.12–0.18 Delta).
Balance premiums and probability.
Lower Risk: Increase Low Delta (e.g., 0.30) for farther, safer strikes.
Focus on higher IV stocks with good open interest.
Key Benefits
Simplifies Strike Selection: Visualizes the three risk levels directly on the chart.
Aligns with Market Sentiment: Incorporates IV for realistic forecasts.
Customizable for Risk: Adjust inputs to match personal risk tolerance.
By combining the options chain (IV, Delta, and liquidity) with the technical chart, you get a powerful, visually intuitive tool for covered call strategies.
Weekly Covered Calls StrategyWhat Does This Indicator Do?
This indicator is a tool to help you pick strike prices for your weekly covered call options strategy. It does two things:
Plots two suggested strike prices on your chart:
Aggressive Strike (red label): A strike price closer to the current price, offering higher premiums but with a higher chance of assignment.
Moderate Strike (blue label): A strike price further from the current price, offering lower premiums but with a lower chance of assignment.
Uses technical analysis (volatility) to calculate these strike prices dynamically. It adjusts them based on the market's volatility and your chosen risk settings.
How It Works:
The indicator uses the following inputs to determine the strike prices:
ATR (Average True Range):
This measures the stock's volatility (how much the stock moves up or down over a given period).
A higher ATR = more volatile stock = wider range for strike prices.
Delta Adjustments:
The default settings use Delta values of 0.12 (Aggressive) and 0.18 (Moderate).
Delta is a concept in options trading that estimates the likelihood of the option being "in the money" (ITM) by expiration.
A 0.12 Delta = 12% chance of assignment (Aggressive)
A 0.18 Delta = 18% chance of assignment (Moderate)
Volatility Factor:
This multiplies the ATR by a factor (default is 1.5) to estimate the expected price move and adjust strike prices accordingly.
How to Use the Indicator:
Step 1: Understand the Labels
Red Label (Aggressive Strike):
Closer to the current stock price.
You’ll collect higher premiums because the strike price is riskier (closer to being ITM).
Best for traders comfortable with a higher risk of assignment.
Blue Label (Moderate Strike):
Further from the current stock price.
You’ll collect lower premiums because the strike price is safer (further from being ITM).
Best for traders looking to avoid assignment and collect safer weekly income.
Step 2: Match It to the Options Chain
Open your options chain (like the one you see in Fidelity, TOS, or TradingView).
Look for the strike prices closest to the red (aggressive) and blue (moderate) labels plotted by the indicator.
Compare the premiums (the amount you collect for selling the call) and decide:
If you want higher income: Go with the Aggressive Strike.
If you want safety: Go with the Moderate Strike.
Step 3: Manage Your Risk and Income
Avoid Assignment:
If you do not want your shares to be called away, choose strike prices further from the current price (e.g., moderate strike).
Maximize Premiums:
If you’re okay with a chance of your shares being called away, choose the closer aggressive strike for higher premium income.
Weekly Income Goal:
Use this strategy consistently each week to collect premium income while holding your shares.
Step 4: Adjust for Your Risk Tolerance
You can adjust the Delta values (0.12 for Aggressive and 0.18 for Moderate) to suit your risk tolerance:
Lower Delta (e.g., 0.08–0.10): Safer, fewer chances of assignment, lower premiums.
Higher Delta (e.g., 0.20–0.25): Riskier, higher chances of assignment, higher premiums.
Technical Analysis Summary (What the Indicator Uses):
The indicator uses ATR (Average True Range) to measure volatility and estimate how far the price might move.
It then multiplies ATR by a Volatility Factor to calculate the strike prices.
Using the Delta Adjustment settings, it adjusts these strike prices to give you a balance between risk and reward.
Putting It All Together:
Look at the Chart: The indicator will show two lines and labels for strike prices.
Check the Options Chain: Find the closest strike prices and compare premiums.
Decide Your Strategy:
Want higher premium income? Choose the Aggressive Strike (red label).
Want lower risk of assignment? Choose the Moderate Strike (blue label).
Collect Weekly Income: Sell the call option and repeat this process weekly to generate consistent income.
Happy trading, and may your premiums roll in while your shares stay safe! 🎯📊
Candle Open Time labels (& TAPDA Lines)Description of the "4-Hour Candle Opening Times (TAPDA Lines)" Indicator
The "4-Hour Candle Opening Times (TAPDA Lines)" indicator integrates key principles of the Time and Price Action Trading Algorithm (TAPTA) with practical tools for analyzing market behavior. This script is designed for traders who leverage the interaction between time and price to identify opportunities in the market. The indicator supports the identification of significant price levels and potential areas of interest based on historical data and recurring patterns tied to specific timeframes.
Core Concepts
Time and Price Interaction (TAPTA Logic):
The script implements TAPTA principles by focusing on time intervals (4-hour candles) and the price action associated with those intervals.
Traders use this logic to recognize how prices behave at specific times, identifying patterns, levels of support or resistance, and potential reversals.
Highs and Lows Recognition (TAPDA):
The indicator includes logic for identifying and marking "Tapped Highs and Lows," which occur when price action retraces to previously significant levels within a specified tolerance. These taps are visually represented with horizontal lines, enabling traders to spot recurring price behaviors and levels of interest.
Dynamic Levels for Decision-Making:
By combining time and price, the script visualizes key price levels and their relevance over time, equipping traders with actionable insights for entry, exit, and risk management.
Indicator Features
1. Visual Representation of Candle Opening Times
The indicator marks the opening times of 4-hour candles on the chart.
A customizable label system displays the time in either a 12-hour or 24-hour format, with options to toggle the visibility of AM/PM suffixes.
2. TAPDA Logic
Identifies and highlights price levels that have been tapped within a specified tolerance.
Horizontal lines are drawn to mark these levels, allowing traders to see historical price levels acting as support or resistance.
The "Tapped Highs and Lows" are updated dynamically based on the most recent price action.
3. Timeframe-Specific Filtering
Users can limit the display to specific times of interest, such as 2 AM, 6 AM, and 10 AM, by toggling the "GCT (General Candle Times)" option.
Additional options allow filtering TAPDA logic by AM or PM timeframes, catering to traders who focus on specific market sessions.
4. Adjustable Plotting Limits
The script incorporates settings for controlling the maximum number of labels and lines displayed on the chart:
Max Labels: Limits the number of labels plotted for 4-hour candle opening times.
Max TAPDA Lines: Limits the number of TAPDA horizontal lines displayed.
A "Sync Lines and Labels" option ensures the same number of labels and lines are plotted when enabled, providing a consistent and clutter-free visualization.
5. Plot Maximum Capability
A "Plot Max" feature allows users to override the default behavior and force the plotting of the maximum allowed labels and lines, providing a comprehensive view of historical data.
6. User-Friendly Customization
Fully customizable label styles, including options for position, size, color, and background opacity.
Adjustable tolerance levels for TAPDA lines ensure compatibility with different market conditions and trading strategies.
Settings for flipping or aligning label positions above or below candles, or locking them to the opening price.
Script Logic
The script is built to prioritize efficiency and clarity, adhering to TradingView's Pine Script best practices and community standards:
Initialization:
Arrays are used to store historical price data, including highs, lows, and timestamps, ensuring only the necessary amount of data is processed.
A flexible and efficient data management system maintains a rolling window of data for both labels and TAPDA lines, ensuring smooth performance.
Label and Line Plotting:
Labels are plotted dynamically at user-defined positions and styles to mark the opening times of 4-hour candles.
TAPDA lines are drawn between historical high or low points and the current price action when the tolerance condition is met.
Limit Management:
The script enforces limits on the number of labels and lines plotted on the chart to maintain visual clarity.
Users can enable synchronization between the maximum labels and lines to ensure consistent visualization.
Customization Options:
Extensive customization settings allow traders to tailor the indicator to their strategies and preferences, including:
Label and line styles.
Session filtering (AM, PM, or specific times).
Display limits and synchronization options.
Capabilities
1. Enhance Time-Based Analysis
By marking significant times (4-hour candle openings), traders can identify key market phases and recurring behaviors tied to specific hours.
2. Leverage Historical Price Action
TAPDA logic highlights areas where price action interacts with historical highs and lows, providing actionable insights into potential support or resistance zones.
3. Improve Decision-Making
The indicator supports informed decision-making by blending visual data with time and price action principles, helping traders spot opportunities and mitigate risks.
4. Flexible Application Across Strategies
Suitable for day traders, swing traders, and position traders who utilize time and price action for trend analysis, reversals, or breakout strategies.
Best Practices for Use
Key Levels Analysis:
Focus on labels and TAPDA lines near critical price zones to gauge potential market reactions.
Session-Based Trading:
Use AM/PM filters or GCT settings to isolate specific trading sessions relevant to your strategy.
Combine with Other Indicators:
Enhance the effectiveness of this indicator by combining it with moving averages, RSI, or other tools for confirmation.
Risk Management:
Use the identified levels for stop-loss placement or target setting to align with your risk tolerance.
Extended Support and Resistance LevelsIndicator: Extended Support and Resistance Levels
This Pine Script indicator dynamically calculates support and resistance levels based on recent price action and projects these levels into the future.
Support is determined by the lowest low over a user-defined period, while Resistance is defined by the highest high over the same period.
The indicator draws lines at the calculated support and resistance levels and extends them into the future, allowing traders to visualize potential future levels where price might react.
The extension of these lines helps in identifying areas where price may respect support or resistance in the upcoming bars.
The user can adjust the period for support/resistance calculation and the number of bars for projection, providing flexibility to adapt to different timeframes and market conditions.
This tool is ideal for traders looking to anticipate future key price levels based on historical price data, helping with decision-making on potential entry or exit points.
Wave Surge [UAlgo]The "Wave Surge " is a comprehensive indicator designed to provide advanced wave pattern analysis for market trends and price movements. Built with customizable parameters, it caters to both beginner and advanced traders looking to improve their decision-making process.
This indicator utilizes wave-based calculations, adaptive thresholds, and volume analysis to detect and visualize key market signals. By integrating multiple analysis techniques.
It calculates waves for high, low, and close prices using a configurable moving average (EMA) technique and pairs it with volume and baseline analysis to confirm patterns. The result is a robust framework for identifying potential entry and exit points in the market.
🔶 Key Features
Wave-Based Analysis: This indicator computes waves using exponential moving averages (EMA) of high, low, and close prices, with an adjustable wave period to suit different market conditions.
Customizable Baseline: Traders can select from multiple baseline types, including VWMA (Volume-Weighted Moving Average), EMA, SMA (Simple Moving Average), and HMA (Hull Moving Average), for trend confirmation.
Adaptive Thresholds: The adaptive threshold feature dynamically adjusts sensitivity based on a chosen period, ensuring the indicator remains responsive to varying market volatility.
Volume Analysis: The integrated volume analysis calculates volume ratios and allows traders to enable or disable this feature to refine signal accuracy.
Pattern Recognition: The indicator identifies specific wave patterns (Wave 1, Wave 3, Wave 4, Wave 5, Wave 6) and visually plots them on the chart for easy interpretation.
Visual and Color-Coded Signals: Clear visual signals (upward and downward arrows) are plotted on the chart to highlight potential bullish or bearish patterns. The baseline is color-coded for an intuitive understanding of market trends.
Configuration: Parameters for wave period, baseline length, volume factors, and sensitivity can be tailored to align with the trader’s strategy and market environment.
🔶 Interpreting the Indicator
Wave Patterns
The indicator detects and plots six unique wave patterns based on price changes that exceed an adaptive threshold. These patterns are validated by the direction of the baseline:
Wave 1 (Bullish): Triggered when the price increases above the threshold while the baseline is falling.
Wave 3, 4, and 6 (Bearish): Indicate potential downtrends validated by a rising baseline.
Wave 5 (Bullish): Suggests upward momentum when prices exceed the threshold with a falling baseline.
Baseline Trend
The baseline serves as a trend confirmation tool, dynamically changing color to reflect market direction:
Aqua (Rising): Indicates an upward trend.
Red (Falling): Indicates a downward trend.
Volume Confirmation
When enabled, the volume analysis feature ensures that signals are supported by significant volume movements. Patterns with high volume are considered more reliable.
Signal Visualization
Upward Arrows (🡹): Highlight potential bullish opportunities.
Downward Arrows (🡻): Highlight potential bearish opportunities.
Alerts
Alerts are triggered when key wave patterns are identified, providing traders with timely notifications to take action without being tied to the screen.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Thygoo Countdown TimerThis custom Pine Script indicator displays a real-time countdown timer on your chart, showing the remaining time until the current candle closes based on the active timeframe. The timer is updated dynamically, providing a clear and easy-to-read countdown directly on the chart.
Features:
Real-Time Countdown: The indicator automatically calculates the time remaining for the current candle to close, updating in real-time.
Multiple Timeframes: It works with any active timeframe, including minute-based and multi-minute intervals, such as 3m, 5m, 15m, 1h, etc.
Dynamic Box Position: The countdown is displayed inside a resizable and repositionable box on the chart, placed above the current price action.
Visibility: The box and text are clearly visible, with customizable font sizes for better readability.
No Extra Clutter: The countdown text appears without any unnecessary border lines, keeping the display clean and unobtrusive.
How to Use:
Add this indicator to your chart to monitor the countdown of the current timeframe.
The timer will update automatically, showing the time left (minutes:seconds) until the next bar closes.
Adjust the chart's zoom level to ensure the timer box remains clearly visible in the right-hand section of your chart.
Ideal for:
Traders who want a quick and efficient way to track the time remaining on their current chart timeframe.
Anyone looking to add a countdown timer to their TradingView chart without the clutter of additional indicators.
3_SMA_Strategy_V-Singhal by ParthibIndicator Name: 3_SMA_Strategy_V-Singhal by Parthib
Description:
The 3_SMA_Strategy_V-Singhal by Parthib is a dynamic trend-following strategy that combines three key simple moving averages (SMA) — SMA 20, SMA 50, and SMA 200 — to generate buy and sell signals. This strategy uses these SMAs to capture and follow market trends, helping traders identify optimal entry (buy) and exit (sell) points. Additionally, the strategy highlights the closing price (CP), which plays a critical role in confirming buy and sell signals.
The strategy also features a Second Buy Signal triggered if the price falls more than 10% after an initial buy signal, providing a re-entry opportunity with a different visual highlight for the second buy signal.
Features:
Three Simple Moving Averages (SMA):
SMA 20: Short-term moving average reflecting immediate market trends.
SMA 50: Medium-term moving average showing the prevailing trend.
SMA 200: Long-term moving average that indicates the overall market trend.
Buy Signal (B1):
Triggered when:
SMA 200 > SMA 50 > SMA 20, indicating a bullish market structure.
The closing price is positioned below all three SMAs, confirming a potential upward reversal.
A green label appears at the low of the bar with the text B1-Price, indicating the price at which the buy signal is generated.
Second Buy Signal (B2):
Triggered if the price falls more than 10% after the first buy signal, providing an opportunity to re-enter the market at a potentially better price.
A blue label appears at the low of the bar with the text B2-Price, showing the price at which the second buy opportunity arises.
Sell Signal (S):
Triggered when:
SMA 20 > SMA 50 > SMA 200, indicating a bearish trend.
The closing price (CP) is positioned above all three SMAs, confirming a potential downward movement.
A red label appears at the high of the bar with the text S-Price, showing the price at which the sell signal is triggered.
How It Works:
Buy Conditions:
SMA 200 > SMA 50 > SMA 20: Indicates a bullish market where the long-term trend (SMA 200) is above the medium-term (SMA 50), and the medium-term trend is above the short-term (SMA 20).
Closing price below all three SMAs: Confirms that the price is in a favorable position for a potential upward reversal.
Sell Conditions:
SMA 20 > SMA 50 > SMA 200: This setup indicates a bearish trend.
Closing price above all three SMAs: Confirms that the price is in a favorable position for a potential downward movement.
Second Buy Signal (B2): If the price falls more than 10% after the first buy signal, the strategy triggers a second buy opportunity (B2) at a potentially better price. This helps traders take advantage of pullbacks or corrections after an initial favorable entry.
Labeling System:
B1-Price: The first buy signal label, appearing when the market is bullish and the closing price is below all three SMAs.
B2-Price: The second buy signal label, triggered if the price falls more than 10% after the initial buy signal.
S-Price: The sell signal label, appearing when the market turns bearish and the closing price is above all three SMAs.
How to Use:
Add the Indicator: Add "3_SMA_Strategy_V-Singhal by Parthib" to your chart on TradingView.
Interpret Buy Signals (B1): Look for green labels with the text "B1-Price" when the closing price (CP) is below all three SMAs and the trend is bullish.
Interpret Second Buy Signals (B2): If the price falls more than 10% after the first buy, look for blue labels with "B2-Price" and a re-entry opportunity.
Interpret Sell Signals (S): Look for red labels with the text "S-Price" when the market turns bearish, and the closing price (CP) is above all three SMAs.
Conclusion:
The 3_SMA_Strategy_V-Singhal by Parthib is an efficient and simple trend-following tool for traders looking to make informed buy and sell decisions. By combining the power of three SMAs and the closing price (CP) confirmation, this strategy helps traders to buy when the market shows a strong bullish setup and sell when the trend turns bearish. Additionally, the second buy signal feature ensures that traders don’t miss out on re-entry opportunities after price corrections, giving them a chance to re-enter the market at a favorable price.
Lanczos CandlesThis indicator reconstructs price action using Lanczos resampling, incorporating lower timeframe data to create a more detailed representation of market movements. Traditional candle aggregation on higher timeframes tends to lose some price action detail - this indicator attempts to preserve more of that information through mathematical resampling.
The indicator samples price data from a lower timeframe and uses the Lanczos algorithm, a mathematical method commonly used in signal processing and image resampling, to reconstruct the price series at the chart's timeframe. The process helps maintain price movements that might otherwise be smoothed out in regular candle aggregation.
The main settings allow you to select the source timeframe for sampling, adjust the Lanczos filter width to balance smoothness versus detail preservation, and optionally enable Heikin Ashi calculation. The filter width parameter (default: 3) affects how aggressive the smoothing is - higher values produce smoother results while lower values retain more of the original variation.
This approach can be useful for technical analysis when you want to work with higher timeframes while maintaining awareness of significant price movements that occurred within those candles. The optional Heikin Ashi mode can help visualize trends in the resampled data.
The indicator works best when there's a clear ratio between your chart timeframe and the source timeframe (for example, using 1-minute data to build 5-minute candles).
Weekend BoxesWeekend Box Indicator
This indicator highlights weekend trading periods by drawing color-coded boxes from Saturday to Sunday. Each box includes a percentage label showing the price change during the weekend period. Green boxes indicate positive moves, while red boxes show negative moves. Use this to easily spot and analyze weekend volatility patterns.
set for UTC +5
Sunil's Three 3 Inside Up Down IndicatorThree candlestick Pattern Bullish Reversal- Three Inside Up => Formed by a Bullish Harami pattern followed by a confirmation candle closing above the previous candle.
Three candlestick Pattern Bearish Reversal- Three Inside Down => Formed by a Bearish Harami pattern followed by a confirmation candle closing below the previous candle.
Market Open Levels v3This indicator "Market Open Levels v3" allows a chart user to automatically display up to 20 previous price levels at the open price of up to 8 different markets simultaneously on one indicator.
The user can specify custom labels for each market's price level, as well as adjust the GMT Offset to allow for market open times in a different timezone than the chart's displayed time.
Displays price level at specified market open times. For instance, if a user specifies a market opens at 08:00, then a price level (horizontal line) will be drawn at the most recent 08:00 candle's open price (if GMT Offset is set to 0).
See tooltips for more information on specific inputs.
Shark Price & Bar Prediction
### Description for TradingView
**Shark Price & Bar Prediction Indicator**
The "Shark Price & Bar Prediction" indicator is designed to provide traders with insights into potential price movements based on local extremes in price action. Utilizing Volume Spread Analysis (VSA), this script identifies key price levels and generates predictive targets for bullish and bearish trends.
#### Features:
- **Local Extremes Detection**: Automatically finds the highest and lowest points within a specified prediction period.
- **Price Prediction**: Calculates potential bullish and bearish targets using Fibonacci levels.
- **Visual Signals**: Displays buy and sell signals directly on the chart, making it easy to identify entry points.
- **Customizable Settings**: Users can adjust the prediction period and confidence threshold to suit their trading style.
### How to Use:
1. **Settings**: Adjust the following inputs according to your preferences:
- **Prediction Period**: Set the number of bars to look back for local extremes.
- **Confidence Threshold**: Define the confidence level for predicting price targets.
- **Show Additional Labels**: Toggle additional labels for more detailed information on the chart.
2. **Interpreting Signals**:
- **Buy Signal**: When the closing price exceeds the bullish target, an upward arrow will appear below the bar, indicating a potential buying opportunity.
- **Sell Signal**: When the closing price falls below the bearish target, a downward arrow will appear above the bar, suggesting a potential selling opportunity.
3. **Visual Indicators**:
- The highest point is marked with a 🔴 **red circle**, while the lowest point is marked with a 🟢 **green circle**.
- Bullish targets are represented by a 🔵 **blue line**, and bearish targets are represented by a 🟣 **purple line**.
### Объяснение на русском
**Индикатор Прогнозирования Цены и Баров Shark**
Индикатор "Shark Price & Bar Prediction" предназначен для предоставления трейдерам информации о потенциальных ценовых движениях на основе локальных экстремумов в ценовом действии. Используя анализ объема и спреда (VSA), этот скрипт определяет ключевые уровни цен и генерирует прогнозные цели для бычьих и медвежьих трендов.
#### Особенности:
- **Обнаружение Локальных Экстремумов**: Автоматически находит максимальные и минимальные точки в заданный период прогнозирования.
- **Прогнозирование Цены**: Вычисляет потенциальные бычьи и медвежьи цели с использованием уровней Фибоначчи.
- **Визуальные Сигналы**: Отображает сигналы покупки и продажи непосредственно на графике, что облегчает определение точек входа.
- **Настраиваемые Параметры**: Пользователи могут регулировать период прогнозирования и уровень уверенности в соответствии со своим стилем торговли.
### Как использовать:
1. **Настройки**: Отрегулируйте следующие параметры в соответствии с вашими предпочтениями:
- **Период Прогнозирования**: Установите количество баров для поиска локальных экстремумов.
- **Порог Уверенности**: Определите уровень уверенности для прогнозирования ценовых целей.
- **Показать Дополнительные Метки**: Включите дополнительные метки для более детальной информации на графике.
2. **Интерпретация Сигналов**:
- **Сигнал Покупки**: Когда цена закрытия превышает бычью цель, под баром появится стрелка вверх, указывающая на потенциальную возможность покупки.
- **Сигнал Продажи**: Когда цена закрытия падает ниже медвежьей цели, над баром появится стрелка вниз, предлагающая потенциальную возможность продажи.
3. **Визуальные Индикаторы**:
- Максимальная точка обозначена 🔴 **красным кругом**, а минимальная точка — 🟢 **зеленым кругом**.
- Бычьи цели представлены 🔵 **синей линией**, а медвежьи цели — 🟣 **пурпурной линией**.
Multi TimeFrame OHLC Overlay @MaxMaseratiMulti TimeFrame OHLC Overlay @MaxMaserati
A powerful and versatile indicator that displays OHLC (Open, High, Low, Close) data across multiple timeframes with enhanced visualization features. Perfect for traders who need to analyze price action across different time periods simultaneously.
Key Features:
Customizable multi-timeframe OHLC visualization with box and line overlays
Extended OHLC lines from higher timeframes with clear labeling
Distinct bullish and bearish candle representations
Fully configurable color schemes and display options
Real-time timeframe information display
Main Components:
Multi-Timeframe Display
Primary timeframe OHLC visualization with boxes and lines
Extended timeframe overlay for broader market context
Clear visual distinction between timeframes
Customizable Visuals
Separate color settings for bullish and bearish patterns
Adjustable transparency for both body and wick components
Configurable OHLC line colors and visibility
Extended Lines Features
Higher timeframe OHLC level overlay
Custom labels with timeframe identification
Adjustable line properties and visibility
Information Display
Current timeframe indicator
Extended timeframe reference
Clean and unobtrusive interface
Settings Groups:
Extended OHLC Lines
Labels Options
Display Options
Bullish/Bearish Candle Settings
OHLC Lines Configuration
Usage Tips:
Start with the default 240-minute timeframe or adjust to your preferred interval
Use the extended lines feature to view higher timeframe levels
Customize colors and transparency to match your chart theme
Enable/disable specific components based on your analysis needs
Perfect For:
Multi-timeframe analysis
Support/Resistance identification
Price action trading
Trend following strategies
Market structure analysis
This indicator combines powerful multi-timeframe analysis capabilities with clean visualization, making it an essential tool for traders who need to maintain awareness of price action across different time periods.
Note:
For optimal performance, adjust the visual settings according to your chart's timeframe and color scheme. The indicator is designed to work seamlessly across all trading instruments and timeframes.
Multi-Timeframe Highs and LowsThe "Multi-Timeframe Highs and Lows" indicator is a comprehensive tool designed to plot recent Highs and Lows across multiple timeframes, including 15-Minute, 30-Minute, 1-Hour, 4-Hour, 8-Hour, Daily, Weekly, and Monthly. This indicator provides traders with a clear view of critical support and resistance levels, enabling precise decision-making for entries, exits, and stop-loss placements. It features customizable lookbacks, dynamic line extensions, and advanced label placement logic to prevent overlap, ensuring a clean and clutter-free chart. With fully customizable colors and styles for each timeframe, traders can tailor the indicator to their preferences. Whether you’re a scalper, swing trader, or position trader, this tool adapts to your strategy, providing actionable insights for breakout, reversal, and trend-following setups. Optimized for performance, it handles multiple lines and labels efficiently, making it suitable for high-activity charts. The "Multi-Timeframe Highs and Lows" indicator is an indispensable tool for traders seeking to identify and utilize key price levels across all timeframes with precision and clarity.
Wyckoff Trading Strategy for XAU/USD by KAIZVIETNAMXAU/USD TF M15 TP SL 20-30 pip
- Volume: Calculates the average volume based on the SMA to compare with the current trading volume.
- ATR (Average True Range): Calculated to determine price volatility.
- Support and Resistance Levels: Identifies support and resistance levels over the last 10 trading sessions.
Specific Point Identification
- A series of functions are defined to detect critical phases in the market structure, such as:
- Finding Preliminary Support: Recognizing signals of accumulation near support levels.
- Finding Selling Climax: Detecting signals of profit-taking near resistance levels.
- Finding Last Point of Support: Identifying points that provide stability for the price.
- Finding Preliminary Supply: Recognizing supply signals near resistance levels.
- Finding Buying Climax: Identifying strong buy signals accompanied by high trading volume.
- Finding Sign of Weakness: Determining instances of price adjustments that could lead to declines.
Market State Identification
- Accumulation: When the closing price is situated between the support and resistance levels.
- Distribution: When the closing price approaches the highest level of the previous few sessions.
- Sideways: When there is no clear bias toward either an upward or downward trend.
Buy and Sell Signals
- Buy Signals: Determined through finding preliminary support, selling climax, and last point of support.
- Sell Signals: Determined through finding preliminary supply, buying climax, and signs of weakness.
Engulfing Candle IndicatorThis indicator helps identify Bullish and Bearish Engulfing candle patterns on your chart.
Bullish Engulfing: Occurs when a green candle completely engulfs the prior red candle, signaling potential upward momentum.
Bearish Engulfing: Occurs when a red candle completely engulfs the prior green candle, signaling potential downward momentum.
The script highlights these patterns with green triangles below the bars for Bullish Engulfing and red triangles above the bars for Bearish Engulfing.
This tool is helpful for traders who use candlestick patterns as part of their technical analysis strategy.
Liquidity + Engulfment StrategyThis strategy identifies potential trading opportunities by combining bullish and bearish engulfing candle patterns with liquidity seal-off points. The logic is based on the concept of engulfing candles, which signal a shift in market sentiment, and liquidity lines, which represent local price extremes (highs and lows) that can indicate potential reversal or continuation points.
Key Features:
Mode Selection
The strategy allows for three modes: "Both", "Bullish Only", and "Bearish Only". Users can choose whether to trade both directions, only bullish setups, or only bearish setups.
Time Range
Users can define a specific time range for when the strategy is active, enabling tailored analysis and trade execution over a desired period.
Engulfing Candles
Bullish Engulfing: A candle that closes above the high of the previous bearish candle, signaling potential upward momentum.
Bearish Engulfing: A candle that closes below the low of the previous bullish candle, indicating a potential downtrend.
Liquidity Seal-Off Points
The strategy detects local highs and local lows within a specified lookback period, which can serve as critical support and resistance points.
A bullish signal is triggered when the price touches a lower liquidity point (local low), and a bearish signal is triggered at a higher liquidity point (local high).
Signal Confirmation
Signals are only triggered when both an engulfing candle and the price action at a liquidity seal-off point align. This helps filter out weaker signals.
Consecutive signals are prevented by locking the trade direction after an initial signal and waiting for the liquidity line to be broken before re-triggering a signal.
Entry and Exit Conditions
The strategy can enter both long (bullish) or short (bearish) positions based on the mode and signals.
Exit is based on opposing signals or reaching predefined stop-loss and take-profit levels.
Alerts
The strategy supports alert conditions to notify users when bullish engulfing after a lower liquidity touch or bearish engulfing after an upper liquidity touch is detected.
Overnight High/LowThe script identifies the Overnight High (the highest price) and Overnight Low (the lowest price) for a trading instrument during a specified overnight session. It then plots these levels on the chart for reference in subsequent trading sessions.
Key Features:
Time Settings:
The script defines the start (startHour) and end (endHour + endMinute) times for the overnight session.
The session spans across two calendar days, such as 5:00 PM (17:00) to 9:30 AM (09:30).
Tracking High and Low:
During the overnight session, the script dynamically tracks:
Overnight High: The highest price reached during the session.
Overnight Low: The lowest price reached during the session.
Reset Mechanism:
After the overnight session ends (at the specified end time), the script resets the overnightHigh and overnightLow variables, preparing for the next session.
Visual Representation:
The script uses horizontal dotted lines to plot:
A green line for the Overnight High.
A red line for the Overnight Low.
These lines extend to the right of the chart, providing visual reference points for traders.
How It Works:
Session Detection:
The script checks whether the current time falls within the overnight session:
If the hour is greater than or equal to the start hour (e.g., 17:00).
Or if the hour is less than or equal to the end hour (e.g., 09:30), considering the next day.
The end minute (e.g., 30 minutes past the hour) is also considered for precision.
High and Low Calculation:
During the overnight session:
If the overnightHigh is not yet defined, it initializes with the current candle's high.
If already defined, it updates by comparing the current candle's high to the existing overnightHigh using the math.max function.
Similarly, overnightLow is initialized or updated using the math.min function.
Post-Session Reset:
After the session ends, the script clears the overnightHigh and overnightLow variables by setting them to na (not available).
Line Drawing:
The script draws horizontal dotted lines for the Overnight High and Low during and after the session.
The lines extend indefinitely to the right of the chart.
Benefits:
Visual Aid: Helps traders quickly identify overnight support and resistance levels, which are critical for intraday trading.
Automation: Removes the need for manually plotting these levels each day.
Customizable: Time settings can be adjusted to match different markets or trading strategies.
This script is ideal for traders who use the overnight range as part of their analysis for breakouts, reversals, or trend continuation strategies.
Katalyst's Opening Range BreakoutKatalyst's Opening Range Breakout + No Trade Zone
📜 Overview:
This indicator allows traders to visualize the high and low of the opening range for a user-selected timeframe (e.g., 30s, 1m, 5m, 15m). It features fully customizable lines, labels, and an optional **No Trade Zone** fill to help you identify breakout levels with ease.
---
🎯 Key Features:
1. **Customizable Opening Range**:
- Select your preferred opening range duration: **30 seconds, 1 minute, 2 minutes, 5 minutes, 10 minutes, or 15 minutes**.
- The indicator calculates and plots the **high** and **low** of the selected opening range.
2. **Dynamic Line Styling**:
- Choose the **line color**, **transparency**, and **style**: **Solid, Dashed, or Dotted**.
- Lines extend to the right of the chart for clarity.
3. **No Trade Zone** *(Optional / Disabled by default)*:
- When enabled, fills the area between the high and low lines with a customizable **color and transparency**.
- Helps visually identify consolidation areas where trading might be avoided.
4. **Labels for Precision**:
- Clearly displays the **Opening Range High** and **Low** values.
- Labels are color-coded and positioned dynamically for easy interpretation.
5. **Clean and Efficient Updates**:
- The indicator deletes old lines, labels, and fills before creating new ones, ensuring a clutter-free chart.
---
⚙️ How to Use:
1. **Select Your Timeframe**:
- From the settings, choose your desired opening range duration: 30s, 1m, 2m, 5m, 10m, or 15m.
2. **Customize the Visuals**:
- Adjust line color, style, and transparency.
- Enable the **No Trade Zone** for a transparent background fill between the high and low lines.
3. **Interpret the Breakout**:
- Watch for price movements above or below the **opening range** to identify potential breakout opportunities.
---
🛠 Settings:
Opening Range Duration: Select the timeframe for the opening range (30s, 1m, 2m, 5m, 10m, 15m).
Line Color: Set the color of the range lines.
Line Transparency: Adjust the transparency of the lines (0 = solid, 100 = invisible).
Line Style: Choose line style: Solid, Dashed, or Dotted.
Label Colors: Customize the label colors for the high and low values.
Enable No Trade Zone: Fill the area between high and low lines with a transparent color.
No Trade Zone Color: Set the fill color for the no trade zone.
No Trade Zone Transparency: Adjust the transparency of the no trade zone fill.
---
📈 Ideal For
Day traders and scalpers looking to trade **breakouts**.
Traders who want to identify areas of consolidation visually.
Anyone who relies on the **opening range** for their trading strategy.
---
🔍 Example Usage:
Set the opening range to **5 minutes** and enable the **No Trade Zone** with a light red fill.
Watch for price to break above or below the high/low lines to signal potential trade opportunities.
---
✨ Why Use This Indicator?
This script simplifies your breakout strategy by providing a clear, visually appealing representation of the opening range. The flexible customization options and the optional **No Trade Zone** make it a powerful tool for identifying high-probability trades.
---
Let me know if you need any additional tweaks or clarifications for this description. It's all set to help traders understand and use your powerful script! 🚀📈