Normalised ATR - Configurable Session Volatility AnalysisThis indicator analyzes price volatility across different trading sessions throughout the day. Here are its key features:
1. **Configurable Time Periods**
- Users can set specific date ranges for analysis
- Supports up to 12 customizable trading sessions
- Adjustable session durations (1-8 hours each)
2. **Volatility Measurements**
- Offers two calculation methods:
* Normalized Range: (High-Low)/Midpoint Price × 100 (as percentage)
* Absolute Range: Simple High-Low difference
- Tracks key statistics for each session:
* Maximum range
* Minimum range
* Average range
* 25% quartile range
3. **Statistical Analysis**
- Calculates 5th and 95th percentiles across all sessions
- Provides visual reference lines for these percentiles
- Shows detailed statistics in a color-coded table
4. **Visual Display**
- Clear tabular display of session statistics
- Color-coded for easy reading
- Plot of daily ranges with percentile bounds
- Session times displayed in UTC
This tool is particularly useful for:
- Understanding market volatility patterns across different trading sessions
- Identifying optimal trading hours
- Planning trading strategies based on historical volatility patterns
- Comparing volatility across different market periods
图表形态
20 Pips Candle Finder for XAUUSD20 Pips Candle Finder for XAUUSD
This custom Pine Script indicator is specifically designed for XAUUSD (Gold) price action analysis. It identifies and visually marks candles with a body size of 20 pips or more, which can be important for traders focusing on strong momentum or significant price movement.
Key Features:
Dynamic Detection:
The script dynamically identifies candles whose body size exceeds 20 pips.
Calculations are based on XAUUSD's pip size of 0.1.
Visual Markers:
Candles meeting the 20-pip threshold are labeled with a green marker above the candle for quick identification.
Background Highlighting:
The candles meeting the condition are also visually highlighted with a transparent green background, making them easier to spot on the chart.
Debugging Tools:
The indicator plots:
A blue line showing the size of the candle bodies over time for better visibility.
A red dotted horizontal line showing the 20-pip threshold for quick reference.
Ideal Use Case:
This indicator is particularly useful for:
Traders focusing on momentum-based strategies.
Spotting candles with significant price movement.
Assessing market volatility during key trading hours or events.
By visually spotting these candles, traders can identify entry and exit opportunities, support/resistance breakouts, or potential reversals.
Inputs & Customization:
Currently, the indicator is set for XAUUSD's standard pip value (0.1) but can be adjusted if you plan to use it on other symbols. You can fine-tune the 20 pips threshold or other parameters to align with your trading strategy.
Blue Sniper V.1Overview
This Pine Script indicator is designed to generate Buy and Sell signals based on proximity to the 50 EMA, stochastic oscillator levels, retracement conditions, and EMA slopes. It is tailored for trending market conditions, making it ideal for identifying high-probability entry points during strong bullish or bearish trends.
Key Features:
Filters out signals in non-trending conditions.
Focuses on retracements near the 50 EMA for precise entries.
Supports alert notifications for Buy and Sell signals.
Includes a cooldown mechanism to prevent signal spamming.
Allows time-based filtering to restrict signals to a specific trading window.
How It Works
Trending Market Conditions
The indicator is most effective when the market exhibits a clear trend. It uses two exponential moving averages (50 EMA and 200 EMA) to determine the overall market trend:
Bullish Trend: 50 EMA is above the 200 EMA, and both EMAs have upward slopes.
Bearish Trend: 50 EMA is below the 200 EMA, and both EMAs have downward slopes.
Buy and Sell Conditions
Buy Signal:
The market is in a bullish trend.
Stochastic oscillator is in the oversold zone.
Price retraces upwards, breaking away from the recent low by more than 1.5 ATR.
Price is near the 50 EMA (within the defined proximity percentage).
Sell Signal:
The market is in a bearish trend.
Stochastic oscillator is in the overbought zone.
Price retraces downwards, breaking away from the recent high by more than 1.5 ATR.
Price is near the 50 EMA.
Outputs
Signals:
Buy Signal: Green "BUY" label below the price bar.
Sell Signal: Red "SELL" label above the price bar.
Alerts:
Alerts are triggered for Buy and Sell signals if conditions are met within the specified time window (if enabled).
EMA Visualization:
50 EMA (blue line).
200 EMA (red line).
Limitations
Not Suitable for Non-Trending Markets: This script is designed for trending conditions. Sideways or choppy markets may produce false signals.
Proximity Tolerance: Adjust the proximityPercent to prevent signals from triggering too frequently during minor oscillations around the 50 EMA.
No Guarantee of Accuracy: As with any technical indicator, it should be used in conjunction with other tools and analysis.
James Gordon StrategyThis strategy is designed to identify potential bullish “bounce” points off a long-term moving average, specifically the 200-period Exponential Moving Average (EMA), on a 4-hour chart. The logic behind the strategy assumes that when price action interacts with this key support level and then closes above it, buyers are showing renewed interest and strength at that price level.
How It Works:
1. Focus on the 200 EMA:
The 200 EMA is often considered a long-term trend indicator. Price trading above the 200 EMA generally suggests an uptrend, while price trading below it suggests a downtrend. By targeting bounces on this EMA, the strategy looks for moments when price is demonstrating a willingness to hold or reclaim a pivotal support level.
2. Bounce Condition:
A “bounce” is defined by two key criteria:
- Test of Support: During the chosen candle (4-hour timeframe), the low price of the candle reaches the 200 EMA or dips just below it, indicating the market is testing that support zone.
- Close Above the EMA: By the end of that same candle, the price closes above the 200 EMA, signaling that buyers stepped in and defended that level.
3. Why This Matters:
When a candle’s low touches or moves below an important moving average, it might appear that the price could break down further. However, if the candle still manages to close above this moving average, it indicates resilience and potential bullish momentum. This can be an early sign of a price rebound, potentially offering a trading opportunity for those looking to go long.
4. Practical Use:
- Entry Signals: Traders may use these bounce signals to time entries, betting on the idea that price could move higher now that key support has held.
- Stop Placement and Risk Management: Traders can define their risk by placing stops just below the recent low or slightly under the 200 EMA.
- Market Context: To maximize its usefulness, traders should combine the bounce condition with other indicators, market structure analysis, and fundamental insights.
Traders should consider the overall trend, momentum indicators, volume profiles, or macro events to increase confidence in the signal.
In essence, the strategy aims to highlight moments when price action “bounces” off a crucial support level, potentially signaling a favorable entry point for bullish trades.
Enigma End Game Indicator
Enigma End Game Indicator Description
The Enigma End Game indicator is a powerful tool designed to enhance the way traders approach support and resistance, combining mainstream technical analysis with a unique, dynamic perspective. At its core, this indicator enables traders to adapt to market conditions in real time by applying a blend of classic and modern interpretations of support and resistance levels.
In traditional support and resistance analysis, we recognize the significant price points where the market has historically reversed or consolidated. However, the *Enigma End Game* indicator takes this one step further by analyzing each individual candle's high as a potential resistance level and each low as support. This allows the trader to stay more agile, as the market constantly updates and evolves. The dynamic nature of this method acknowledges that price movements are fractal in nature, meaning that these levels are not static but adjust in response to price action on multiple timeframes.
### How It Works:
When using the *Enigma End Game* indicator, it doesn't simply plot buy and sell signals automatically. Instead, the indicator highlights key levels based on the interaction between price and historical price action. Here's how it operates:
1. **Buy Logic:**
The indicator identifies bullish signals based on the *Enigma* logic, but it does not trigger an immediate buy. Instead, it plots arrows above or below the candles, indicating the key price levels where price action has shifted. Traders then focus on these areas, particularly looking for buy opportunities *below* these levels during key market sessions (such as London or New York) while aligning with both mainstream support and resistance and *Enigma* levels.
2. **Sell Logic:**
Similarly, when the indicator identifies a sell signal, it plots an arrow above the candle where price action has reversed. This does not immediately suggest selling. Traders wait for a price retracement back to the previously breached low (for a sell order) or high (for a buy order), observing price action closely on lower timeframes (such as the 1-minute chart) to refine entry points. The entry is triggered when price starts to show signs of reversing at these levels, further validated by mainstream and *Enigma* support/resistance.
### Practical Example – XAU/USD (Gold):
For instance, in the settings of the *Enigma End Game* indicator, if we select the 5-minute (5MN) timeframe as the key level, the indicator will only plot the first 3 arrows following the *Enigma* logic. The arrows will appear above or below the candle that was breached, indicating a potential trend reversal. In this scenario, the first arrow marks the point where price broke a significant support or resistance level. Afterward, the trader watches for a subsequent candle to close below (in the case of a sell) the previous candle’s low, confirming a bearish bias.
Now, the trader does not rush into a sell order. Instead, they wait for the price to pull back towards the previously breached low. At this point, the trader can use a lower timeframe (like the 1-minute chart) to identify both mainstream support and resistance levels and *Enigma* levels above the main 5-minute key level. These additional levels provide a clearer understanding of where price might reverse and give the trader a stronger edge in refining their entry point.
The trader then sets a sell order *above* the price level of the previous low, but only once signs show that price is retracing and ready to fall again. The price point where this retracement occurs, confirmed by both mainstream and *Enigma* levels, becomes the entry signal for the trade.
### Summary:
The *Enigma End Game* indicator combines time-tested principles of support and resistance with a more modern, adaptive view, empowering traders to read the market with greater precision. It guides you to wait for optimal entries, based on dynamic support and resistance levels that change with each price movement. By combining signals on higher timeframes with refined entries on lower timeframes, traders gain a unique advantage in navigating both obvious and hidden levels of support and resistance, ultimately improving their ability to time trades with higher probability of success.
This indicator allows for a more calculated, strategic approach to trading—highlighting the right moments to enter the market while providing the flexibility to adjust to different market conditions.
The *ENIGMA Signals with Retests* indicator is a versatile trading tool that combines key market sessions with dynamic support and resistance levels. It uses logic to identify potential buy and sell signals based on the behavior of recent price swings (highs and lows) and offers flexibility with the number of arrows plotted per session. The user can customize settings like arrow frequency, line styles, and session times, allowing for personalized trading strategies.
The indicator detects buy and sell signals by checking if the price breaks the previous swing high (for buy signals) or swing low (for sell signals). It then stores these levels and draws horizontal lines on the chart, representing critical price levels where traders can expect potential price reactions.
A key feature of this indicator is its ability to limit the number of arrows per session, ensuring a cleaner chart and reducing signal clutter. Horizontal lines are drawn at the identified buy or sell levels, with the option to display labels like "BUY - AT OR BELOW" and "SELL - AT OR ABOVE" to further clarify entry points.
The indicator also incorporates session filtering, allowing traders to focus on specific market sessions (Asia, London, and New York) for more relevant signals, and it ensures that no more than a user-defined number of arrows are plotted within a session.
LIT - ConfirmationsOverview
The LIT - Confirmations Indicator is a dynamic checklist tool designed for traders who uses LIT Strategy (Liquidity Inducement Theory) following liquidity and smart money concepts as benefit. This tool allows users to document and track essential trading confirmations directly on their TradingView charts, offering a structured and visual approach to market analysis.
What Makes This Unique?
Unlike other open-source tools, the LIT - Confirmations Indicator introduces a fully interactive and customizable table directly on the chart. This table provides real-time feedback with clear ✅ (checked) and ❌ (unchecked) visual indicators for each confirmation. The user can position the table on the chart according to their preference, ensuring it integrates seamlessly into their trading workflow without obscuring critical chart data.
How It Works
1. Predefined Confirmations
The indicator includes a set of commonly used trading confirmations:
Identify Liquidity: Mark areas where liquidity might pool.
Inducement: Confirm the presence of inducements before market reversals.
Relevant Break of Structure (BOS): Validate critical structural changes.
Mitigation after RBoS: Check for mitigation following a BOS.
Smart Money Trap (SMT): Identify traps often utilized by smart money.
Timing: Ensure trades are entered during high-probability time windows.
Mitigation to the Leftside: Confirm whether price action aligns with prior mitigations.
Set Targets: Define and document logical take-profit or stop-loss levels.
2.Interactive Table Display
A table is dynamically created on the chart, showing all confirmations with their current state (checked or unchecked).
Users can choose the position of the table (top, middle, or bottom and left, center, or right) and customize its background color for better visibility.
3. Customization
All confirmations are toggled through the input settings, allowing traders to adapt the indicator to their unique strategies.
The display can be easily adjusted to match the trader’s preferences without cluttering the chart.
How to Use
1. Add the indicator to your chart.
2. Open the settings panel to activate the relevant confirmations for your analysis.
3. Use the Display Settings section to adjust the table's position and background color.
4. View the table on your chart to track selected confirmations in real-time.
Who Is This For?
This indicator is ideal for traders who:
Use Liquidity Inducent Theory strategy in their analysis.
Prefer a structured and systematic trading approach.
Need an on-chart tool to document confirmations without relying on external notes or tools.
Why Closed Source?
The logic behind the interactive table and confirmation system is specifically tailored to LIT practitioners and is not publicly available in existing open-source scripts. The closed-source nature of this script protects its unique implementation, ensuring the integrity and exclusivity of the tool.
Disclaimer
This indicator does not provide trading signals or strategies. It is a tool to document user-defined confirmations and should be used in conjunction with a thorough understanding of market behavior and risk management practices.
Daily Single Trade [SMRT Algo]The Daily Single Trade Indicator by SMRT Algo is a powerful yet simple tool designed for traders who value precision, discipline, and a focus on high-quality trade setups. With a unique approach, this indicator identifies just one signal daily, making it ideal for traders who prefer a structured and stress-free trading routine.
Please note that this indicator only works for timeframes below 1H.
Key Features:
Market Open & Pre-Market Analysis: The indicator focuses on the market’s opening range and identifies breakout opportunities based on price action during these critical periods.
Customizable Risk-Reward Ratio: Plan your trades with precision by setting your desired RR, ensuring that your take-profit (TP) levels are multiples of your stop-loss (SL). Stop loss is not shown with this indicator.
Price Offset for SL: Add a customizable buffer to your SL and TP levels. This offset accounts for market volatility, reducing the chances of premature stop-outs while maintaining alignment with your trading plan.
Increasing this value will lead to a greater invisible stop loss, which will increase the TP size. The opposite is occurs when decreasing this value (less than 0). If you set it as 2.5 for example for TSLA: price is 340 and SL is 330 for example, SL becomes 327.5. This calculation will then be applied to calculate the TP.
In simple terms, if the offset is positive, SL becomes larger, TP becomes larger as well.
Exit Point Visibility: Display exit points on your chart to better visualize trade targets and stop levels.
Adjustable Market Open Time: Easily modify the market open hour and minute to suit your asset’s trading session. For example, U.S. stock traders can set the market open time to 9:30 AM EST (UTC-5).
By providing a single signal each day, the indicator minimizes overtrading and keeps your focus on the best opportunities.
With predefined SL, TP, and RR settings, the indicator fosters disciplined trading, reducing the influence of emotional decision-making. Whether you’re trading stocks, indices, or forex, the customizable market open time and RR ratio make this indicator versatile and adaptable.
The combination of precise SL and TP calculations with offset pip adjustments helps protect your trades from market noise while maintaining a favorable RR.
Perfect for those who can’t monitor markets all day, the single-signal approach allows you to execute a high-quality trade and move on with your day.
How to Use:
Set the Market Open Time: Adjust the open time to align with your asset’s session. For example, set 9:30 AM EST for U.S. stocks.
Define Your Risk-Reward Ratio: Choose an RR multiple (e.g., 1:2 or 1:3) that aligns with your risk tolerance and trading goals.
Apply Pip Offset: Add a buffer to your SL and TP to account for market volatility and reduce false stops.
The Daily Single Trade Indicator simplifies trading by focusing on one high-probability setup per day. It’s perfect for traders looking to maintain consistency, improve risk management, and reduce the stress of overanalyzing the markets.
How Alerts Work:
Individual Alerts: Set separate notifications for specific actions, such as breakout signals, take-profit levels, or stop-loss activations.
Master Alert: Manage all notifications with one streamlined setting, ensuring you never miss an opportunity while keeping your setup simple and efficient.
Take control of your trading with a strategy built for clarity, precision, and success!
SiCInside Sweep Close (ISC):
This concept captures a specific price action behavior and can help refine trading strategies for better precision. Here's a detailed explanation:
Inside:
The closing price of the candle stays within the range of the previous candle.
This indicates a containment of price action, suggesting indecision or preparation for a significant move.
Sweep:
The wick of the candle takes out (or "sweeps") the low (or high) of the previous candle.
This sweep can trigger stop-losses of retail traders or activate pending orders, often used by smart money strategies.
Close:
The candle ultimately closes inside the range of the previous candle.
This close signifies that the sweep was a liquidity grab rather than a genuine breakout, providing an actionable trading signal.
How ISC Can Be Used in Trading:
Liquidity Grab Recognition:
ISC can indicate when liquidity is swept from the market, making it an ideal entry point for traders anticipating a reversal or continuation.
Smart Money Concept (SMC) Synergy:
If you follow SMC principles, ISC aligns with key concepts like liquidity sweeps, order blocks, and mitigation zones.
Risk Management:
By identifying the ISC setup, you can place tighter stop-loss levels just outside the sweep, optimizing risk-reward ratios.
Entry Signals:
When you spot an ISC, you can enter trades at the close of the candle, anticipating a move in the direction opposite to the sweep.
Example of ISC in Action:
Imagine a bearish candle:
The wick sweeps the low of the previous candle, possibly triggering stop-losses.
However, the close stays inside the previous candle’s range.
This setup might indicate a reversal, where price moves upward after grabbing liquidity.
Why This Name Works:
It’s concise, professional, and directly linked to the trading action you’re describing.
The short form, ISC, is easy to remember and discuss within trading circles or while teaching others.
It ties into widely known concepts like smart money, price action, and liquidity sweeps, making it relatable yet unique.
Does this align with how you envision using the concept? Let me know if you’d like more refinements or visual examples!
No Wick Setup Indicator
**No Wick Setup Indicator**
This is a custom trading indicator designed to identify and signal potential buy and sell opportunities based on candlestick patterns with no wicks. Specifically, it looks for candles with no wicks at the bottom (bullish setup) or no wicks at the top (bearish setup). Here's how it works:
**Key Features:**
- **Bullish Setup**: A green candlestick with no bottom wick (i.e., the open price is equal to the low price of the candle) is considered a potential bullish signal. A trendline is drawn at the bottom of this candle. When the market price returns to this trendline, a buy signal is generated.
- **Bearish Setup**: A red candlestick with no top wick (i.e., the open price is equal to the high price of the candle) is considered a potential bearish signal. A trendline is drawn at the top of this candle. When the market price returns to this trendline, a sell signal is generated.
- **Timeframe**: This indicator works exclusively on the **30-minute timeframe**.
**How It Works:**
1. When a candlestick pattern with no bottom wick (bullish setup) is identified, a trendline is drawn at the low of the candlestick.
2. When a candlestick pattern with no top wick (bearish setup) is identified, a trendline is drawn at the high of the candlestick.
3. The indicator then tracks the market price and waits for it to return to the respective trendline level.
4. **Buy Signal**: When the market price touches or goes below the bullish trendline, a **Buy** signal is displayed on the chart with an upward arrow.
5. **Sell Signal**: When the market price touches or goes above the bearish trendline, a **Sell** signal is displayed on the chart with a downward arrow.
**Visual Elements:**
- **Trendlines**: Horizontal lines drawn at the bottom (bullish) or top (bearish) of the candlesticks with no wick.
- **Buy/Sell Labels**: Labels indicating "Buy" or "Sell" appear when the market price returns to the trendline.
**Why Use This Indicator?**
- This indicator helps identify specific price levels where the market might reverse or consolidate based on candlestick structure, offering potential entry points for trades.
- It allows traders to focus on price action and market behavior without relying on more complex indicators.
Supply and Demand Plus [tambangEA]The Supply and Demand Plus is an advanced version of the highly-regarded Supply and Demand indicator
Designed to offer additional functionality for professional traders. Building on the core features of the original script, the "Plus" version incorporates enhanced zone selection capabilities and multi-timeframe Exponential Moving Averages (EMAs). This makes it a versatile tool for those who seek to refine their trading strategies using supply and demand principles while integrating trend-following techniques.
🔹 New Capabilities in Supply and Demand Plus
1. Customizable Zone Selection:
Users can now choose which specific zones to display on the chart:
Continuation Trader
-Rally-Base-Rally (RBR): Bullish continuation zones.
-Drop-Base-Drop (DBD): Bearish continuation zones.
Contrarian Trader
-Drop-Base-Rally (DBR): Bullish reversal zones.
-Rally-Base-Drop (RBD): Bearish reversal zones.
This feature allows traders to filter the zones relevant to their strategy, reducing chart clutter and enhancing focus.
2. Multi-Timeframe EMAs:
🔹 The Meeting Zone: "Base"
-The meeting zone is where supply meets demand, often referred to as the equilibrium price range. In this range:
-Sellers are willing to sell at prices buyers are willing to pay.
-Trading volume is usually higher as transactions occur more frequently.
-On the candle chart, this area may appear as sideways movement (consolidation) or regions with balanced candle sizes and wicks, signaling relative agreement between buyers and sellers.
🔹 Key Observations in Candle Charts
-Breakouts: When prices break out of a meeting zone, they indicate that one side (buyers or sellers) has gained significant control. This can lead to new supply or demand zones.
-Retests: Often, prices return to test these zones (called pullbacks) before continuing in the dominant direction. Retests confirm the strength of a supply or demand zone.
-Volume Spikes: High trading volumes near these zones signify active participation and can validate the importance of the zone.
The indicator includes five Exponential Moving Averages (EMAs) that can be plotted across different timeframes simultaneously. This enables traders to:
Track trend strength and direction across multiple timeframes.
Identify dynamic support and resistance levels.
Combine EMA signals with supply and demand zones for confluence-based trading decisions.
EMA Settings:
Fully customizable periods (e.g., EMA 20, 50, 100, etc.).
Adjustable colors and thickness for each EMA.
Multi-timeframe capability to analyze higher or lower timeframes without changing the chart.
🔹 How It Works :
The script works through a series of processes:
1.Zone Identification:
-Uses historical price patterns and pivot levels to map out supply and demand zones.
-Zones dynamically adjust to reflect market conditions, staying relevant to current price action.
-The color of the Zone can be set individually
2.Volume and Market Context:
-Integrates volume analysis to filter out weaker zones.
-Highlights zones with confluence between high volume and price rejections, signaling areas of strong institutional interest.
3.Trend Integration:
-Employs proprietary logic to assess market trends, ensuring that traders only act on zones aligned with broader momentum.
-This feature minimizes counter-trend trades, which are inherently riskier.
4.User Customization:
-Fully customizable zone sensitivity, timeframe settings, and visual preferences allow traders to adapt the tool to their strategy.
Four EMAs in sequence from Chart EMAs to Daily EMA are indicators of a strong trend
The "Base" zone of RBR and DBD supported by Daily EMAs within the zone,
is a strong meeting of buyers and sellers in the past.
Zone can be calibrated how many percent comparison of open close candle to high low candle
the number of candles in Base can be set to the maximum number of candles
🔹 Utility for Traders
The indicator provides a clear roadmap for traders by:
-Identifying high-probability trade zones.
-Confirming entries with volume and trend data.
-Offering actionable insights in both trending and ranging markets.
🔹 Why It Stands Out
Unlike generic supply and demand indicators or trend-following tools, Supply and Demand Plus incorporates an original approach by:
-Seamlessly combining zone identification, volume analysis, and trend confirmation into a single cohesive tool.
-Adapting dynamically to changing market conditions.
-Supporting advanced traders with MTFA, while remaining accessible to beginners with its intuitive design.
Example : Continuation Trader + Retests
The idea is when the "Base" zone occurs, then there is a meeting between buyers and sellers with a large enough volume and will leave a trace in the past.
In accordance with one of the principles in Dow Theory, namely History Repeats Itself, the price will return to the "Base" zone, before continuing the trend
Before
After
🔹 Update and Versioning
This script is an evolution of previous Supply and Demand tools, incorporating valuable user feedback and innovative features. All future updates, including improvements and new functionalities, will be integrated within this script under the Update feature, ensuring continuity and ease of access for users.
🔹 Conclusion
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that.
The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making.
🔹 DISCLAIMER/RISK WARNING
Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors.
All content, tools, scripts, articles, & education provided by are purely for informational & educational purposes only. Past performance does not guarantee future results.
PDH & PDL Indicator: Previous Day's High/Low with AlertsThe PDH & PDL Indicator plots the Previous Day's High (PDH) and Previous Day's Low (PDL) directly on the chart, providing a clear visual reference for key price levels. These levels are often used by traders to identify potential breakout or breakdown zones and to gauge market strength or weakness.
Features:
PDH (Green Line) : Represents the high of the previous trading day.
PDL (Red Line): Represents the low of the previous trading day.
Alerts:
Get notified when the price crosses above PDH or below PDL.
Custom alert messages to keep you informed in real-time.
Use Cases:
Identify key breakout and breakdown points for potential trade entries or exits.
Confirm the strength of a trend by monitoring price action relative to PDH and PDL.
Useful for intraday, swing, and positional traders who rely on historical price levels for strategy development.
DCA Performance AnalysisDollar-Cost Averaging (DCA) Performance Calculator
This indicator helps you analyze the performance of a DCA investment strategy by simulating regular periodic investments into an asset. Perfect for long-term investors who want to evaluate or backtest their DCA strategy.
Key Features:
- Flexible Investment Scheduling: Choose between daily, weekly, or monthly investments
- Custom Date Range: Set specific start and end dates for your analysis
- Adjustable Investment Amount: Input any dollar amount for your regular investments
- Clear Visual Markers: Green triangles show entry points, red triangle marks the end date
- Comprehensive Performance Metrics: View total investment, days invested, unrealized yield, and portfolio value
The indicator displays a clean, easy-to-read table showing:
1. Total Invested: The cumulative amount of money invested
2. Investment Days: Total number of investment entries executed
3. Unrealized Yield: Both dollar amount and percentage return (calculated at end date)
4. Portfolio Worth: Total value of holdings at the specified end date
Usage Tips:
- Best used on BTCUSD or other cryptocurrency pairs
- Works on all timeframes, but matching the timeframe to your DCA frequency provides the clearest visualization
- Calculations use opening prices for entries and closing price at end date for final valuation
- All calculations are based on UTC+0 time
This tool is ideal for:
- Backtesting DCA strategies
- Understanding historical DCA performance
- Comparing different DCA frequencies
- Planning future DCA investments
- Educational purposes about DCA investing
Note: This indicator is for informational purposes only and should not be considered financial advice. Past performance does not guarantee future results.
Liquid Pours XtremeStrategy Description: Liquid Pours Xtreme
The Liquid Pours Xtreme is an innovative trading strategy that combines the analysis of specific time-based patterns with price comparisons to identify potential opportunities in the forex market. Designed for traders seeking a structured methodology based on clear rules, this strategy offers integration with Telegram for real-time alerts and provides visual tools to enhance trade management.
Key Features:
Analysis of Specific Time Patterns: The strategy captures and compares closing prices at two key moments during the trading day, identifying recurring patterns that may indicate future market movements.
Dynamic SL and TP Levels Implementation: Utilizes tick-based calculations to set Stop-Loss and Take-Profit levels, adapting to the current market volatility.
Advanced Telegram Integration: Provides detailed alerts including information such as the asset, signal time, entry price, and SL/TP levels, facilitating real-time decision-making.
Complete Customization: Allows users to adjust key parameters, including operation schedules, weekdays, and visual settings, adapting to different trading styles.
Enhanced Chart Visualization: Includes visual elements like candle color changes based on signal state, event markers, and halos to highlight important moments.
Default Strategy Properties: Specific configuration for optimal risk management and simulation.
How the Strategy Works
Capturing Prices at Key Moments:
- The strategy records the closing price at two user-defined specific times. These times typically correspond to periods of high market volatility, such as the opening of the European session and the US pre-market.
- Rationale: Volatility and trading volume usually increase during these times, presenting opportunities for significant price movements.
Generating Signals Based on Price Comparison:
- Buy Signal: If the second closing price is lower than the first, it indicates possible accumulation and is interpreted as a bullish signal.
- Sell Signal: If the second closing price is higher than the first, it suggests possible distribution and is interpreted as a bearish signal.
- Signals are only generated on selected trading days, allowing you to avoid days with lower liquidity or higher risk.
Calculating Dynamic SL and TP Levels:
- Stop-Loss (SL) and Take-Profit (TP) levels are calculated based on the entry price and a user-defined number of ticks, adapting to market volatility.
- The strategy offers the option to base these levels on the close of the signal candle or the open of the next candle, providing flexibility according to the trader's preference.
- SL and TP boxes are drawn on the chart for visual reference, facilitating trade management.
Automatic Execution and Alerts:
- Upon signal generation, the strategy automatically executes a market order (buy or sell).
- Sends a detailed alert to your Telegram channel, including essential information for quick decision-making.
Visual Elements:
- Colors candles based on the signal state: buy, sell, or neutral, allowing for quick trend identification.
- Provides a smooth color transition between signal states and uses markers and halos to highlight important events and signals on the chart.
Trade Management:
- Manages open trades with automatic exit conditions based on the established SL and TP levels.
- Includes mechanisms to prevent exceeding TradingView's limitations on boxes and labels, ensuring optimal script performance.
Originality and utility:
- This strategy incorporates a unique approach focusing on specific time patterns and their relationship to institutional activity in the market.
How to Use the Strategy
Add the Script to the Chart:
- Go to the indicators menu in TradingView.
- Search for " Liquid Pours Xtreme " and add it to your chart.
Set Up Telegram Alerts:
- Enter your Telegram Chat ID in the script parameters to receive alerts.
- Customize the Buy and Sell alert messages as desired.
Configure Time Patterns:
- Set the hours and minutes for the two times you want to compare closing prices, aligning them with relevant market sessions or events.
Set SL and TP Parameters:
- Define the number of ticks for the Stop-Loss and Take-Profit levels, adapting them to the asset you're trading and your risk tolerance.
- Choose the basis for SL and TP calculation (close of the signal candle or open of the next candle).
Select Trading Days:
- Enable or disable trading on specific days of the week, allowing you to avoid days with lower activity or unexpected volatility.
Customize Visual Elements:
- Adjust the colors and styles of visual elements to enhance readability and suit your personal preferences.
Monitor the Strategy:
- Observe the chart for signals and use Telegram alerts to stay informed of new opportunities, even when you're not at your terminal.
Testing and Optimization:
- Use TradingView's backtesting features to evaluate the historical performance of the strategy with different parameters.
- Adjust and optimize the parameters based on the results and your own analysis.
Adjust the Strategy Properties:
- Ensure that the strategy properties (order size, commission, slippage) are aligned with your trading account and platform to obtain realistic results.
Strategy Properties (Important)
This script backtest is conducted on M30 EURUSD , using the following backtesting properties:
Initial Capital: $10,000
Order Size: 50,000 Contracts (equivalent to 0.5% of the capital)
Commission: $0.20 per order
Slippage: 1 tick
Pyramiding: 1 order
Verify Price for Limit Orders: 0 ticks
Recalculate on Order Execution: Enabled
Recalculate on Every Tick: Enabled
Recalculate After Order Filled: Enabled
Bar Magnifier for Backtesting Precision: Enabled
We use these properties to ensure a realistic preview of the backtesting system. Note that default properties may vary for different reasons:
- Order Size: It is essential to calculate the contract size according to the traded asset and desired risk level.
- Commission and Slippage: These costs can vary depending on the market and instrument; there is no default value that might return realistic results.
We strongly recommend all users adjust the Properties within the script settings to align with their accounts and trading platforms to ensure the results from the strategies are realistic.
Backtesting Results:
- Net Profit: $4,037.50 (40.37%)
- Total Closed Trades : 292
- Profitability Percentage: 26.71%
- Profit Factor: 1.369
- Max Drawdown: $769.30 (6.28%)
- Average Trade: $13.83 (0.03%)
- Average Bars in Trades: 11
These results were obtained under the mentioned conditions and properties, providing an overview of the strategy's historical performance.
Interpreting Results:
- The strategy has demonstrated profitability in the analyzed period, although with a win rate of 26.71%, indicating that success relies on a favorable risk-reward ratio.
- The profit factor of 1.369 suggests that total gains exceed total losses by that proportion.
- It is crucial to consider the maximum drawdown of 6.28% when evaluating the strategy's suitability to your risk tolerance.
Risk Warning:
Trading leveraged financial instruments carries a high level of risk and may not be suitable for all investors. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk tolerance. Past performance does not guarantee future results. It is essential to conduct additional testing and adjust the strategy according to your needs.
---
What Makes This Strategy Original?
Time-Based Pattern Approach: Unlike conventional strategies, this strategy focuses on identifying time patterns that reflect institutional activity and macroeconomic events that can influence the market.
Advanced Technological Integration: The combination of automatic execution and customized alerts via Telegram provides an efficient and modern tool for active traders.
Customization and Adaptability: The wide range of adjustable parameters allows the strategy to be tailored to different assets, time zones, and trading styles.
Enhanced Visual Tools: Incorporated visual elements facilitate quick market interpretation and informed decision-making.
Additional Considerations
Continuous Testing and Optimization: Users are encouraged to perform additional backtesting and optimize parameters according to their own observations and requirements.
Complementary Analysis: Use this strategy in conjunction with other indicators and fundamental analysis to reinforce decision-making.
Rigorous Risk Management: Ensure that SL and TP levels, as well as position sizing, align with your risk management plan.
Updates and Support: I am committed to providing updates and improvements based on community feedback. For inquiries or suggestions, feel free to contact me.
---
Example Configuration
Assuming you want to use the strategy with the following parameters:
Telegram Chat ID: Your unique Telegram Chat ID
First Time (Hour:Minute): 6:30
Second Time (Hour:Minute): 7:30
SL Ticks: 100
TP Ticks: 400
SL and TP Basis: Close of the Signal Candle
Trading Days: Tuesday, Wednesday, Thursday
Simulated Initial Capital: $10,000
Risk per Trade in Simulation: $50 (-0.5% of capital)
Slippage and Commissions in Simulation: 1 tick of slippage and $0.20 commission per trade
---
Conclusion
The Liquid Pours Xtreme strategy offers an innovative approach by combining specific time analysis with robust risk management and modern technological tools. Its original and adaptable design makes it valuable for traders looking to diversify their methods and capitalize on opportunities based on less conventional patterns.
Ready for immediate implementation in TradingView, this strategy can enrich your trading arsenal and contribute to a more informed and structured approach to your operations.
---
Final Disclaimer:
Financial markets are volatile and can present significant risks. This strategy should be used as part of a comprehensive trading approach and does not guarantee positive results. It is always advisable to consult with a professional financial advisor before making investment decisions.
---
Breakaway Fair Value Gaps [LuxAlgo]The Breakaway Fair Value Gap (FVG) is a typical FVG located at a point where the price is breaking new Highs or Lows.
🔶 USAGE
In the screenshot above, the price range is visualized by Donchian Channels.
In theory, the Breakaway FVGs should generally be a good indication of market participation, showing favor in the FVG's breaking direction. This is a combination of buyers or sellers pushing markets quickly while already at the highest high or lowest low in recent history.
While this described reasoning seems conventional, looking into it inversely seems to reveal a more effective use of these formations.
When the price is pushed to the extremities of the current range, the price is already potentially off balance and over-extended. Then an FVG is created, extending the price further out of balance.
With this in consideration, After identifying a Breakaway FVG, we could logically look for a reversion to re-balance the gap.
However, it would be illogical to believe that the FVG will immediately mitigate after formation. Because of this, the dashboard display for this indicator shows the analysis for the mitigation likelihood and timeliness.
In the example above, the information in the dashboard would read as follows (Bearish example):
Out of 949 Bearish Breakaway FVGs, 80.19% are shown to be mitigated within 60 bars, with the average mitigation time being 13 bars.
The other 19.81% are not mitigated within 60 bars. This could mean the FVG was mitigated after 60 bars, or it was never mitigated.
The unmitigated FVGs within the analysis window will extend their mitigation level to the current bar. We can see the number of bars since the formation is represented to the right of the live mitigation level.
Utilizing the current distance readout helps to better judge the likelihood of a level being mitigated.
Additionally, when considering these mitigation levels as targets, an additional indicator or analysis can be used to identify specific entries, which would further aid in a system's reliability.
🔶 SETTINGS
Trend Length: Sets the (DC) Trend length to use for Identifying Breakaway FVGs.
Show Mitigation Levels: Optionally hide mitigation levels if you would prefer only to see the Breakaway FVGs.
Maximum Duration: Sets the analysis duration for FVGs, Past this length in bars, the FVG is counted as "Un-Mitigated".
Show Dashboard: Optionally hide the dashboard.
Use Median Duration: Display the Median of the Bar Length data set rather than the Average.
10% Drop from Current High - Akshay10% Drop from Current High TradingView Indicator
Description:
The "10% Drop from Current High" indicator dynamically tracks the highest price within a user-defined period and highlights when the current price drops by a specified percentage. This tool is invaluable for traders looking to monitor significant pullbacks or corrections from recent highs.
Key Features:
Customizable Drop Percentage:
Allows users to set the percentage drop to track, with a default value of 10%.
Configurable via an input field to suit different trading strategies and market conditions.
Lookback Period:
Tracks the highest price over a user-defined lookback period (default is 20 bars).
This ensures the indicator adapts to short-term or long-term market conditions based on user preferences.
Dynamic Levels:
Current High Level: Plots the highest price within the lookback period in blue.
Drop Level: Plots the calculated drop level (e.g., 10% below the current high) in red.
Visual Alerts:
Background Highlighting:
A translucent red background appears when the current price is at or below the drop level, signaling a significant pullback.
Shape Marker:
A downward label is plotted below the bar when the price touches or falls below the drop level, providing cSet Alerts:lear visual feedback.
Overlay on Price Chart:
The indicator is plotted directly on the price chart (overlay=true), ensuring seamless integration with other technical analysis tools.
Use Case:
This indicator is designed for traders who want to:
Monitor Pullbacks:
Identify when the price of an asset experiences a defined percentage drop from its recent high, signaling potential reversal zones or buying opportunities.
Use visual cues to react quickly to price movements.
Analyze Trends:
Combine with other indicators to assess the strength of trends and corrections.
Customization Options:
Drop Percentage: Adjust the percentage drop to track based on asset volatility and trading strategy.
Lookback Period: Modify the lookback period to focus on short-term (e.g., 5 bars) or long-term (e.g., 50 bars) price highs.
This indicator provides a flexible and intuitive way to track price pullbacks, helping traders make informed decisions and stay ahead in dynamic market conditions.
FU Candle Indicator V3.2What the FU Candle Indicator does:
First we need to understand what FU candles are. There's bullish and bearish FU candles.
Bullish FU candles are candles that have a long wick that takes out the previous candles low, then turns around and closes above the high of the previous candle.
Bearish FU candles are candles that have a long wick that takes out the previous candles high, then turns around and closes below the low of the previous candle.
Then there's so called attempted FU candles (ATT FU)
The difference between normal FU candles and ATT FU candles is, that the ATT FU candle doesn't close above/below the high/low of the previous candle but only above the previous candle's body close.
Bullish ATT FU Candle:
Bearish ATT FU Candle:
Detection of Bullish FU Candles:
Bullish FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles high and the current candles close price are measured.
If current candle low < previous candle low and current candle close > previous candle high = Bullish FU Candle.
Detection of Bullish ATT FU Candles:
Bullish ATT FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle low < previous candle low and current candle close > previous candle open or close = Bullish ATT FU Candle.
Detection of Bearish FU Candles:
Bearish FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles low, AND the current candles close price are measured.
If current candle high > previous candle high, AND current candle close < previous candle low = Bearish FU Candle.
Detection of Bearish ATT FU Candles:
Bearish ATT FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle high > previous candle high and current candle close < previous candle open or close = Bearish ATT FU Candle.
What makes this script unique?
It shows and liquidity grab and a break of structure on a lower timeframe in one candle.
It allows to adjust the settings for the asset and timeframe you're using
The built in filters (Fractal Filter and EMA Filter) are both optional but allow to filter out certain candles and most importantly it leaves room for experimentation and optimisation to your trading style.
Input Settings and how to use them:
Bullish FU Candle Color --> This setting is to set the color for bullish FU candles.
Bearish FU Candle Color --> This setting is to set the color for bearish FU candles.
Chart --> This setting enables you to display FU's on different timeframes instead of only the current time. It's set to current timeframe by default.
Liq. Grab in Points --> This is the strength of the liquidity grab. By how many points has the current candle taken out the low/ high of the previous candle. It's set to 20 by default but it has to be adjusted to the timeframe and asset you're using.
Engulfing in Points --> This the strength of the engulfing of the previous candle. It measures the distance of the current close price to the open, close, high or low of the previous candle. It depends if the current candle is bullish or bearish and if the previous candle was bullish or bearish and if ATT FUs are enabled but this setting applies to all methods. It's set to 20 by default but you have to adjust it to the asset and timeframe you're using.
Min. Size in Points --> This setting is to filter out tiny candles. It measures the overall size of the FU candle from low to high. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Min. Body Size in Points --> This setting is to filter out FU candles that have a tiny body. It measures the size of the body from open to close. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Max. Body Size in Points --> This setting is to filter out FU candles that have a huge body. It measures the size of the body from open to close. It's set to 10000 by default but you have to adjust it to the asset and timeframe you are using.
Show ATT FU Candles --> ATT FU Candles are FU's where the body only engulfs the previous candles body but not the wick. This type of FU candles is just as valid as the strong FU's where the Body and the wick of the previous Candle is engulfed. The setting is enabled by default.
Rejection Filter --> This setting is used filter out FU candles where the opposite side rejection is stronger than the body direction of the FU. This filters out a lot of traps. It's disabled by default.
Fractal Filter --> FU's are only valid if they broke a fractal of the past x candles. This filters out some of the FU candles that are inside a range and therefore invalid. This is an optional filter and disabled by default.
EMA Filter --> FU's are only if they are above/ below the EMA. This is to filter out most of the FU candles that are inside ranges. The EMA period can be set too. This is an optional filter and enabled and EMA length set to 7 by default. You can enable it and/ or change the length of the EMA to fit your trading style.
Show Entry Lines --> The entry line setting has been changed in terms of styling. The upper and lower line has been removed. Now only the 50% retracement line of the candle body is displayed and the line type, color, strength and length can be set to keep charts as clean as possible.
Alert Timeframes --> You can select the timeframes for which you want to receive an alert if you set and alert for the FU Candle indicator. If you set an alert for the FU Candle Indicator it will send an alert for every FU candle on every selected timeframe.
TF1-TF8 --> This setting is to enable or disable alerts for timeframe 1 - timeframe 8. By default all alerts are disabled, I recommend only enabling the ones that you actually use.
Recommended use:
A bullish FU candle doesn't necessarily mean it's a long and vice versa a bearish FU candle doesn't necessarily mean it's a short. In fact, most FU candles are traps. Often times you'll see a bullish FU candle starting a bearish reversal.
Whenever you see an FU Candle check the following:
Did the FU candle take relevant liquidity?
Is the FU Candle in line with the overall bias or does it go against the bias?
Where did the FU react? Example: A bearish FU candle that reacts in a bullish FVG is a perfect long entry and vice versa.
A bullish FU candle that takes out a relevant swing high can often be a fake-out and price can immediately reverse as the next candle opens.
Timing is also very important. Usually the valid FU candles happen after a strong move to one direction during high volume times and right before or right after a new candle opens on a higher timeframe.
Examples of valid setups:
Nr. 1) Mitigation Setup
Overall bullish on the higher time frame, liquidity grab to the downside, shift in momentum, strong move to the upside left a FVG. later price comes back into the FVG and forms a FU candle --> perfect long trade targeting the opposite side of the range.
Entry either at close of the FU or at the 50% retracement.
Nr. 2) Trap Setup
Clear bullish trend respecting the trend line, bearish FU candle forms but it didn't take any relevant liquidity to the upside. Only internal range liquidity. Perfect long entry using a buy limit below the lower wick of the FU candle with the SL below the nearest low.
Nr. 3) Liquidity Grab Setup
Bearish trend, price comes up aggressively and takes out a high and forms an FU Candle. Market entry short at close of the FU candle or at the 50% retracement of the FU candle or by putting a limit order right above the wick of the candle that follows the FU candle, targeting the opposite side of the range.
Nr. 4) Fake Breakout Setup
Price takes out a significant HTF low, then makes at least 2 BOS on the LTF and forms an Order Block or leaves an FVG. Price forms a bearish U that fails to close below the FVG or Orderblock.
Market entry long at the close of the bearish FU targeting the opposite side of the range. Vice versa for shorts. In simple terms: Bullish FUs at the top of the range and bearish FUs at the bottom of the range are usually always traps.
Sometimes price takes out the high/low of a trap FU before reversing aggressively so you can also have a limit order below the low of the bearish FU or above the high of a bullish FU in this case. But you risk missing the trade.
Entry Methods:
Entry Type 1) Market Entry at the close of the FU candle. --> Never miss a trade, not the best RRR.
Entry Type 2 Limit Entry at the 50% retracement of the body of the FU candle. --> Miss some of the trades but better RRR.
Entry Type 3 Limit order below the wick of the candle that follows the FU candle. --> Miss quite a lot of trades but by far best RRR.
Why this is a closed source script:
The source code of this script is not open because I have spent several years of my life developing it and I use it in all my trading bots.
Also I'm open for feedback and will modify/ update the script for free if I get input that can make it better.
For questions, please reach out via DM or check out my youtube channel. I have several videos explaining in detail how I use these candles, which are valid and which aren't.
Fourier Extrapolation of PriceThis advanced algorithm leverages Fourier analysis to predict price trends by decomposing historical price data into its frequency components. Unlike traditional algorithms that often operate in lower-dimensional spaces, this method harnesses a multidimensional approach to capture intricate market behaviors. By utilizing additional dimensions, the algorithm identifies and extrapolates subtle patterns and oscillations that are typically overlooked, providing a more robust and nuanced forecast.
Ideal for traders seeking a deeper understanding of market dynamics, this tool offers an enhanced predictive capability by aligning its calculations with the complexity of real-world financial systems.
Daily High/Low Levels with mitigationThis Pine Script script defines a TradingView indicator named "Daily High/Low Levels" designed to track and display the daily high and low levels of a trading session, with added functionality for marking levels as mitigated when certain conditions are met. Here's a breakdown of its functionality:
Key Features
Session Start Time: The script allows you to specify a custom session start time in 24-hour format. This ensures the levels align with your trading session preferences.
Daily Highs and Lows:
Tracks the high and low levels for each session.
Retains the highs and lows for a configurable number of previous days.
Visualization:
Creates horizontal lines for each session's high and low levels.
Supports customization of line colors and styles.
Mitigation Tracking:
Monitors whether a high or low level has been "mitigated" (touched or exceeded by subsequent price action).
Changes the line style and color to indicate mitigation.
Provides an alert when mitigation occurs.
Configurable Extensions:
Lines can be extended beyond mitigation or stopped at the bar index where mitigation occurs, depending on user preference.
Efficient Array Management:
Uses arrays to manage daily highs, lows, their respective indices, and lines.
Ensures the size of stored data does not exceed the configured limit (daysToTrack).
Alerts:
Sends alerts when high or low levels are mitigated, which can be used for trading decisions.
Inputs
Session Start Hour/Minute: Defines when a new session starts.
Days to Track: Sets the number of previous days to display high/low levels.
Colors: Allows customization of line colors for unmitigated and mitigated levels.
Extend Lines: Toggles whether lines should extend past the mitigation point.
Code Highlights
New Session Detection: The script detects the start of a new session based on the configured session start time and resets daily highs/lows.
Line Management: Horizontal rays are created for highs and lows, and mitigated lines are updated with a dashed style and faded color.
Mitigation Logic: The script checks whether current price action exceeds stored high or low levels and updates their status and appearance accordingly.
Memory Management: Ensures the size of the arrays (highs, lows, lines) does not exceed the configured daysToTrack, deleting the oldest elements as necessary.
This indicator is highly customizable and useful for traders who want to track and analyze daily support and resistance levels, incorporating mitigation as a dynamic feature.
Rejection Candle DetectorUsing the Rejection Candle Detector with Order Blocks
Plotting Order Blocks:
Identify Key Levels: Begin by identifying key levels on the chart where large buying or selling activity has taken place. These areas are often referred to as order blocks.
Draw the Blocks: Use horizontal lines or rectangular zones to mark these order blocks on your chart. These levels will act as potential support or resistance areas where price is likely to react.
Setting Up the Rejection Candle Detector:
Apply the Indicator: Add the Rejection Candle Detector to your TradingView chart.
Customize Settings: Adjust the look-back period, label colors, and transparency according to your preferences.
Monitoring Price Action:
Wait for Price to Reach an Order Block: Monitor the chart for when the price approaches one of your predefined order blocks.
Look for Rejection Candles: The Rejection Candle Detector will help you identify rejection candlestick patterns within the look-back period (default is 10 bars).
Entry Decision:
Confirm Rejection: Once the price touches an order block and a rejection candle is detected by the indicator, this could signal a potential entry point. Rejection candles indicate that the price tried to move past the order block but was pushed back, showing strong resistance or support at that level.
Align with Your Analysis: Ensure that the detected rejection candle aligns with your overall trading analysis and strategy. Consider other factors such as trend direction, volume, and market conditions before making an entry.
Managing the Trade:
Set Stop Loss: Place a stop loss just beyond the order block to manage your risk in case the price breaks through the level.
Target Levels: Define your target levels for taking profit based on the next significant support or resistance levels on the chart.
Monitor and Adjust: Continue to monitor the trade and adjust your stop loss or take profit levels as needed based on price action and market conditions.
Example Scenario:
Order Block: You identify an order block at the $50 level on your chart, marking it as a potential support zone.
Price Reaction: Price approaches and tests the $50 level.
Rejection Candle: The Rejection Candle Detector spots a hammer candlestick (a bullish rejection pattern) forming right at the $50 level.
Entry Point: You decide to enter a long trade at the close of the hammer candle, setting your stop loss just below the $50 level.
Trade Management: Set your target at the next resistance level, say $55, and monitor the trade, adjusting as necessary...
RagiBaba's 3:1 Risk-to-Reward Tool with LeverageThis indicator allows you to visualize a 3:1 risk-to-reward ratio for your trades on the chart. It automatically calculates and displays the Stop Loss and Take Profit levels based on your input for:
Entry Price
Trade Amount ($)
Risk Amount ($)
Leverage (x)
You can adjust the following settings:
Trade Direction: Choose between a Long or Short position.
Leverage: Enter the leverage value (e.g., 25x).
Entry Price: Set the price at which you plan to enter the trade.
Risk and Reward: Input the amount of money you're willing to risk and the desired reward (automatically calculated as 3 times your risk).
Label Position: Choose the label position for Entry, Stop, and Target (left, center, or right on the chart).
Each line has a corresponding label showing the price for Entry, Stop Loss, and Take Profit. The labels can be positioned on the left, center, or right side of the chart for better readability.
This tool helps you manage your trades by giving you clear visual cues for your entry, stop loss, and take profit levels with the option to adjust for leverage.
Cabal Dev IndicatorThis is a TradingView Pine Script (version 6) that creates a technical analysis indicator called the "Cabal Dev Indicator." Here's what it does:
1. Core Functionality:
- It calculates a modified version of the Stochastic Momentum Index (SMI), which is a momentum indicator that shows where the current close is relative to the high/low range over a period
- The indicator combines elements of stochastic oscillator calculations with exponential moving averages (EMA)
2. Key Components:
- Uses configurable input parameters for:
- Percent K Length (default 15)
- Percent D Length (default 3)
- EMA Signal Length (default 15)
- Smoothing Period (default 5)
- Overbought level (default 40)
- Oversold level (default -40)
3. Calculation Method:
- Calculates the highest high and lowest low over the specified period
- Finds the difference between current close and the midpoint of the high-low range
- Applies EMA smoothing to both the range and relative differences
- Generates an SMI value and further smooths it using a simple moving average (SMA)
- Creates an EMA signal line based on the smoothed SMI
4. Visual Output:
- Plots the smoothed SMI line in green
- Plots an EMA signal line in red
- Shows overbought and oversold levels as gray horizontal lines
- Fills the areas above the overbought level with light red
- Fills the areas below the oversold level with light green
This indicator appears designed to help traders identify potential overbought and oversold conditions in the market, as well as momentum shifts, which could be used for trading decisions.
Would you like me to explain any specific part of the indicator in more detail?
Harmonic Pattern Detector (75 patterns)Harmonic Pattern Detector offers a record amount of "Harmonic Patterns" in one script, with 75 different patterns detected, together with up to 99 different swing lengths.
🔶 USAGE
Harmonic Patterns are detected from several different ZigZag lines, derived from Swings with different lengths (shorter - longer term)
Depending on the settings ' Minimum/Maximum Swing Length ', the user will see more or less patterns from shorter and/or longer-term swing points.
🔹 Fibonacci Ratio
Certain patterns have only one ratio for a specific retrace/extension instead of one upper and one lower limit. In this case, we add a ' Tolerance ', which adds a percentage tolerance below/above the ratio, creating two limits.
A higher number may show more patterns but may become less valid.
Hoovering over points B, C, and D will show a tooltip with the concerning limits; adjusted limits will be seen if applicable.
Tooltips in settings will also show which patterns the Fibonacci Ratio applies to.
🔹 Triangle Area Ratio
Using Heron's formula , the triangle area is calculated after the X-Y axis is normalized.
Users can filter patterns based on the ratio of the smallest triangle to the largest triangle.
A lower Triangle Area Ratio number leads to more symmetrical patterns but may appear less frequently.
🔶 DETAILS
Harmonic patterns are based on geometric patterns, where the retracement/extension of a swing point must be located between specific Fibonacci ratios of the previous swing/leg. Different Harmonic Patterns require unique ratios to become valid patterns.
In the above example there is a valid 'Max Butterfly' pattern where:
Point B is located between 0.618 - 0.886 retracement level of the X-A leg
Point C is located between 0.382 - 0.886 retracement level of the A-B leg
Point D is located between 1.272 - 2.618 extension level of the B-C leg
Point D is located between 1.272 - 1.618 extension level of the X-A leg
Harmonic Pattern Detector uses ZigZag lines, where swing highs and swing lows alternate. Each ZigZag line is checked for valid Harmonic Patterns . When multiple types of Harmonic Patterns are valid for the same sequence, the pattern will be named after the first one found.
Different swing lengths form different ZigZag lines.
By evaluating different ZigZag lines (up to 99!), shorter—and longer-term patterns can be drawn on the same chart.
🔹 Blocks
The patterns are organized into blocks that can be toggled on or off with a single click.
When a block is enabled, the user can still select which specific patterns within that block are enabled or disabled.
🔹 Visuals
Besides color settings, labels can show pattern names or arrows at point D of the pattern.
Note this will happen 1 bar after validation because one extra bar is needed for confirmation.
An option is included to show only arrows without the patterns.
🔹 Updated Patterns
When a Swing Low is followed by a lower low or a Swing High followed by a higher high , triggering a pattern identical to a previous one except with a different point D, the pattern will be updated. The previous C-D line will be visible as a dashed line to highlight the event. Only the last dashed line is shown when this happens more than once.
🔹 Optimization
The script only verifies the last leg in the initial phase, significantly reducing the time spent on pattern validation. If this leg doesn't align with a potential Harmonic Pattern , the pattern is immediately disregarded. In the subsequent phase, the remaining patterns are quickly scrutinized to ensure the next leg is valid. This efficient process continues, with only valid patterns progressing to the next phase until all sequences have been thoroughly examined.
This process can check up to 99 ZigZag lines for 75 different Harmonic Patterns , showcasing its high capacity and versatility.
🔹 Ratios
The following table shows the different ratios used for each Harmonic Pattern .
' min ' and ' max ' are used when only one limit is provided instead of 2. This limit is given a percentage tolerance above and below, customizable by the setting ' Tolerance - Fibonacci Ratio '.
For example a ratio of 0.618 with a tolerance of 1% would result in:
an upper limit of 0.624
a lower limit of 0.612
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| NAME PATTERN | BCD (BD) | ABC (AC) | XAB (XB) | XAD (XD) |
| | min max | min max | min max | min max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| 'ABCD' | 1.272 - 1.618 | 0.618 - 0.786 | | |
| '5-0' | 0.5 *min - 0.5 *max | 1.618 - 2.24 | 1.13 - 1.618 | |
| 'Max Gartley' | 1.128 - 2.236 | 0.382 - 0.886 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Gartley' | 1.272 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'NN Gartley' | 1.128 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'NN A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'Alt Bat' | 2.0 - 3.618 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Max Bat' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'NN Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'NN Alt Bat' | 2.0 - 4.236 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'NN A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'NN A Alt Bat' | 2.618*min - 2.618*max | 1.128 - 2.618 | 0.236 - 0.5 | 0.886*min - 0.886*max |
| 'Butterfly' | 1.618 - 2.618 | 0.382 - 0.886 | 0.786*min - 0.786*max | 1.272 - 1.618 |
| 'Max Butterfly' | 1.272 - 2.618 | 0.382 - 0.886 | 0.618 - 0.886 | 1.272 - 1.618 |
| 'Butterfly 113' | 1.128 - 1.618 | 0.618 - 1.0 | 0.786 - 1.0 | 1.128*min - 1.128*max |
| 'A Butterfly' | 1.272*min - 1.272*max | 1.128 - 2.618 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Crab' | 2.24 - 3.618 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'Deep Crab' | 2.618 - 3.618 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'A Crab' | 1.618 - 2.618 | 1.128 - 2.618 | 0.276 - 0.446 | 0.618*min - 0.618*max |
| 'NN Crab' | 2.236 - 4.236 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'NN Deep Crab' | 2.618 - 4.236 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'NN A Crab' | 1.128 - 2.618 | 1.128 - 2.618 | 0.236 - 0.447 | 0.618*min - 0.618*max |
| 'NN A Deep Crab' | 1.128*min - 1.128*max | 1.128 - 2.618 | 0.236 - 0.382 | 0.618*min - 0.618*max |
| 'Cypher' | 1.272 - 2.00 | 1.13 - 1.414 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'New Cypher' | 1.272 - 2.00 | 1.414 - 2.14 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'Anti New Cypher' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 1.272*min - 1.272*max |
| 'Shark 1' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'Shark 1 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 0.886*min - 0.886*max |
| 'Leonardo' | 1.128 - 2.618 | 0.382 - 0.886 | 0.5*min - 0.5*max | 0.786*min - 0.786*max |
| 'NN A Leonardo' | 2.0*min - 2.0*max | 1.128 - 2.618 | 0.382 - 0.886 | 1.272*min - 1.272*max |
| 'Nen Star' | 1.272 - 2.0 | 1.414 - 2.14 | 0.382 - 0.618 | 1.272*min - 1.272*max |
| 'Anti Nen Star' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 0.786*min - 0.786*max |
| '3 Drives' | 1.272 - 1.618 | 0.618 - 0.786 | 1.272 - 1.618 | 1.618 - 2.618 |
| 'A 3 Drives' | 0.618 - 0.786 | 1.272 - 1.618 | 0.618 - 0.786 | 0.13 - 0.886 |
| '121' | 0.382 - 0.786 | 1.128 - 3.618 | 0.5 - 0.786 | 0.382 - 0.786 |
| 'A 121' | 1.272 - 2.0 | 0.5 - 0.786 | 1.272 - 2.0 | 1.272 - 2.618 |
| '121 BG' | 0.618 - 0.707 | 1.128 - 1.733 | 0.5 - 0.577 | 0.447 - 0.786 |
| 'Black Swan' | 1.128 - 2.0 | 0.236 - 0.5 | 1.382 - 2.618 | 1.128 - 2.618 |
| 'White Swan' | 0.5 - 0.886 | 2.0 - 4.237 | 0.382 - 0.786 | 0.238 - 0.886 |
| 'NN White Swan' | 0.5 - 0.886 | 2.0 - 4.236 | 0.382 - 0.724 | 0.382 - 0.886 |
| 'Sea Pony' | 1.618 - 2.618 | 0.382 - 0.5 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Navarro 200' | 0.886 - 3.618 | 0.886 - 1.128 | 0.382 - 0.786 | 0.886 - 1.128 |
| 'May-00' | 0.5 - 0.618 | 1.618 - 2.236 | 1.128 - 1.618 | 0.5 - 0.618 |
| 'SNORM' | 0.9 - 1.1 | 0.9 - 1.1 | 0.9 - 1.1 | 0.618 - 1.618 |
| 'COL Poruchik' | 1.0 *min - 1.0 *max | 0.382 - 2.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Henry – David' | 0.618 - 0.886 | 0.44 - 0.618 | 0.128 - 2.0 | 0.618 - 1.618 |
| 'DAVID VM 1' | 1.618 - 1.618 | 0.382*min - 0.382*max | 0.128 - 1.618 | 0.618 - 3.618 |
| 'DAVID VM 2' | 1.618 - 1.618 | 0.382*min - 0.382*max | 1.618 - 3.618 | 0.618 - 7.618 |
| 'Partizan' | 1.618*min - 1.618*max | 0.382*min - 0.382*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.128 - 3.618 | 1.618 - 3.618 |
| 'Partizan 2.1' | 1.618*min - 1.618*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.2' | 2.236*min - 2.236*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.3' | 1.618*min - 1.618*max | 0.618 - 1.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.4' | 2.236*min - 2.236*max | 1.618*min - 1.618*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'TOTAL' | 1.272 - 3.618 | 0.382 - 2.618 | 0.276 - 0.786 | 0.618 - 1.618 |
| 'TOTAL NN' | 1.272 - 4.236 | 0.382 - 2.618 | 0.236 - 0.786 | 0.618 - 1.618 |
| 'TOTAL 1' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.786 | 0.786 - 0.886 |
| 'TOTAL 2' | 1.618 - 3.618 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTNN 2NN' | 1.618 - 4.236 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTAL 3' | 1.272 - 2.618 | 1.128 - 2.618 | 0.276 - 0.618 | 0.618 - 0.886 |
| 'TOTNN 3NN' | 1.272 - 2.618 | 1.128 - 2.618 | 0.236 - 0.618 | 0.618 - 0.886 |
| 'TOTAL 4' | 1.618 - 2.618 | 1.128 - 2.618 | 0.382 - 0.786 | 1.128 - 1.272 |
| 'BG 1' | 2.618*min - 2.618*max | 0.382*min - 0.382*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 2' | 2.237*min - 2.237*max | 0.447*min - 0.447*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 3' | 2.0 *min - 2.0 *max | 0.5 *min - 0.5 *max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 4' | 1.618*min - 1.618*max | 0.618*min - 0.618*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 5' | 1.414*min - 1.414*max | 0.707*min - 0.707*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 6' | 1.272*min - 1.272*max | 0.786*min - 0.786*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 7' | 1.171*min - 1.171*max | 0.854*min - 0.854*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 8' | 1.128*min - 1.128*max | 0.886*min - 0.886*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
🔶 SETTINGS
🔹 Swings
Minimum Swing Length: Minimum length used for the swing detection.
Maximum Swing Length: Maximum length used for the swing detection.
🔹 Patterns
Toggle Pattern Block
Toggle separate pattern in each Pattern Block
🔹 Tolerance
Fibonacci Ratio: Adds a percentage tolerance below/above the ratio when only one ratio applies, creating two limits.
Triangle Area Ratio: Filters patterns based on the ratio of the smallest triangle to the largest triangle.
🔹 Display
Labels: Display Pattern Names, Arrows or nothing
Patterns: Display or not
Last Line: Display previous C-D line when updated
🔹 Style
Colors: Pattern Lines/Names/Arrows - background color of patterns
Text Size: Text Size of Pattern Names/Arrows
🔹 Calculation
Calculated Bars: Allows the usage of fewer bars for performance/speed improvement
Gap Marker (>5%)This TradingView script identifies and highlights price gaps of more than 5% between consecutive candles. It is a valuable tool for traders to quickly spot significant price movements and take action accordingly.
Features:
Gap-Up Detection: Marks green triangles when a candle’s opening price is more than 5% higher than the previous candle’s closing price.
Gap-Down Detection: Marks red triangles when a candle’s opening price is more than 5% lower than the previous candle’s closing price.
Percentage Display: Shows the percentage change next to the marker for added clarity.
This script is especially useful for identifying potential trading opportunities triggered by substantial market moves.
Dieses TradingView-Skript identifiziert und markiert Kurslücken (Gaps) von mehr als 5 % zwischen aufeinanderfolgenden Kerzen. Es ist ein hilfreiches Tool für Trader, um bedeutende Kursbewegungen sofort zu erkennen und darauf zu reagieren.
Funktionen:
Gap-Up-Erkennung: Markiert grüne Dreiecke, wenn der Eröffnungskurs einer Kerze mehr als 5 % über dem Schlusskurs der vorherigen Kerze liegt.
Gap-Down-Erkennung: Markiert rote Dreiecke, wenn der Eröffnungskurs einer Kerze mehr als 5 % unter dem Schlusskurs der vorherigen Kerze liegt.
Prozentanzeige: Zeigt die prozentuale Veränderung direkt neben der Markierung an.
Das Skript ist besonders nützlich, um potenzielle Handelsmöglichkeiten zu identifizieren, die durch signifikante Marktbewegungen ausgelöst werden.