Prometheus Topological Persistent EntropyPersistence Entropy falls under the branch of math topology. Topology is a study of shapes as they twist and contort. It can be useful in the context of markets to determine how volatile they may be and different from the past.
The key idea is to create a persistence diagram from these log return segments. The persistence diagram tracks the "birth" and "death" of price features:
A birth occurs when a new price pattern or feature emerges in the data.
A death occurs when that pattern disappears.
By comparing prices within each segment, the script tracks how long specific price features persist before they die out. The lifetime of each feature (difference between death and birth) represents how robust or fleeting the pattern is. Persistent price features tend to reflect stable trends, while shorter-lived features indicate volatility.
Entropy Calculation: The lifetimes of these patterns are then used to compute the entropy of the system. Entropy, in this case, measures the amount of disorder or randomness in the price movements. The more varied the lifetimes, the higher the entropy, indicating a more volatile market. If the price patterns exhibit longer, more consistent lifetimes, the entropy is lower, signaling a more stable market.
Calculation:
We start by getting log returns for a user defined look back value. In the compute_persistent_entropy function we separate the overall log returns into windows. We then compute persistence diagrams of the windows. It tracks the birth and death of price patterns to see how persistent they are. Then we calculate the entropy of the windows.
After we go through that process we get an array of entropies, we then smooth it by taking the sum of all of them and dividing it by how many we have so the indicator can function better.
// Calculate log returns
log_returns = array.new()
for i = 1 to lgr_lkb
array.push(log_returns, math.log(close / close ))
// Function to compute a simplified persistence diagram
compute_persistence_diagram(segment) =>
n = array.size(segment)
lifetimes = array.new()
for i = 0 to n - 1
for j = i + 1 to n - 1
birth = array.get(segment, i)
death = array.get(segment, j-1)
if birth != death
array.push(lifetimes, math.abs(death - birth))
lifetimes
// Function to compute entropy of a list of values
compute_entropy(values) =>
n = array.size(values)
if n == 0
0.0
else
freq_map = map.new()
total_sum = 0.0
for i = 0 to n - 1
value = array.get(values, i)
//freq_map := freq_map.get(value, 0.0) + 1
map.put(freq_map, value, value + 1)
total_sum += 1
entropy = 0.0
for in freq_map
p = count / total_sum
entropy -= p * math.log(p)
entropy
compute_persistent_entropy(log_returns, window_size) =>
n = (lgr_lkb) - (2 * window_size) + 1
entropies = array.new()
for i = 0 to n - 1
segment1 = array.new()
segment2 = array.new()
for j = 0 to window_size - 1
array.push(segment1, array.get(log_returns, i + j))
array.push(segment2, array.get(log_returns, i + window_size + j))
dgm1 = compute_persistence_diagram(segment1)
dgm2 = compute_persistence_diagram(segment2)
combined_diagram = array.concat(dgm1, dgm2)
entropy = compute_entropy(combined_diagram)
array.push(entropies, entropy)
entropies
//---------------------------------------------
//---------------PE----------------------------
//---------------------------------------------
// Calculate Persistent Entropy
entropies = compute_persistent_entropy(log_returns, window_size)
smooth_pe = array.sum(entropies) / array.size(entropies)
This image illustrates how the indicator works for traders. The purple line is the actual indicator value. The line that changes from green to red is a SMA of the indicator value, we use this to determine bullish or bearish. When the smoothed persistence entropy is above it’s SMA that signals bearishness.
The indicator tends to look prettier on higher time frames, we see NASDAQ:TSLA on a 4 hour here and below we see it on the 5 minute.
On a lower time frame it looks a little weird but still functions the same way.
Prometheus encourages users to use indicators as tools along with their own discretion. No indicator is 100% accurate. We encourage comments about requested features and criticism.
Formacje wykresów
Iceberg Trade Revealer [CHE]Unveiling Iceberg Trades: A Deep Dive into Low Volatility Market Phases
Introduction
In the dynamic world of trading, hidden forces often influence market movements in ways that aren't immediately apparent. One such force is the phenomenon of iceberg trades—large orders that are concealed to prevent significant market impact. This presentation explores the concept of iceberg trades, explains why they are typically hidden during periods of low volatility, and introduces an indicator designed to reveal these elusive trades.
Agenda
1. Understanding Iceberg Trades
- Definition and Purpose
- Impact on Market Dynamics
2. The Low Volatility Concealment
- Why Low Volatility Phases?
- Strategies Behind Hiding Large Orders
3. Introducing the Iceberg Trade Revealer Indicator
- How the Indicator Works
- Key Components and Calculations
4. Demonstration and Use Cases
- Interpreting the Indicator Signals
- Practical Trading Applications
5. Conclusion
- Summarizing the Insights
- Q&A Session
1. Understanding Iceberg Trades
Definition and Purpose
- Iceberg Trades are large single orders divided into smaller lots to disguise the total order quantity.
- Traders use iceberg orders to minimize market impact and avoid unfavorable price movements.
Impact on Market Dynamics
- Concealed Volume: Iceberg orders hide true supply and demand levels.
- Price Stability: They prevent sudden spikes or drops by releasing orders gradually.
- Market Sentiment: Their presence can influence perceptions of market strength or weakness.
2. The Low Volatility Concealment
Why Low Volatility Phases?
- Less Market Attention: Low volatility periods attract fewer traders, making it easier to conceal large orders.
- Reduced Slippage: Prices are more stable, reducing the risk of executing orders at unfavorable prices.
- Strategic Advantage: Large players can accumulate or distribute positions without tipping off the market.
Strategies Behind Hiding Large Orders
- Order Splitting: Breaking down large orders into smaller pieces.
- Time Slicing: Executing orders over an extended period.
- Algorithmic Trading: Using sophisticated algorithms to optimize order execution.
3. Introducing the Iceberg Trade Revealer Indicator
How the Indicator Works
- Core Thesis: Iceberg trades can be detected by analyzing periods of unusually low volatility.
- Volatility Analysis: Uses the Average True Range (ATR) and Bollinger Bands to identify low volatility phases.
- Signal Generation: Marks periods where iceberg trades are likely occurring.
Key Components and Calculations
1. Average True Range (ATR)
- Measures market volatility over a specified period.
- Lower ATR values indicate less price movement.
2. Bollinger Bands
- Creates a volatility envelope around the ATR.
- Bands tighten during low volatility and widen during high volatility.
3. Timeframe Adjustments
- Utilizes multiple timeframes to enhance signal accuracy.
- Options for auto, multiplier, or manual timeframe selection.
4. Signal Conditions
- Iceberg Trade Detection: ATR falls below the lower Bollinger Band.
- Revealed Volatility: ATR rises above the upper Bollinger Band, indicating potential market moves after iceberg trades.
4. Demonstration and Use Cases
Interpreting the Indicator Signals
- Iceberg Trade Zones: Highlighted areas where large hidden orders are likely.
- Revealed Volatility Zones: Areas indicating the market's response to the execution of iceberg trades.
Practical Trading Applications
- Entry and Exit Points: Use signals to time trades alongside institutional activity.
- Risk Management: Adjust strategies during detected low volatility phases.
- Market Analysis: Gain insights into underlying market mechanics.
5. Conclusion
Summarizing the Insights
- Iceberg Trades play a significant role in market movements, especially when concealed during low volatility phases.
- The Iceberg Trade Revealer Indicator provides a tool to uncover these hidden activities, offering traders a strategic edge.
- Understanding and utilizing this indicator can enhance trading decisions by aligning them with the actions of major market players.
Best regards Chervolino ( Volker )
Q&A Session
- Questions and Discussions: Open the floor for any queries or further explanations.
Thank You!
By delving into the hidden aspects of market activity, traders can better navigate the complexities of financial markets. The Iceberg Trade Revealer Indicator serves as a bridge between observable market data and the concealed strategies of large institutions.
References
- Average True Range (ATR): A technical analysis indicator that measures market volatility.
- Bollinger Bands: A volatility indicator that creates a band of three lines which are plotted in relation to a security's price.
- Iceberg Orders: Large orders divided into smaller lots to hide the actual order quantity.
Note: Always consider multiple factors when making trading decisions. Indicators provide tools, but they do not guarantee results.
Educational Content Disclaimer:
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Fibonacci Levels with StatsPrimary Usage:
Drawing Fibonacci Retracements
Based on the past highs and lows, Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) are calculated and displayed on the chart. The Fibonacci levels are different for positive and negative lines, respectively.
Statistical Counting Function
Records the number of times each Fibonacci level is exceeded and tracks how often price reaches that level. This data can be useful for future price forecasting.
Cueing Symbols by Pattern Matching
Symbols are added to the queue when each Fibonacci level is exceeded. Depending on whether the price is positive or negative, different symbols (1, 2, 3, etc.) are assigned, which are used to predict the next move.
Change background color
Based on the number of times the price exceeds the Fibonacci level, the background color will change to green or red. The intensity of the color changes according to the number of consecutive times the price has exceeded the Fibonacci level.
Cue Size Limitations
Past symbols are added to the queue, but a size limit is set and old symbols are deleted when the queue exceeds a certain size.
Prediction Logic
Pattern matching is used to predict the next symbol based on patterns of past symbols.
Pivot-based Swing Highs and LowsRelease Notes for Pivot-based Swing Highs and Lows Indicator with HH, HL, LH, LL and Labels
Version 1.0.0
Release Date: 29th Sept 2024
Overview:
This Pine Script version 5 indicator is designed to identify and display Swing Highs and Swing Lows based on pivot points. The indicator visually marks Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) on the chart. The release introduces an improved visual representation with dotted lines and colored labels for easy identification of market structure, using plotshape() and line.new().
Key Features:
1. Pivot-Based Swing Identification:
The indicator uses ta.pivothigh() and ta.pivotlow() to detect significant pivot points on the chart.
The length of the pivot can be adjusted through the pivot_length parameter, allowing users to customize the sensitivity of swing identification.
2. Swing Highs and Lows with Labels:
Higher High (HH) and Lower High (LH) points are marked with green downward triangles.
Higher Low (HL) and Lower Low (LL) points are marked with red upward triangles.
The plotshape() function is used to provide clear visual markers, making it easy to spot the changes in market structure.
3. Dotted Line Visuals:
Green Dotted Lines: Connect Higher Highs (HH) and Higher Lows (HL) to their corresponding previous swings.
Red Dotted Lines: Connect Lower Highs (LH) and Lower Lows (LL) to their corresponding previous swings.
The use of color-coded dotted lines ensures better visual understanding of the trend continuation or reversal patterns.
4. Customizable Input:
The user can adjust the pivot_length parameter to fine-tune the detection of pivot highs and lows according to different timeframes or trading strategies.
Usage:
Higher High (HH): Green downward triangle, indicating a new high compared to the previous pivot high.
Lower High (LH): Green downward triangle, indicating a lower high compared to the previous pivot high.
Higher Low (HL): Red upward triangle, indicating a higher low compared to the previous pivot low.
Lower Low (LL): Red upward triangle, indicating a new lower low compared to the previous pivot low.
Dotted Lines: Connect previous swing points, helping users visualize the trend and potential market structure changes.
Improvements:
Label Substitution: In place of label.new() (which might cause issues in some environments), the indicator now uses plotshape() to provide a reliable and visually effective solution for marking swings.
Streamlined Performance: The logic for determining higher highs, lower highs, higher lows, and lower lows has been optimized for smooth performance across multiple timeframes.
Known Limitations:
No Direct Text Labels: Due to the constraints of plotshape(), text labels like "HH", "LH", "HL", and "LL" are not directly displayed. Instead, color-coded shapes are used for easy identification.
How to Use:
Apply the script to your chart via the TradingView Pine Editor.
Customize the pivot_length to suit your trading style or the timeframe you are analyzing.
Monitor the chart for marked Higher Highs, Lower Highs, Higher Lows, and Lower Lows for potential trend continuation or reversal opportunities.
Use the dotted lines to trace the evolution of market structure.
Please share your comments, thoughts. Also please follow me for more scripts in future. Mean time Happy Trading :)
Volume candle by MoondIndicator Description: Equal Volume Candle Chart
This indicator creates a real-time candlestick chart where each candle forms upon the completion of a specific volume threshold, rather than within fixed time intervals. The candles update dynamically based on the total volume traded, providing a unique perspective that incorporates market activity directly into price movements.
Key Features:
Dynamic Candles Based on Volume: Candles form when a defined lot size of volume is reached, making each candle represent consistent trading activity rather than a fixed time period.
Customizable Volume Lot Size: Users can easily adjust the volume threshold to suit different trading styles or asset classes.
Real-Time Market Reflection: The chart responds to changes in market volume, offering a clearer view of market intensity and momentum.
Concept Behind the Indicator: Traditional candlestick charts operate on time intervals, which can ignore the influence of volume in price changes. By basing the candle formation on equal volumes, this indicator integrates both price and traded volume into the visual representation, helping traders capture key shifts in market sentiment and activity that might be missed on time-based charts
New York Midnight Indicator█ OVERVIEW
This script provides a visual tool for traders to track the New York Midnight (NY Midnight), a significant time marker for those who rely on New York’s financial markets. The script calculates the exact moment of midnight in New York and places a vertical line on the chart at this time, helping traders identify when a new trading day begins according to the New York time zone. The indicator also marks the midnight point with a lime-colored downward triangle to enhance visibility on the chart. It is specifically useful for traders who want to synchronize their strategies with New York’s trading hours, especially in global markets.
The script is flexible, allowing traders to adjust the UTC offset to accommodate different time zones. This is critical for those trading in different regions but still using New York as the main time reference.
█ CONCEPTS
New York Midnight: For many traders, especially those following the Forex and US stock markets, midnight in New York signifies the start of a new trading day. This point is essential for technical analysis as it often aligns with daily opening ranges, trend shifts, and volume spikes.
UTC Offset: The script includes a user-input parameter (utcOffset) to adjust the calculated time for New York midnight, ensuring that it accounts for time zone differences. This allows it to be used effectively regardless of the user’s local time zone, offering flexibility to global traders.
█ METHODOLOGY
UTC Offset Adjustment: The script starts by asking the trader to input their UTC offset (e.g., UTC -5 for New York without daylight saving time). This offset is added to the current chart time to align it with New York’s local time.
Current Hour Calculation: Once the UTC offset is applied, the script calculates the New York Hour by taking the chart’s current hour and adjusting it with the offset. This ensures that the displayed hour matches New York’s local time, regardless of the trader's location.
Vertical Line at Midnight: When the current New York hour equals 00:00 (midnight), the script plots a black vertical line on the chart. This line serves as a visual reference for the exact moment when New York's trading day begins, allowing traders to align their strategies accordingly.
Downward Triangle Plot: In addition to the vertical line, the script also adds a lime-colored downward triangle at the same bar location to further highlight the midnight point. This is useful for traders who prefer shape markers to visualize significant time events.
█ HOW TO USE
Identifying Daily Resets: The script makes it easy for traders to track when New York’s trading day resets. This is especially useful in Forex markets, where daily cycles and time zone-based volatility play an important role in price movement and volume spikes.
Time Zone Flexibility: By adjusting the UTC offset parameter, traders across the globe can synchronize their charts with New York time. This is critical for international traders who want to execute trades based on New York market patterns but reside in different time zones.
Strategic Time Marking: The vertical line and shape markers at midnight allow traders to quickly see when a new trading day starts, helping them identify patterns like the daily range, key support/resistance levels, or even potential reversals around this time.
Session-Based Analysis: Traders who work with session-based strategies (e.g., trading the Asian, European, or US sessions) can use this marker to better time their entries or exits relative to the start of the New York session.
█ METHOD VARIANTS
This script can be modified or extended in various ways to better suit specific trading strategies:
Highlighting Other Session Starts: It could be adapted to plot lines for other key session starts (e.g., London open, Tokyo open).
Multiple Time Zones: For traders who monitor several markets, the script could be extended to display midnight markers for multiple time zones.
Custom Line Styles: Users could modify the line color, thickness, or style to better match their chart aesthetic or preferences.
Flat Market Range Pro [CHE]Flat Market Range Pro Indicator
Introduction
Hey there! 👋
Welcome to our overview of the Flat Market Range Pro indicator. Whether you're new to trading or a seasoned pro, this tool is designed to help you spot those flat market conditions where prices are chilling within a certain range. By highlighting these consolidation zones and potential breakout points, it offers some pretty neat insights to boost your trading strategies. Let’s dive in and explore how this indicator can make your trading journey smoother and more informed!
How It Works
The Flat Market Range Pro indicator is all about understanding the ebb and flow of the market. Here's a simple breakdown:
Range Detection:
Range Period (range_period): This sets the number of bars (think of them as time slices) the indicator looks back to find the highest highs and lowest lows. It’s like setting the scope for your search.
Minimum Candles in Range (min_candles_in_range): Ensures that there are enough candles (price bars) within the range to make the detection meaningful. No point in highlighting a range if it’s too short, right?
Adaptive Moving Average (AMA):
Think of AMA as the indicator’s way of staying flexible. It smooths out the price data to better spot trends within those flat ranges. Don’t worry, it’s working behind the scenes and won’t clutter your chart.
Breakout Detection:
When the price decides to break free from its cozy range, the indicator flags it. It waits for confirmation to make sure it’s not just a fleeting move, adding a layer of reliability to your signals.
Visualization:
Flat Market Zones: These are shaded areas that highlight where the price has been consolidating.
Support and Resistance Lines: Automatically drawn lines that mark key price levels, helping you see where the price might bounce or break through.
Trade Signals: Arrows popping up to show potential buy or sell opportunities when breakouts occur.
Breaking It Down
1. Detecting the Range
The indicator scans through the past range_period bars to find the highest and lowest prices. This creates a dynamic range that adjusts as new data comes in. It’s like having a smart assistant keeping an eye on where the action is happening.
2. The Role of AMA
Even though you won’t see AMA on your chart, it plays a crucial role. It helps the indicator adapt to changing market conditions by smoothing out the data, making sure the breakout signals are spot-on and not just random noise.
3. Spotting Breakouts
A breakout happens when the price moves beyond the established range. The indicator marks these moments with clear arrows, so you know when it might be a good time to jump in or out of a trade. Plus, it waits for confirmation to ensure these signals are solid.
4. Visualizing Flat Markets
Shaded boxes highlight the areas where the price has been consolidating, making it easy to see when the market is flat. Support and resistance lines are drawn automatically, and you can even customize how they look to match your personal style.
Customize It Your Way
One of the best things about the Flat Market Range Pro indicator is how customizable it is. Here’s what you can tweak:
Range Settings:
Adjust the range_period to fit different timeframes.
Set the min_candles_in_range to ensure the ranges you see are meaningful.
Moving Average Settings:
Change the ma_length and ma_lookback to fine-tune how the AMA responds to price movements.
Visual Tweaks:
Pick your favorite colors and transparency levels for the shaded zones.
Choose whether to display support and resistance lines and extend them indefinitely if you like.
Toggle trade arrows and labels on or off based on what you find most helpful.
Organizing these settings into logical groups makes it super easy to customize the indicator just the way you like it.
Real-World Examples
1. Spotting Consolidation: Imagine you’re watching a stock that’s been moving sideways for a while. The indicator highlights this consolidation with shaded boxes and support/resistance lines, giving you a clear picture of where the price is hanging out.
2. Trading Breakouts: When the price finally decides to break free from the range, the indicator pops up buy or sell arrows. This helps you catch the move early, whether you’re looking to enter a new trade or exit an existing one.
3. Making Informed Decisions: With clear visual cues and reliable signals, you can make smarter trading decisions without getting overwhelmed by too much information.
Behind the Scenes: Technical Insights
For those curious about the nuts and bolts, here’s a peek into how the Flat Market Range Pro indicator is built:
Efficient Range Calculation:
Uses loops to scan through the specified range_period, ensuring accurate detection of high and low points.
Adaptive Logic with AMA:
Incorporates the Simple Moving Average (SMA) to create a threshold coefficient, making the indicator responsive to market changes.
Clear Visualization:
Utilizes box.new and label.new for intuitive visual representations of flat markets.
Employs plotshape and plot to display breakout signals clearly on your chart.
Optimized Performance:
Avoids plotting unnecessary elements like AMA, keeping your chart clean and focused on what matters.
Why You’ll Love It
The Flat Market Range Pro indicator brings a lot to the table:
Accurate Range Detection:
Pinpoints consolidation zones by analyzing historical highs and lows.
Flexible and Adaptive:
AMA ensures the indicator stays responsive to different market conditions.
User-Friendly Visuals:
Shaded zones, support/resistance lines, and clear trade signals make your chart easy to understand at a glance.
Highly Customizable:
Tailor the settings to match your trading style and preferences.
Reliable Signals:
Confirmation mechanisms help reduce false signals, giving you more confidence in your trades.
Wrapping It Up
The Flat Market Range Pro indicator is a fantastic tool for anyone looking to navigate flat or consolidating markets with ease. By combining precise range detection, adaptive logic, and clear visual cues, it helps you identify consolidation phases and seize breakout opportunities effectively. Its customizable features ensure that it fits seamlessly into your trading strategy, whether you’re just starting out or have years of experience under your belt.
For more details, a step-by-step guide on using the indicator, and access to the full Pine Script code, check out the accompanying documentation or reach out for support. Happy trading! 🌟
Questions and Further Information
Got questions or need a hand with the Flat Market Range Pro indicator? Feel free to reach out! Whether you’re curious about how it works or need tips on customizing it for your trading style, we’re here to help. Also, give the indicator a try on different charts to see how it performs in various market conditions. Let’s make your trading experience better together!
Best regards
Chervolino
This script was inspired by: Trend Regularity Adaptive Moving Average
and
Range Detection by HasanRifat
3-Bar (Outside Bar) Scanner with Table Display# 3-Bar (Outside Bar) Scanner with Table Display
## Overview
The **3-Bar (Outside Bar) Scanner with Table Display** is a custom TradingView indicator designed for traders who utilize **The Strat** methodology. This indicator scans for **3-bar (Outside Bar)** patterns across multiple symbols and displays the results in a convenient table format directly on your chart.
## Purpose
- **Efficient Multi-Symbol Scanning**: Monitor up to four symbols simultaneously for 3-bar patterns without the need to switch between charts.
- **Real-Time Updates**: The table dynamically updates with new price data, providing immediate insights into potential trading opportunities.
- **Visual Clarity**: Displays whether a 3-bar is bullish ("3 Up") or bearish ("3 Down"), helping you quickly interpret market sentiment.
## How It Works
- **Data Retrieval**: The indicator uses `request.security()` to fetch high, low, open, and close prices for the specified symbols and timeframe.
- **3-Bar Detection**:
- **Outside Bar Criteria**: Checks if the current candle's high is higher than the previous candle's high and the current low is lower than the previous low.
- **Direction Determination**:
- **"3 Up"**: If the candle closes higher than it opens (bullish candle).
- **"3 Down"**: If the candle closes lower than it opens (bearish candle).
- **Table Display**:
- The table shows the **Symbol**, **Timeframe**, and **State** ("3 Up", "3 Down", or blank if no pattern detected).
- Customizable colors and positioning to fit your chart's aesthetics.
## Best Use Cases
- **Rapid Market Analysis**: Ideal for traders needing a quick overview of multiple assets for potential 3-bar setups.
- **Strategic Decision-Making**: Helps identify key reversal or continuation patterns in alignment with **The Strat** principles.
- **Scalable Monitoring**: By utilizing TradingView's multi-chart layouts, you can expand monitoring beyond four symbols.
## Instructions for Use
### Adding the Indicator to Your Chart
1. **Copy the Code**: Use the provided Pine Script code for the indicator.
2. **Create a New Indicator**:
- In TradingView, click on **Pine Editor** at the bottom of the platform.
- Paste the code into the editor.
3. **Save and Add to Chart**:
- Click **Save** and give your indicator a name.
- Click **Add to Chart** to apply it.
### Customizing the Inputs
- **Symbols**:
- **Symbol 1**: Leave blank to use the current chart's symbol or enter a specific symbol (e.g., `AAPL`).
- **Symbol 2 to Symbol 4**: Enter additional symbols or leave them blank.
- **Timeframe**: Select your desired timeframe (e.g., `D` for Daily, `60` for 60-minute).
- **Table Colors**:
- Customize header and data colors for better visibility against your chart background.
### Interpreting the Table
- **Symbol**: Displays the symbol without the exchange prefix for clarity.
- **Timeframe**: Shows the timeframe applied to the analysis.
- **State**:
- **"3 Up"**: A bullish outside bar where the candle closed higher than it opened.
- **"3 Down"**: A bearish outside bar where the candle closed lower than it opened.
- **Blank**: No 3-bar pattern detected on the latest candle.
### Monitoring More Than Four Symbols
- **Multi-Chart Layout**:
- Use TradingView's multi-chart feature to display multiple charts within a single workspace.
- Apply the indicator to each chart. For example:
- **Four-Chart Grid**: Monitor up to 16 symbols by setting up four charts, each with the indicator tracking four symbols.
- **Steps**:
1. Arrange your workspace into a multi-chart layout.
2. Add the indicator to each chart.
3. Input different symbols into the indicator on each chart.
## Example Usage
Suppose you want to monitor the following symbols on a Daily timeframe:
- **Symbol 1**: *(Leave blank to use the current chart's symbol, e.g., `SPY`)*
- **Symbol 2**: `AAPL`
- **Symbol 3**: `TSLA`
- **Symbol 4**: `AMZN`
After adding the indicator and entering these symbols:
- **SPY**: The table shows "3 Up" in the State column, indicating a bullish outside bar.
- **AAPL**: No 3-bar pattern detected; the State column is blank.
- **TSLA**: The table shows "3 Down," indicating a bearish outside bar.
- **AMZN**: The table shows "3 Up," indicating another bullish outside bar.
This setup allows you to quickly assess which symbols are exhibiting significant patterns that may warrant further analysis or action.
## Notes
- **Customization**: Feel free to adjust the table's position and colors to suit your preferences.
- **Limitations**:
- Be aware of TradingView's limitations on `request.security()` calls, which may vary based on your subscription plan.
- The indicator is designed to monitor up to four symbols per instance due to these limitations.
- **Scalability**:
- By using multi-chart layouts, you can effectively monitor more symbols without overloading a single chart.
- This approach allows you to scale up your monitoring capabilities to fit your trading strategy.
## Conclusion
The **3-Bar (Outside Bar) Scanner with Table Display** is a valuable tool for traders who utilize **The Strat** methodology. It streamlines the process of identifying key 3-bar patterns across multiple symbols and timeframes, enhancing your ability to make informed trading decisions quickly.
By integrating this indicator into your trading routine, you can:
- Stay alert to significant market movements.
- Reduce the time spent manually scanning charts.
- Increase efficiency in executing your trading strategy.
---
Feel free to share this indicator with the Strat community. Feedback and suggestions are welcome to further enhance its functionality. Happy trading!
Aurous - Horizontal Rays Define Pip Size:
Since 1 pip for XAUUSD is usually considered as 0.1, the pip Size is set to 0.1. A 50-pip interval is therefore 50 * 0.1 = 5.0.
Nearest Pip Level Calculation:
We find the nearest 50-pip level based on the current price of XAUUSD. The formula nearestPipLevel = round(close / pipInterval) * pipInterval rounds the current price to the nearest multiple of the 50-pip interval.
Loop for Multiple Lines:
We use a loop that runs from -20 to 20 to plot horizontal ray lines 50 pips above and below the current price. The range (-20 to 20) ensures there are enough lines plotted both above and below the price.
Horizontal Ray Lines:
The line.new function is used to draw the horizontal rays, extending to the right.
Plot Current Price:
We also plot the closing price with a blue line to make it easier to track the price against the horizontal rays.
EV Calculator [CHE]EV Calculator with Adjustable Boxes and Custom Colors for TradingView
Introduction:
As a trader, one of the key metrics you need to evaluate is the Expected Value (EV) of your trading strategy. Understanding EV helps you gauge whether your trades will be profitable in the long run. This TradingView script allows you to visualize your EV alongside customizable win rates and risk-to-reward ratios. With adjustable visual components, you can quickly determine whether your trading strategy has a positive or negative EV, and make informed decisions.
Features of the Script:
1. Customizable Inputs:
- Win Rate: Set your win probability (0.0 to 1.0), which represents how often your strategy is successful.
- Risk and Reward: Define how much you're risking and the potential reward for each trade.
2. Visual Representation:
- The script creates colored boxes representing different EV scenarios:
- Green Box: Indicates a good EV (>2), suggesting a highly profitable strategy.
- Yellow Box: Represents a neutral EV (between 0 and 2), where the strategy could work but is not optimal.
- Red Box: Shows a negative EV (<0), signaling that the strategy may lead to losses.
3. Adjustable Box Size:
- You can modify the width and height of the boxes to fit your chart display preferences, giving you better visual clarity based on your screen or chart style.
4. Dynamic Labels:
- Each bar in the chart includes dynamic labels showing:
- Win Rate: Displays the percentage chance of success.
- EV Value: Shows the calculated expected value based on the win rate and risk-reward ratio.
- Guide: Explains what each colored box means so that you can easily interpret the chart.
5. Scalability and Flexibility:
- The script only keeps a maximum of 20 recent entries, ensuring that your chart stays clean and organized.
- Both the number of labels and boxes adjust automatically to match your preferred settings, enhancing usability.
How the EV Calculation Works:
The formula for EV is based on a standard risk-to-reward model:
EV = (Win\ Rate \times Reward) - (Loss\ Probability \times Risk)
For example:
- If your win rate is 60% and your risk-to-reward ratio is 1:3, the script will calculate whether this strategy is expected to yield positive returns or result in long-term losses.
Example Use Case:
Let's say you are trading with a 60% win rate, risking 1 unit to gain 3 units. The script calculates that your EV is positive and represents this with a Green Box, showing you that your strategy has a high likelihood of being profitable. If your strategy slips and the win rate drops, the EV calculation will adjust, and you may see Yellow or Red Boxes, signaling a need for adjustment.
Final Thoughts:
This script is designed for traders who want to take their analysis beyond the basics. By providing real-time visualization of your EV, you can better assess whether your strategy is sound and make adjustments as needed.
How to Use:
- Adjust the input parameters for Win Rate, Risk, and Reward to match your trading strategy.
- Observe the colored boxes and labels to quickly understand if your current strategy is in a healthy EV zone.
- Use this visual feedback to refine your approach and stay on track towards profitability.
This tool simplifies the complex calculations behind EV and turns it into an intuitive and powerful decision-making aid for traders.
Now you're ready to integrate the EV Calculator with Adjustable Boxes and Custom Colors into your trading routine and start optimizing your strategies for long-term success!
Happy Trading and best regards Chervolino
Volume Surge Momentum Detector [CHE]Volume Surge Momentum Detector – Discover explosive price movements fueled by sudden volume spikes.
Volume Surge Momentum Detector – Capture Key Inflection Points Using Volume Dynamics
Description:
This indicator helps traders identify highprobability entries by focusing on volume dynamics. Significant price movements often occur when interest in a stock rises, and this is reflected in volume spikes. The Volume Analysis Indicator is designed to detect key inflection points such as breakouts and capitulations by analyzing the relationship between volume and price. It enables traders to avoid false breakouts, identify trend exhaustion, and make informed trading decisions.
Key Features:
VolumeBased Inflection Points: The indicator tracks the volume levels to detect when there is significant interest in a stock. High volume signals increased market participation, often preceding large price moves.
Breakout Detection: It identifies breakouts by detecting price moves beyond a key level (the highest price over a certain period) along with a volume spike, indicating strong momentum.
Capitulation Detection: Capitulation is detected when a strong trend weakens and reverses with increased volume, signaling potential trend exhaustion.
Volume Thresholds: By using statistical measures, the indicator identifies unusually high or low volume based on the average volume and standard deviations, helping traders to spot major turning points in the market.
This tool simplifies volume bar analysis by automatically highlighting significant volume events, which often indicate large upcoming price movements.
Detailed Breakdown:
1. Volume as a Catalyst for Price Movements:
Volume is essential for price action. Without sufficient volume, price moves may not be sustained. This indicator highlights moments of increased market interest by tracking significant volume increases, helping traders stay ahead of major price movements.
2. Breakouts and Capitulation Detection:
Breakout: Detected when the volume exceeds an upper threshold (based on two standard deviations above the average volume) and the price breaks above the highest close of the previous period. These moments are marked with green labels on the chart.
Capitulation: Detected when volume increases significantly but the trend cannot sustain itself, and the price reverses below the lowest close of the previous period. These moments are marked with red labels on the chart, indicating potential trend exhaustion.
3. Sentiment and Market Dynamics:
Market sentiment can lead to price inflections when one side of the market becomes overbought or exhausted. Volume spikes in either direction provide clues as to whether a trend will continue or reverse. This indicator helps identify these critical points by monitoring volume patterns.
4. Visual Representation:
Green Bars: High volume indicating strong market interest or momentum.
Red Bars: Low volume, signaling potential lack of interest or exhaustion.
Gray Bars: Normal volume, helping to distinguish significant market events from regular activity.
Breakout and Capitulation Labels: Green labels for breakouts and red labels for capitulation points are shown directly on the chart for easy reference.
5. Alerts for Key Signals:
Breakout Alert: Notifies traders when a breakout occurs with strong volume, indicating a potential for significant price movement.
Capitulation Alert: Alerts traders when a capitulation occurs, suggesting a trend reversal.
High and Low Volume Alerts: Receive notifications when the volume exceeds the upper or lower thresholds, highlighting key moments of market interest or disinterest.
Why This Indicator Matters:
Traders often miss significant price moves or enter too late. This indicator helps traders by identifying highprobability entry points before the stock makes major moves. By focusing on volume spikes, the indicator provides insight into market sentiment and allows traders to act quickly.
How It Works:
1. Calculate Volume Significance: The indicator calculates the average volume over a userdefined period (`length`) and identifies significant deviations using standard deviations.
2. Mark Key Levels: Breakouts are detected when price moves above recent highs with significant volume, while capitulation is flagged when trends show exhaustion with a volume spike and price reversal.
3. Receive Alerts: Traders can set up alerts for key events like breakouts, capitulations, and significant volume changes to stay informed in realtime.
Perfect For:
Active traders looking to spot early market movements driven by volume changes.
Traders who want to avoid false breakouts by confirming price moves with volume spikes.
Swing traders identifying capitulation points to reduce exposure or enter positions on trend reversals.
How to Use:
Customize the "Average Period" to determine how many bars are used to calculate the average volume.
Adjust the "Multiplier for Standard Deviation" to finetune the sensitivity of high and low volume detection.
Enable alerts to receive realtime notifications for breakouts, capitulations, or volume spikes.
Conclusion:
Volume analysis is essential to understanding stock movements. This indicator simplifies the process of identifying breakouts and capitulation points by using volume dynamics. Whether you are a beginner looking for powerful tools or an experienced trader refining your strategy, this indicator offers valuable insights into market behavior driven by volume.
Additional Insights:
1. Statistical Significance: The use of standard deviations to identify high and low volume gives the indicator a statistical basis, helping to reduce noise and false signals.
2. Flexible Alerts: Traders can set up custom alerts based on their trading preferences, whether they focus on volume changes or price breakouts and reversals.
This detailed description now includes all the important aspects of the script without referencing any external sources, focusing solely on the functionality and trading strategy the script provides.
Best regards
Chervolino
Custom Pattern DetectionOverview
Chart Patterns is a major tool for many traders. Pattern formation at specific location on the chart is used for investment/trading decisions.
This indicator is designed in a way to allow investors/traders to define patterns of their choice based on certain input parameters and then detect defined pattern on the chart.
Investors/traders can use their own creativity to create and detect patterns.
This indicator works in 2 modes
Create Pattern: One can define a pattern and verify sample pattern formation visually
Detect Pattern: Detect and mark patterns on the chart
Settings
Create Custom Pattern:
Show Custom Pattern – This will mark the pattern lines on the chart so that one can verify how pattern appears based on the input’s parameters provided for lines XA, AB, BC, CD, DE, EF
Offset – Used while pattern creation. Offset is horizonal distance between 2 lines.
XA Points – Used to draw XA line when sample pattern is drawn. XA points can be a negative or position number.
XA line is drawn based on Offset and XA Points. E.g. Offset = 5 and XA Points = -20. In this line would be drawn from last candle high to high – 20 (these are y1 and y2 points of a line). While drawing line distance of 5 candles would be placed between 2 line points (these are x1 and x2 points of a line). In XA line X forms start point and A forms end point of the line.
Line AB – Line AB is drawn from point X. To derive the end point of AB, average Fib% is derived based on From Fib% and To Fib% parameters. Finally end point is derived by applying Fib Retracement on Line XA based on average Fib%.
Line AB to Line EF – These points are derived as explained in Line AB.
The indicator can be used to define/create patterns up to 6 legs/lines. The line would be named as XA -> AB -> BC -> CD -> DE -> EF.
If one wish to create pattern consisting 3 legs then it can be achieved by unchecking/deselecting Line CD, DE and EF or by checking only Line AB and BC.
Based on the parameters above indicator draws a sample pattern after last candle/bar on the chart. Sample pattern helps to visually see how pattern will appear on the chart.
Pattern Identification
Indicator derive the swing high/low points based on the Pivot lookback and use as reference points while detecting patterns.
Use of From Fib% and To Fib% - While detecting pattern, retracement price points are derived for From Fib% and To Fib%. Price points between from Fib% and To Fib% are treated as valid retracement points.
How to configure and use indicator for detecting patterns
Sample Pattern 1
Sample Pattern 2
Sample Pattern 3
Sample Pattern 4
Pivot Points LIVE [CHE]Title:
Pivot Points LIVE Indicator
Subtitle:
Advanced Pivot Point Analysis for Real-Time Trading
Presented by:
Chervolino
Date:
September 24, 2024
Introduction
What are Pivot Points?
Definition:
Pivot Points are technical analysis indicators used to determine potential support and resistance levels in financial markets.
Purpose:
They help traders identify possible price reversal points and make informed trading decisions.
Overview of Pivot Points LIVE :
A comprehensive indicator designed for real-time pivot point analysis.
Offers advanced features for enhanced trading strategies.
Key Features
Pivot Points LIVE Includes:
Dynamic Pivot Highs and Lows:
Automatically detects and plots pivot high (HH, LH) and pivot low (HL, LL) points.
Customizable Visualization:
Multiple options to display markers, price labels, and support/resistance levels.
Fractal Breakouts:
Identifies and marks breakout and breakdown events with symbols.
Line Connection Modes:
Choose between "All Separate" or "Sequential" modes for connecting pivot points.
Pivot Extension Lines:
Extends lines from the latest pivot point to the current bar for trend analysis.
Alerts:
Configurable alerts for breakout and breakdown events.
Inputs and Configuration
Grouping Inputs for Easy Customization:
Source / Length Left / Length Right:
Pivot High Source: High price by default.
Pivot Low Source: Low price by default.
Left and Right Lengths: Define the number of bars to the left and right for pivot detection.
Colors: Customizable colors for pivot high and low markers.
Options:
Display Settings:
Show HH, LL, LH, HL markers and price labels.
Display support/resistance level extensions.
Option to show levels as a fractal chaos channel.
Enable fractal breakout/down symbols.
Line Connection Mode:
Choose between "All Separate" or "Sequential" for connecting lines.
Line Management:
Set maximum number of lines to display.
Customize line colors, widths, and styles.
Pivot Extension Line:
Visibility: Toggle the display of the last pivot extension line.
Customization: Colors, styles, and width for extension lines.
How It Works - Calculating Pivot Points
Pivot High and Pivot Low Detection:
Pivot High (PH):
Identified when a high price is higher than a specified number of bars to its left and right.
Pivot Low (PL):
Identified when a low price is lower than a specified number of bars to its left and right.
Higher Highs, Lower Highs, Higher Lows, Lower Lows:
Higher High (HH): Current PH is higher than the previous PH.
Lower High (LH): Current PH is lower than the previous PH.
Higher Low (HL): Current PL is higher than the previous PL.
Lower Low (LL): Current PL is lower than the previous PL.
Visual Elements
Markers and Labels:
Shapes:
HH and LH: Downward triangles above the bar.
HL and LL: Upward triangles below the bar.
Labels:
Optionally display the price levels of HH, LH, HL, and LL on the chart.
Support and Resistance Levels:
Extensions:
Lines extending from pivot points to indicate potential support and resistance zones.
Chaos Channels:
Display levels as a fractal chaos channel for enhanced trend analysis.
Fractal Breakout Symbols:
Buy Signals: Upward triangles below the bar.
Sell Signals: Downward triangles above the bar.
Slide 7: Line Connection Modes
All Separate Mode:
Description:
Connects pivot highs with pivot highs and pivot lows with pivot lows separately.
Use Case:
Ideal for traders who want to analyze highs and lows independently.
Sequential Mode:
Description:
Connects all pivot points in the order they occur, regardless of being high or low.
Use Case:
Suitable for identifying overall trend direction and momentum.
Pivot Extension Lines
Purpose:
Trend Continuation:
Visualize the continuation of the latest pivot point's price level.
Customization:
Colors:
Differentiate between bullish and bearish extensions.
Styles:
Solid, dashed, or dotted lines based on user preference.
Width:
Adjustable line thickness for better visibility.
Dynamic Updates:
The extension line updates in real-time as new bars form, providing ongoing trend insights.
Alerts and Notifications
Configurable Alerts:
Fractal Break Arrow:
Triggered when a breakout or breakdown occurs.
Long and Short Signals:
Specific alerts for bullish breakouts (Long) and bearish breakdowns (Short).
Benefits:
Timely Notifications:
Stay informed of critical market movements without constant monitoring.
Automated Trading Strategies:
Integrate with trading bots or automated systems for executing trades based on alerts.
Customization and Optimization
User-Friendly Inputs:
Adjustable Parameters:
Tailor pivot detection sensitivity with left and right lengths.
Color and Style Settings:
Match the indicator aesthetics to personal or platform preferences.
Line Management:
Maximum Lines Displayed:
Prevent chart clutter by limiting the number of lines.
Dynamic Line Handling:
Automatically manage and delete old lines to maintain chart clarity.
Flexibility:
Adapt to Different Markets:
Suitable for various financial instruments including stocks, forex, and cryptocurrencies.
Scalability:
Efficiently handles up to 500 labels and 100 lines for comprehensive analysis.
Practical Use Cases
Identifying Key Support and Resistance:
Entry and Exit Points:
Use pivot levels to determine optimal trade entry and exit points.
Trend Confirmation:
Validate market trends through the connection of pivot points.
Breakout and Breakdown Strategies:
Trading Breakouts:
Enter long positions when price breaks above pivot highs.
Trading Breakdowns:
Enter short positions when price breaks below pivot lows.
Risk Management:
Setting Stop-Loss and Take-Profit Levels:
Utilize pivot levels to place strategic stop-loss and take-profit orders.
Slide 12: Benefits for Traders
Real-Time Analysis:
Provides up-to-date pivot points for timely decision-making.
Enhanced Visualization:
Clear markers and lines improve chart readability and analysis efficiency.
Customizable and Flexible:
Adapt the indicator to fit various trading styles and strategies.
Automated Alerts:
Stay ahead with instant notifications on key market events.
Comprehensive Toolset:
Combines pivot points with fractal analysis for deeper market insights.
Conclusion
Pivot Points LIVE is a robust and versatile indicator designed to enhance your trading strategy through real-time pivot point analysis. With its advanced features, customizable settings, and automated alerts, it equips traders with the tools needed to identify key market levels, execute timely trades, and manage risks effectively.
Ready to Elevate Your Trading?
Explore Pivot Points LIVE and integrate it into your trading toolkit today!
Q&A
Questions?
Feel free to ask any questions or request further demonstrations of the Pivot Points LIVE indicator.
Simultaneous INSIDE Bar Break IndicatorSimultaneous Inside Bar Break Indicator (SIBBI) for The Strat Community
Overview:
The Simultaneous Inside Bar Break Indicator (SIBBI) is designed to help traders using The Strat methodology identify one of the most powerful breakout patterns: the Simultaneous Inside Bar Break across multiple symbols. This indicator detects when all four user-selected symbols form inside bars on the previous candle and then break those inside bars in the same direction (either bullish or bearish) on the current candle.
Inside bars represent consolidation periods where price action does not break the high or low of the previous candle. When a simultaneous break occurs across multiple symbols, this often signals a strong move in the market, making this a key actionable signal in The Strat trading strategy.
Key Features:
Multi-Symbol Analysis: You can track up to four different symbols simultaneously. By default, the indicator comes with SPY, QQQ, IWM, and DIA, but you can modify these to track any other assets or symbols.
Inside Bar Detection: The indicator checks whether all four symbols have inside bars on the previous candle. It only triggers when all symbols meet this condition, making it a highly specific and reliable signal.
Simultaneous Break Detection: Once all symbols have inside bars, the indicator waits for a breakout in the same direction across all four symbols. A simultaneous bullish break (prices breaking above the previous candle’s high) triggers a green label, while a simultaneous bearish break (prices breaking below the previous candle’s low) triggers a red label.
Dynamic Label Timeframe: The indicator dynamically adjusts the timeframe in the label based on the user’s selected timeframe. This allows traders to know precisely which timeframe the break is occurring on. If the user selects "Chart Timeframe," the indicator will evolve with the current chart's timeframe, making it more versatile.
Timeframe Flexibility: The indicator can be set to analyze any timeframe—15-minute, 30-minute, 60-minute, daily, weekly, and so on. It only works for the specific timeframe you set it to in the settings. If set to "Chart Timeframe," the label will adapt dynamically based on the timeframe you are currently viewing.
Customizable Labels: The user can choose the size of the labels (tiny, small, or normal), ensuring that the visual output is tailored to individual preferences and chart layouts.
Best Use Case:
The Simultaneous Inside Bar Break Indicator is particularly powerful when applied to multiple timeframes. Here’s how to use it for maximum impact:
Multi-Timeframe Setup: Set the indicator on various timeframes (e.g., 15-minute, 30-minute, 60-minute, and daily) across multiple charts. This allows you to monitor different timeframes and identify when lower timeframe breaks trigger potential moves on higher timeframes.
Anticipating Strong Moves: When a simultaneous inside bar break occurs on one timeframe (e.g., 30-minute), keep an eye on the higher timeframes (e.g., 60-minute or daily) to see if those timeframes also break. This stacking of inside bar breaks can signal powerful market moves.
Higher Conviction Signals: The indicator is designed to provide high-conviction signals. Since it requires all four symbols to break in the same direction simultaneously, it reduces false signals and focuses on higher probability setups, which is crucial for traders using The Strat to time their trades effectively.
How the Indicator Works:
Inside Bar Formation: The indicator first checks that all four selected symbols had inside bars in the previous bar (i.e., the current high and low are contained within the previous bar’s high and low).
Simultaneous Break Detection: After detecting inside bars, the indicator checks if all four symbols break out in the same direction—bullish (breaking above the previous bar’s high) or bearish (breaking below the previous bar’s low).
Label Display: When a simultaneous inside bar break occurs, a label is plotted on the chart—either green for a bullish break (below the candle) or red for a bearish break (above the candle). The label will display the timeframe you set in the settings (e.g., "IBSB 60" for a 60-minute break).
Chart Timeframe Option: If you prefer, you can set the indicator to evolve with the chart’s current timeframe. In this mode, the label will not show a specific timeframe but will still display the simultaneous inside bar break when it occurs.
Recommendations for Usage:
Focus on Multiple Timeframes: The Strat methodology is all about understanding the relationship between different timeframes. Use this indicator on multiple timeframes to get a better picture of potential moves.
Pair with Other Strat Techniques: This indicator is most powerful when combined with other Strat tools, such as broadening formations, timeframe continuity, and actionable signals (e.g., 2-2 reversals). The simultaneous inside bar break can help confirm or invalidate other signals.
Customize Symbols and Timeframes: Although the default symbols are SPY, QQQ, IWM, and DIA, feel free to replace them with symbols more relevant to your trading. This indicator works well across equities, indices, futures, and forex pairs.
How to Set It Up:
Select Symbols: Choose four symbols that you want to track. These can be index ETFs (like SPY and QQQ), individual stocks, or any other tradable instruments.
Set Timeframe: In the indicator’s settings, choose a specific timeframe (e.g., 15-minute, 30-minute, daily). The label will reflect the selected timeframe, making it clear which time-based break you are seeing.
Optional - Chart Timeframe Mode: If you want the indicator to adapt to the chart’s current timeframe, select the "Chart Timeframe" option in the settings. The indicator will plot the breaks without showing a specific timeframe in the label.
Customize Label Size: Depending on your chart layout and personal preference, you can adjust the size of the labels (tiny, small, or normal) in the settings.
Conclusion:
The Simultaneous Inside Bar Break Indicator is a powerful tool for traders using The Strat methodology, offering a highly specific and reliable signal that can indicate potential large market moves. By monitoring multiple symbols and timeframes, you can gain deeper insight into the market's behavior and act with greater confidence. This indicator is ideal for traders looking to catch high-conviction moves and align their trades with broader market continuity.
Note: The indicator works best when paired with multi-timeframe analysis, allowing you to see how breaks on lower timeframes might influence larger trends. For traders who prefer simplicity, setting it to the "Chart Timeframe" mode offers flexibility while maintaining the core benefits of this indicator.
PDL PWL [Dans]PDL PWL
Overview:
The PDL PWL indicator is a simple-designed for traders seeking to visualize key price levels derived from previous daily and weekly trading sessions. By incorporating significant price points such as Previous Day High (PDH), Previous Day Low (PDL), Previous Week High (PWH), and Previous Week Low (PWL), this indicator helps to make informed decisions based on historical price action.
Key Features:
Toggle Options:
Easily toggle the visibility of Previous Daily Levels and Previous Weekly Levels. This flexibility allows you to customize your chart according to your trading style and preferences.
Customizable Colors :
Personalize your chart by selecting colors for PDH, PDL, PWH, and PWL.
Equilibrium Levels:
The indicator calculates and displays equilibrium levels (EQ) for both daily and weekly levels.
Dynamic Updates:
The indicator automatically updates at 18:00 NY time, ensuring that you always have the latest previous high and low levels on your chart.
Daily Divider:
A daily divider line is drawn at the start of each trading day, helping you distinguish between trading sessions (daily) easily.
How to Use: Simply add the PDL PWL indicator to your chart, adjust the settings to fit your trading style, and observe how price interacts with the key levels.
Hope you will find this insightful !
Love,
Dans.
Seasonal Tendency (fadi)Seasonal tendency refers to the patterns in stock market performance that tend to repeat at certain times of the year. These patterns can be influenced by various factors such as economic cycles, investor behavior, and historical trends. For example, the stock market often performs better during certain months like November to April, a phenomenon known as the “best six months” strategy. Conversely, months like September are historically weaker.
These tendencies can help investors and traders make more informed decisions by anticipating potential market movements based on historical data. However, it’s important to remember that past performance doesn’t guarantee future results.
This indicator calculates the average daily move patterns over the specified number of years and then removes any outliers.
Settings
Number of years : The number of years to use in the calculation. The number needs to be large enough to create a pattern, but not so large that it may distort the price move.
Seasonality line color : The plotted line color.
Border : Show or hide the border and the color to use.
Grid : Show or hide the grid and the color to use.
Outlier Factor : The Outlier Factor is used to identify unusual price moves that are not typical and neutralize them to avoid skewing the predictions. It is the amount of deviation calculated using the total median price move.
Backside Bubble ScalpingFrom LIHKG
Pine from Perplexity AI
以下是Backside Bubble Scalping策略的使用說明,旨在幫助交易者理解如何在美股交易中應用這一策略。
使用說明:Backside Bubble Scalping 策略
1. 前提條件
交易時間:此策略適用於香港時間晚上9:30 PM至12:00 AM。
圖表類型:使用1分鐘圖表進行交易。
2. 策略概述
Backside Bubble Scalping策略包含兩種主要的設置:尖backside和鈍backside。這些設置通常在10:00 PM至12:00 AM之間出現。
3. 指標設定
VWAP(粉紅色):成交量加權平均價格,用於識別市場趨勢。
9 EMA(綠色):9期指數移動平均線,用於捕捉短期價格變化。
4. 識別 Backside 設置
尖backside
特徵:
當市場趨勢為純紅色下跌,並形成尖尖的V形底部。
入場條件:
當價格突破9 EMA並經過小幅盤整後,進場做多。
鈍backside
特徵:
在混合顏色的趨勢中,形成鈍鈍的V形底部。
入場條件:
在盤整期間進場做多。
5. 止損和止盈設置
止損位置:
尖backside:設置在9 EMA上方的盤整範圍底部加上0.2。
鈍backside:設置在V底部的最低點加上0.2。
止盈位置:
尖backside:當價格跌破VWAP或出現一根K線沒有跟隨時出場。
鈍backside:當一根K線的三分之二身體向下突破9 EMA時出場。
6. 操作步驟
監控市場動態:在指定的交易時間內,觀察VWAP和9 EMA的變化。
識別入場信號:根據尖backside或鈍backside的條件進行判斷,確定何時進場。
設置止損和止盈:根據上述條件設置止損和止盈位,以管理風險。
執行交易:根據信號執行交易,並持續監控市場情況以調整策略。
7. 注意事項
避免在VWAP附近進行交易,以減少失敗風險。
如果出現影線(wick bar),建議不要進行交易,因為這可能表示該設置失敗。
Bullish Gap Up DetectionThis indicator is designed to identify gap-up trading opportunities in real-time. A gap-up occurs when the opening price of a stock is higher than the previous day's high, signaling potential bullish momentum.
Key Features :
Gap Detection : The indicator detects when today’s open is above yesterday’s high and remains above that level throughout the trading session.
Visual Alerts : A triangle shape appears below the price bar when a gap-up condition is met, providing clear visual signals for traders to consider potential entry points.
EMA Analysis : The indicator incorporates two Exponential Moving Averages:
10-day EMA: Used to assess short-term price trends and help determine if the stock is currently in an upward momentum phase.
20-day EMA: Provides additional context for medium-term trends, ensuring that gaps are only considered when the stock is in a favorable trend.
The indicator confirms that the 10-day EMA is above the 20-day EMA, indicating bullish sentiment in the market.
This indicator can be used in various trading strategies to capitalize on momentum following gap-up openings. It’s suitable for day traders and swing traders looking for entry points in trending stocks.
Seasonality with Custom IntervalSeasonality with Custom Interval Lookback
by TradersPod
Description:
This script is a modified version of Kaschko's original Seasonal Trend with Interval Lookback indicator, designed to help traders analyze seasonal trends over customizable intervals. The modifications in this version provide enhanced flexibility and improved visualization, making it a valuable tool for analyzing seasonal patterns in various markets.
Key Features:
1. Custom Lookback Multiplier: The script allows users to adjust the lookback period with a multiplier, giving more control over the number of years analyzed for seasonality. This feature is especially useful for traders looking to tailor the analysis based on different market cycles or election cycles.
2. Enhanced Visualization: Users can customize the color and line width of the plotted seasonality line for better readability. The smoothing parameter has been added to allow for flexible moving averages, reducing noise in the trend visualization.
3 Detailed Chart Plotting: The script plots the trading week of the year (TWOY), trading day of the month (TDOM), and trading day of the year (TDOY) on the status line, providing users with additional insights into how seasonal trends affect price movements.
How to Use:
1. Lookback Period: Set the number of years to look back. For example, if you set it to 16 years, the script will gather data from the last 16 years.
2. Interval Years: You can set an interval (e.g., 4 years for U.S. elections) to focus on specific years:
Interval = 0: This setting will use all years within the lookback period.
Interval > 0: This setting will use only every nth year, based on the interval you set (e.g., 4 for U.S. elections, 10 for decennial years).
3 Future Projections: You can specify how many bars into the future the script should project the seasonal trend.
Example Settings:
>Lookback Period: 16 years.
>Interval: 4 years (this would focus on U.S. election years).
>]Future Projections: 30 bars (the seasonal trend is projected 30 bars into the future).
Intended Use : This indicator is ideal for traders who:
>Want to analyze how market prices react to seasonal cycles.
>Need flexible, customizable tools for tracking longer-term trends.
>Prefer visual clarity in their seasonal trend analysis with adjustable settings for better readability.
How It Works:
>The script calculates the average price change for each trading day, week, or month, using a lookback period of up to 30 years. It then smooths the seasonal trend using a customizable moving average and projects the trend into the future, allowing users to forecast potential price movements based on historical seasonal patterns.
>The script also offers a projection of future seasonality by plotting the seasonal trend up to 252 bars into the future, with options to offset the start of the seasonality.
Notes:
>This script is open-source under the Mozilla Public License 2.0.
>Original script by Kaschko. Modifications by TradersPod.
Custom Time Range HighlighterCustom Time Range Highlighter
This versatile indicator allows traders to highlight specific time ranges on their charts, accommodating users worldwide by supporting customizable UTC offsets. Traders can define two distinct time ranges, setting start and end hours in their local time zone.
A toggle option enables the display of highlights for today only , ensuring focus on current trading conditions.
Ideal for day traders and those following specific market sessions, this tool enhances visibility of active trading periods and aids in effective trade management.
BTC Power of Law x Central Bank LiquidityThis indicator combines Bitcoin's long-term growth model (Power Law) with global central bank liquidity to help identify potential buy and sell signals.
How it works:
Power Law Oscillator: This part of the indicator tracks how far Bitcoin's current price is from its expected long-term growth, based on an exponential model. It helps you see when Bitcoin may be overbought (too expensive) or oversold (cheap) compared to its historical trend.
Central Bank Liquidity: This measures the amount of money injected into the financial system by major central banks (like the Fed or ECB). When more money is printed, asset prices, including Bitcoin, tend to rise. When liquidity dries up, prices often fall.
By combining these two factors, the indicator gives you a more accurate view of Bitcoin's price trends.
How to interpret:
Green Line : Bitcoin is undervalued compared to its long-term growth, and the liquidity environment is supportive. This is typically a buy signal.
Yellow Line: Bitcoin is trading near its expected value, or there's uncertainty due to mixed liquidity conditions. This is a hold signal.
Red Line: Bitcoin is overvalued, or liquidity is tightening. This is a potential sell signal.
Zones:
The background will turn green when Bitcoin is in a buy zone and red when it's in a sell zone, giving you easy-to-read visual cues.