Physical Levels (XAUUSD, 5$ Pricesteps)Functionality:
This indicator draws horizontal lines in the XAUUSD market at a fixed spacing of USD 5. The lines are both above and below the current market price. The number of lines is limited to optimize performance.
Use:
The indicator is particularly useful for traders who want to analyze psychological price levels, support and resistance areas, or significant price zones in the gold market. It helps to better visualize price movements and their proximity to round numbers.
How it works:
The indicator calculates a starting price based on the current price of XAUUSD, rounded to the nearest multiple of USD 5.
Starting from this starting price, evenly distributed lines are drawn up and down.
The lines are black throughout and are updated dynamically according to the current chart.
Chart patterns
ATR/DTR with Custom Percentage DisplayThis Pine Script indicator provides a detailed view of the Average True Range (ATR) and Daily True Range (DTR), along with additional calculated metrics to assist in analyzing price volatility. The key features of the indicator include:
ATR Calculation:
The ATR is calculated over a user-defined timeframe, allowing traders to assess average market volatility over a specific period.
DTR Calculation:
The DTR represents the absolute range (high - low) of the current or chosen timeframe, providing insights into the day's price movement.
ATR/DTR Percentage:
This metric calculates the DTR as a percentage of the ATR, showing how the daily range compares to the average range, with dynamic coloring to highlight when it exceeds a user-defined threshold.
Custom Percentage of ATR:
Users can input a custom percentage to calculate and display a corresponding value of the ATR. For example, entering 15% will compute and display 15% of the ATR in the indicator’s table.
Dynamic Table Display:
The indicator outputs all these metrics in a well-organized table that is overlaid on the chart. The table includes:
ATR
DTR
ATR/DTR percentage
The user-defined percentage of ATR
Customizable Features:
Color Coding: The table dynamically changes its background color when the ATR/DTR percentage exceeds a user-defined threshold.
Placement Options: The table's position on the chart can be adjusted (e.g., bottom-right, top-center) for optimal visibility.
Use Case:
This indicator is ideal for traders who want a deeper understanding of market volatility and prefer visual representation of how current price movements compare to historical averages. It is especially useful for:
Setting volatility-based stop-loss levels.
Identifying high-volatility trading opportunities.
Tailoring strategies around price movement patterns.
Custom ChoCH Indicator (10m) - SayajeeCustom ChoCH Indicator (10m) - Sayajee
This custom Pine Script indicator identifies and marks Change of Character (ChoCH) events on a 10-minute chart. ChoCH is a price action concept that highlights potential market reversals. The indicator detects bullish and bearish Change of Character points and displays them as labels and background color highlights on the chart.
Features:
Bullish & Bearish ChoCH Signals: Detects price reversals and trends based on the relationship between recent highs and lows.
Bullish ChoCH: When the close price is greater than the previous swing high and the previous low is lower than the previous swing low.
Bearish ChoCH: When the close price is lower than the previous swing low and the previous high is greater than the previous swing high.
Visual Indicators:
Labels ("ChoCH↑" for bullish, "ChoCH↓" for bearish) are displayed at the high or low of the bar where the signal occurs.
Background highlights in green for bullish and red for bearish conditions to make the signals easily recognizable.
Customization:
Option to toggle the visibility of labels.
Option to customize the colors for bullish and bearish signals.
Alerts: Configured alert conditions to notify you when a Bullish ChoCH or Bearish ChoCH occurs.
Inputs:
Show Labels for ChoCH: Toggle to display ChoCH labels on the chart.
Bullish ChoCH Color: Choose the color for bullish signals.
Bearish ChoCH Color: Choose the color for bearish signals.
Usage:
This indicator is useful for detecting potential trend reversals and market shifts, especially when combined with other technical analysis tools. It's designed for traders who rely on price action and prefer visual cues to make informed decisions.
Drawdown from All-Time High (Line)This Pine Script is a **Drawdown Indicator from All-Time High** for TradingView. It calculates and plots the percentage drawdown from the highest price the asset has ever reached (the all-time high). Here's a breakdown of what this script does:
### Description:
- **Drawdown Calculation**:
- The drawdown is calculated as the difference between the current price (`close`) and the all-time high, divided by the all-time high, and multiplied by 100 to express it as a percentage.
- If the current price is higher than the previous all-time high, the all-time high is updated to the current price.
- **All-Time High Tracking**:
- The script tracks the highest price (`allTimeHigh`) that the asset has ever reached. Each time a new high is reached, the `allTimeHigh` value is updated.
- **Line Plot**:
- The drawdown percentage is then plotted as a line on the chart, with a color of **blue** for easy visualization.
- The line shows how much the price has dropped relative to its all-time high.
- **Zero Line**:
- A horizontal line is added at the **0%** level to act as a reference point, which is helpful to identify when the asset has fully recovered to its all-time high.
### Key Features:
- **Track Drawdown**: The indicator helps visualize how far the current price has fallen from its highest point, which is useful for understanding the depth of losses (drawdowns) during a period.
- **Update All-Time High**: The indicator automatically updates the all-time high whenever a new high is detected.
- **Visual Reference**: The 0% horizontal line provides a clear indication of when the asset is at its all-time high, and the drawdown is at 0%.
### How it Works:
- If the current price surpasses the all-time high, the script will reset the all-time high to the new price.
- The drawdown percentage is calculated from the current price relative to this all-time high, and it is displayed as a line on the chart.
### Visuals:
- **Drawdown Line**: Plots the percentage of the drawdown, which is the drop from the all-time high.
- **Zero Line**: A dotted horizontal line at 0% marks the level of the all-time high.
This indicator is valuable for understanding the extent of price corrections and potential recoveries relative to the historical peak of the asset. It is especially useful for traders and investors who want to assess the risk of drawdowns in relation to the highest price achieved by the asset.
Multi-Timeframe Highs and LowsThe "Multi-Timeframe Highs and Lows" indicator is a comprehensive tool designed to plot recent Highs and Lows across multiple timeframes, including 15-Minute, 30-Minute, 1-Hour, 4-Hour, 8-Hour, Daily, Weekly, and Monthly. This indicator provides traders with a clear view of critical support and resistance levels, enabling precise decision-making for entries, exits, and stop-loss placements. It features customizable lookbacks, dynamic line extensions, and advanced label placement logic to prevent overlap, ensuring a clean and clutter-free chart. With fully customizable colors and styles for each timeframe, traders can tailor the indicator to their preferences. Whether you’re a scalper, swing trader, or position trader, this tool adapts to your strategy, providing actionable insights for breakout, reversal, and trend-following setups. Optimized for performance, it handles multiple lines and labels efficiently, making it suitable for high-activity charts. The "Multi-Timeframe Highs and Lows" indicator is an indispensable tool for traders seeking to identify and utilize key price levels across all timeframes with precision and clarity.
Wyckoff Trading Strategy for XAU/USD by KAIZVIETNAMXAU/USD TF M15 TP SL 20-30 pip
- Volume: Calculates the average volume based on the SMA to compare with the current trading volume.
- ATR (Average True Range): Calculated to determine price volatility.
- Support and Resistance Levels: Identifies support and resistance levels over the last 10 trading sessions.
Specific Point Identification
- A series of functions are defined to detect critical phases in the market structure, such as:
- Finding Preliminary Support: Recognizing signals of accumulation near support levels.
- Finding Selling Climax: Detecting signals of profit-taking near resistance levels.
- Finding Last Point of Support: Identifying points that provide stability for the price.
- Finding Preliminary Supply: Recognizing supply signals near resistance levels.
- Finding Buying Climax: Identifying strong buy signals accompanied by high trading volume.
- Finding Sign of Weakness: Determining instances of price adjustments that could lead to declines.
Market State Identification
- Accumulation: When the closing price is situated between the support and resistance levels.
- Distribution: When the closing price approaches the highest level of the previous few sessions.
- Sideways: When there is no clear bias toward either an upward or downward trend.
Buy and Sell Signals
- Buy Signals: Determined through finding preliminary support, selling climax, and last point of support.
- Sell Signals: Determined through finding preliminary supply, buying climax, and signs of weakness.
Liquidity IndicatorThe Liquidity Indicator helps identify key price levels where liquidity may be concentrated by highlighting local highs and local lows on the chart. These levels are calculated using a lookback period to determine the highest and lowest points in the recent price action.
Local Highs: Displayed as red lines, these indicate recent peaks where price has experienced rejection or a possible reversal point.
Local Lows: Displayed as green lines, these represent recent troughs where price may find support or experience a bounce.
This indicator is useful for spotting potential areas of interest for price reversal or continuation, as high liquidity zones may lead to more significant price movements.
Key Features:
Adjustable lookback period to define the scope for identifying local highs and lows.
Continuous plotting without any time restrictions, providing real-time insights into liquidity conditions.
Alerts available for when a local high or local low is detected, enabling timely market analysis.
Use Case:
This indicator can be used in conjunction with other technical analysis tools or strategies to help identify significant price levels where liquidity could impact price action. It is suitable for both intraday and swing traders looking for key price zones where potential reversals or continuations might occur.
Engulfing Candle IndicatorThis indicator helps identify Bullish and Bearish Engulfing candle patterns on your chart.
Bullish Engulfing: Occurs when a green candle completely engulfs the prior red candle, signaling potential upward momentum.
Bearish Engulfing: Occurs when a red candle completely engulfs the prior green candle, signaling potential downward momentum.
The script highlights these patterns with green triangles below the bars for Bullish Engulfing and red triangles above the bars for Bearish Engulfing.
This tool is helpful for traders who use candlestick patterns as part of their technical analysis strategy.
Liquidity + Engulfment StrategyThis strategy identifies potential trading opportunities by combining bullish and bearish engulfing candle patterns with liquidity seal-off points. The logic is based on the concept of engulfing candles, which signal a shift in market sentiment, and liquidity lines, which represent local price extremes (highs and lows) that can indicate potential reversal or continuation points.
Key Features:
Mode Selection
The strategy allows for three modes: "Both", "Bullish Only", and "Bearish Only". Users can choose whether to trade both directions, only bullish setups, or only bearish setups.
Time Range
Users can define a specific time range for when the strategy is active, enabling tailored analysis and trade execution over a desired period.
Engulfing Candles
Bullish Engulfing: A candle that closes above the high of the previous bearish candle, signaling potential upward momentum.
Bearish Engulfing: A candle that closes below the low of the previous bullish candle, indicating a potential downtrend.
Liquidity Seal-Off Points
The strategy detects local highs and local lows within a specified lookback period, which can serve as critical support and resistance points.
A bullish signal is triggered when the price touches a lower liquidity point (local low), and a bearish signal is triggered at a higher liquidity point (local high).
Signal Confirmation
Signals are only triggered when both an engulfing candle and the price action at a liquidity seal-off point align. This helps filter out weaker signals.
Consecutive signals are prevented by locking the trade direction after an initial signal and waiting for the liquidity line to be broken before re-triggering a signal.
Entry and Exit Conditions
The strategy can enter both long (bullish) or short (bearish) positions based on the mode and signals.
Exit is based on opposing signals or reaching predefined stop-loss and take-profit levels.
Alerts
The strategy supports alert conditions to notify users when bullish engulfing after a lower liquidity touch or bearish engulfing after an upper liquidity touch is detected.
Overnight High/LowThe script identifies the Overnight High (the highest price) and Overnight Low (the lowest price) for a trading instrument during a specified overnight session. It then plots these levels on the chart for reference in subsequent trading sessions.
Key Features:
Time Settings:
The script defines the start (startHour) and end (endHour + endMinute) times for the overnight session.
The session spans across two calendar days, such as 5:00 PM (17:00) to 9:30 AM (09:30).
Tracking High and Low:
During the overnight session, the script dynamically tracks:
Overnight High: The highest price reached during the session.
Overnight Low: The lowest price reached during the session.
Reset Mechanism:
After the overnight session ends (at the specified end time), the script resets the overnightHigh and overnightLow variables, preparing for the next session.
Visual Representation:
The script uses horizontal dotted lines to plot:
A green line for the Overnight High.
A red line for the Overnight Low.
These lines extend to the right of the chart, providing visual reference points for traders.
How It Works:
Session Detection:
The script checks whether the current time falls within the overnight session:
If the hour is greater than or equal to the start hour (e.g., 17:00).
Or if the hour is less than or equal to the end hour (e.g., 09:30), considering the next day.
The end minute (e.g., 30 minutes past the hour) is also considered for precision.
High and Low Calculation:
During the overnight session:
If the overnightHigh is not yet defined, it initializes with the current candle's high.
If already defined, it updates by comparing the current candle's high to the existing overnightHigh using the math.max function.
Similarly, overnightLow is initialized or updated using the math.min function.
Post-Session Reset:
After the session ends, the script clears the overnightHigh and overnightLow variables by setting them to na (not available).
Line Drawing:
The script draws horizontal dotted lines for the Overnight High and Low during and after the session.
The lines extend indefinitely to the right of the chart.
Benefits:
Visual Aid: Helps traders quickly identify overnight support and resistance levels, which are critical for intraday trading.
Automation: Removes the need for manually plotting these levels each day.
Customizable: Time settings can be adjusted to match different markets or trading strategies.
This script is ideal for traders who use the overnight range as part of their analysis for breakouts, reversals, or trend continuation strategies.
Candlestick Patterns with SignalsIdentified Patterns:
Bullish Engulfing: Indicates potential upward price movement, marked with green labels and lines.
Bearish Engulfing: Suggests potential downward price movement, marked with red labels and lines.
Hammer: A bullish reversal pattern, marked with blue labels.
Shooting Star: A bearish reversal pattern, marked with orange labels.
Signal Generation:
Long Signal: Triggered when a Bullish Engulfing or Hammer pattern is detected. A dotted green line marks the entry level.
Short Signal: Triggered when a Bearish Engulfing or Shooting Star pattern is detected. A dotted red line marks the entry level.
Visual Elements:
Labels indicating the candlestick pattern names appear at the relevant candles.
Lines connect the previous and current candles for engulfing patterns to highlight their range.
Dotted lines indicate potential entry levels for long or short trades.
SMA Proximity Signal with Trend TableSummary of the Script:
This Pine Script is designed to provide a variety of technical analysis signals based on Simple Moving Averages (SMAs) and market trends across different timeframes. The script combines multiple indicators, such as the SMA crossover, proximity conditions, and trend analysis, along with visual markers and support/resistance lines. Below is a detailed breakdown of the key features:
The script detects crossovers between SMA1 and SMA2 and SMA1 and SMA3, marking them with green circles exactly at the crossover price level (not on the candles).
The crossover events are identified using ta.crossover and ta.crossunder functions.
Additional circles are drawn when other SMAs are in proximity (narrow stage)
Elephant Candle Pattern:
The script identifies "Elephant Candles" based on a large candle body relative to the overall size of the candle, using the condition where the candle body is at least 80% of the total candle size and at least 1.5 times the average candle size.
These candles are marked with an elephant emoji 🐘 at the top of the candle.
Trend Analysis Across Multiple Timeframes:
The script calculates the trend for different timeframes using the SMA20 of each timeframe:
5m, 15m, 1h, 4h, and 1D
It compares the current SMA20 to its previous value to determine whether the trend is Up, Down, or Flat.
Highest High, Lowest Low, Midpoint for Selected Days [kiyarash]Highest High, Lowest Low, and Midpoint for Selected Days Indicator
This custom TradingView indicator allows you to visualize the highest high, lowest low, and the midpoint (average of the highest high and lowest low) over a custom-defined period. You can choose a starting date and specify how many days ahead you want to track the highest and lowest values. This is useful for identifying key levels in a trend and potential support or resistance zones.
How to Use:
Set the Starting Date:
In the settings, input the starting date from which you want to begin tracking the price range. This will be the reference point for your analysis.
Choose the Number of Days to Track:
Specify how many days you want to analyze from the selected starting date. For example, if you want to see the highest high and lowest low over the next 3 days, enter "3" in the settings.
Visualizing the Levels:
The indicator will automatically calculate the highest price and the lowest price over the selected period and draw three lines:
Red Line: Represents the Highest High within the selected period.
Green Line: Represents the Lowest Low within the selected period.
Blue Line: Represents the Midpoint, which is the average of the Highest High and Lowest Low.
Interpretation:
Highest High is a key resistance level, indicating the highest price reached within the specified period.
Lowest Low is a key support level, showing the lowest price during the same period.
Midpoint provides a reference for the average price, often acting as a neutral level between support and resistance.
This tool can help traders to quickly assess potential market ranges, identify breakout or breakdown points, and make informed decisions based on recent price action.
How to Apply:
Add the indicator to your chart.
Adjust the settings to choose your desired starting date and the number of days you want to analyze.
Observe the drawn lines for the Highest High, Lowest Low, and Midpoint levels, and use them to assist in your trading decisions.
RShar Liquidity Zone Identifier Description of the Liquidity Zone Identifier Indicator
The **Liquidity Zone Identifier** is a TradingView indicator designed to highlight key liquidity zones on a price chart. Liquidity zones represent areas where the price is likely to encounter significant resistance or support, making them critical for technical analysis and trading decisions.
Key Features:
1. **Dynamic Resistance and Support Levels**:
- The indicator calculates the highest high and lowest low over a user-defined period (`length`) to identify potential resistance and support levels.
- Sensitivity can be adjusted using the `zoneSensitivity` parameter, which defines a percentage buffer around these levels to expand the zones.
2. **Visual Representation**:
- Resistance zones are highlighted in **red**, indicating areas where the price may face selling pressure.
- Support zones are highlighted in **green**, representing areas where the price may find buying interest.
- The zones are displayed as shaded regions using the `fill` function, making them visually distinct and easy to interpret.
3. **Customizable Inputs**:
- **Zone Length** (`length`): Determines the number of candles considered for calculating highs and lows.
- **Zone Sensitivity** (`zoneSensitivity`): Sets the percentage margin around the calculated levels to define the liquidity zones.
- **Zone Colors**: Users can customize the colors for resistance and support zones to suit their preferences.
- **Toggle Fill**: The `showFill` option allows users to enable or disable shaded zone visualization.
4. **Alerts for Trading Opportunities**:
- Alerts are triggered when:
- The price enters the **resistance zone** (current high is greater than or equal to the resistance zone).
- The price enters the **support zone** (current low is less than or equal to the support zone).
- These alerts help traders stay informed of critical market movements without constantly monitoring the chart.
#### How It Works:
1. **Calculation of Zones**:
- The highest high and lowest low over the specified `length` are calculated to define the primary levels.
- A buffer zone is added around these levels based on the `zoneSensitivity` percentage, creating a margin of interaction for price movements.
2. **Plotting the Zones**:
- The top and bottom boundaries of the resistance and support zones are plotted as lines.
- The area between these boundaries is shaded using the `fill` function to enhance visualization.
3. **Alerts for Key Events**:
- Traders are notified when price action interacts with the zones, enabling quick decision-making.
#### Use Case:
The Liquidity Zone Identifier is ideal for:
- Identifying areas of potential price reversal or consolidation.
- Spotting high-probability trading setups near resistance and support zones.
- Complementing other technical indicators in a trading strategy.
By effectively highlighting critical price levels, this indicator provides traders with a powerful tool to navigate the markets with greater precision.
Bollinger Bands Volatility Arrows
Explanation of Changes:
Arrow Style:
Green Up Arrow (▲): Indicates increasing volatility with a positive value.
Red Down Arrow (▼): Indicates decreasing volatility with a negative value.
Labels with Arrows:
label.new is used to create arrows with the label.style_label_up or label.style_label_down styles.
The numerical value of the volatility is displayed beside the arrow using str.tostring.
Label Position:
For increasing volatility, the green arrow is placed near the high of the candle.
For decreasing volatility, the red arrow is placed near the low of the candle.
Text Format:
Includes the arrow symbol and the volatility value (formatted to 4 decimal places).
How It Works:
You’ll see green upward arrows for increasing volatility and red downward arrows for decreasing volatility.
Each arrow includes the exact value of the Bollinger Bands width at that moment.
[blackcat] L1 Banker Move█ OVERVIEW
The Pine Script is an indicator designed to analyze market signals for institutional and short-term investors. It calculates and plots three main signals: Institutional Signal, Institutional Build, and Short-Term Investor Signal. The script uses a combination of price, volume, and moving average data to generate these signals, which can help traders identify potential buying or selling opportunities.
█ LOGICAL FRAMEWORK
The script is structured into several main sections:
1 — Input Parameters
The script does not explicitly define any input parameters, relying on default values for calculations.
2 — Custom Functions
• reference_value(values, length) : Retrieves the first non-NA value from a specified number of past values.
• calculate_institutional_and_short_term_signals(low, close, open, volume) : Calculates the institutional and short-term investor signals based on price, volume, and moving average data.
3 — Calculations
• Price and Volume Metrics: The script calculates various smoothed price changes, lowest and highest values over different periods, and volume-weighted prices.
• Moving Averages: It computes simple moving averages (SMA) and exponential moving averages (EMA) for different periods.
• RSI Calculation: The script calculates a custom RSI for different periods.
• Signal Generation: It generates the institutional and short-term investor signals based on the calculated metrics.
4 — Plotting
The script plots the three main signals on the chart using the plot function.
The flow of data and logic is as follows:
• The reference_value function is used to find reference values for calculations.
• The calculate_institutional_and_short_term_signals function performs the core calculations and returns the institutional and short-term investor signals.
• The main script calls this function and plots the results.
█ CUSTOM FUNCTIONS
1 — reference_value(values, length)
• Purpose : Retrieves the first non-NA value from a specified number of past values.
• Parameters :
• values: An array of values.
• length: The number of past values to consider.
• Return Value : The first non-NA value found or na if no valid value is found.
• Functionality : Iterates through the specified number of past values and returns the first non-NA value.
2 — calculate_institutional_and_short_term_signals(low, close, open, volume)
• Purpose : Calculates the institutional and short-term investor signals based on price, volume, and moving average data.
• Parameters :
• low: Low price series.
• close: Close price series.
• open: Open price series.
• volume: Volume series.
• Return Values :
• institutional_signal: The institutional signal.
• institutional_build: The institutional build signal.
• short_term_investor_signal: The short-term investor signal.
• Functionality :
• Computes various price and volume metrics.
• Calculates moving averages and volume-weighted prices.
• Generates the institutional and short-term investor signals based on these metrics.
█ KEY POINTS AND TECHNIQUES
1 — Advanced Pine Script Features
• Custom Functions: The script defines and uses custom functions to encapsulate complex logic.
• Conditional Statements: Extensive use of iff and if statements to control the flow of calculations.
• Looping Constructs: The for loop in reference_value function to iterate through past values.
• Exponential Moving Averages (EMA): Used to smooth out price and signal changes.
• Volume-Weighted Price (VWP): Calculated to factor in volume in price analysis.
• Custom RSI Calculation: A custom RSI formula is used, which differs from the standard RSI calculation.
2 — Optimization Techniques
• Efficient Data Handling: The reference_value function efficiently finds the first non-NA value without unnecessary computations.
• Smoothed Signals: Using EMAs to smooth out noisy signals for better trend identification.
3 — Unique Approaches
• Combination of Metrics: The script combines multiple metrics (price, volume, moving averages, and custom RSI) to generate comprehensive signals.
• Institutional Build Signal: A unique approach to detect institutional activity by comparing current price levels with historical lows and smoothed price changes.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
1 — Potential Modifications
• Input Parameters: Add input parameters to allow users to customize the lengths and thresholds used in the calculations.
• Strategy Version: Convert the indicator into a strategy by adding buy/sell signals based on the generated signals.
• Additional Indicators: Integrate other technical indicators (e.g., MACD, Bollinger Bands) to enhance the signal generation process.
2 — Similar Trading Scenarios
• Institutional Activity Analysis: Use similar techniques to analyze institutional activity in other markets or assets.
• Volume Analysis: Apply the volume-weighted price and volume analysis to identify significant price movements.
• Multi-Timeframe Analysis: Extend the script to analyze signals across multiple timeframes for a more robust trading strategy.
3 — Related Pine Script Concepts
• Pine Script Functions: Understanding how to define and use custom functions effectively.
• Conditional Logic: Mastering the use of iff and if statements for complex logic.
• Looping Constructs: Familiarity with for loops for iterating through data.
• Moving Averages: Knowledge of different types of moving averages and their applications.
• Volume Analysis: Techniques for incorporating volume data into price analysis.
Alerts and symbolswhat is "Alerts and symbols"?
It is an indicator that allows you to watch more trading pairs and add alarms to them.
what it does?
It allows you to set a total of 20 different intersection alarms, 2 in each pair, for 10 different trading pairs at the same time.
It draws the candlestick chart of a pair you choose among 10 trading pairs and the alarm lines you created for this trading pair on the chart.
It also allows you to see the prices of 10 different trading pairs at the same time, thanks to the table it creates.
how to use it?
First, select the alarm pairs you want to use, for example, BTCUSDT pair is the default value for "pair 1". You can choose 10 different trading pairs as you wish. Just below each trading pair, there are two different sections titled "line 1" and "line 2" so that you can set an alarm. Type here the price levels at which you want to be alerted in case of a price crossover.
You can use the "candle source" section to examine the candlestick charts of trading pairs. The indicator draws the candle chart of the trading pair selected in the "candle source" section.
Check the "show alert lines on chart" box to see the levels you have set an alarm for.
When everything is ready, first click on the three dots next to the indicator's name and then on the clock icon. then create an alarm and that's it.
Square Numbers Horizontal LinesTrading with square numbers is a unique approach to technical analysis, where square numbers (1, 4, 9, 16, 25, etc.) are used to guide the identification of potential levels of support, resistance, and price targets. These numbers are often considered in a more mathematical or geometric context, and they can be applied in trading strategies, chart patterns, and psychological market analysis.
Forecast Daily BIAS**Indicator Name:** Forecast Daily BIAS
**Description:**
The Forecast Daily BIAS indicator is designed to predict the expected price direction (BIAS) for the current trading day. It analyzes key price levels from the previous day (high, low, and close) and compares them to the opening price of the current day. The indicator provides a simple forecast for the day's price movement: **Bullish**, **Bearish**, or **Neutral**.
Key Features:
- Bullish Prediction: When the opening price is higher than the previous day's close and above the average of the previous day's high and low.
- Bearish Prediction: When the opening price is lower than the previous day's close and below the average of the previous day's high and low.
- Neutral Prediction: If the price does not meet the conditions for bullish or bearish bias.
- Visual Indicators:
- Displays the BIAS forecast directly on the chart with labels.
- Highlights the chart background with colors (green for bullish, red for bearish) for easy interpretation.
Use Case:
This indicator is ideal for traders looking to identify the probable direction of the market for the day and plan their intraday trading strategies accordingly. It is particularly useful for day traders who rely on prior price levels to make informed decisions.
How to Use:
1. Add the indicator to your chart.
2. Observe the daily BIAS prediction:
- Green Background: Likely bullish trend.
- Red Background: Likely bearish trend.
- No Highlight: Neutral trend.
3. Use the forecast in conjunction with other indicators or strategies to confirm your trades.
Note: The indicator provides a basic directional bias and should not be used as a standalone trading signal. Always consider additional market factors and risk management.
[blackcat] L1 Institutional Golden Bottom Indicator█ OVERVIEW
The script " L1 Institutional Golden Bottom Indicator" is an indicator designed to identify potential institutional buying interest or a "golden bottom" in the market. It calculates a series of values based on price movements and plots them on a chart to help traders make informed decisions.
█ LOGICAL FRAMEWORK
The script is structured into several main sections:
1 — Function Definitions: Custom functions xsa and calculate_institutional_golden_bottom are defined.
2 — Input Parameters: The user can set a threshold value for institutional interest.
3 — Calculations: The script calculates various indicators and conditions, including the institutional buy signal.
4 — Plotting: The results of the calculations are plotted on the chart.
5 — Labeling: When a golden bottom is detected, a label is placed on the chart.
The flow of data starts with the input parameters, proceeds through the calculation functions, and finally results in plotted outputs and labels.
█ CUSTOM FUNCTIONS
1 — xsa(src, len, wei)
• Purpose: To calculate a weighted moving average.
• Parameters:
– src: Source data (e.g., price).
– len: Length of the moving average.
– wei: Weighting factor.
• Return Value: The calculated weighted moving average.
2 — calculate_institutional_golden_bottom(close, high, low, threshold)
• Purpose: To determine the institutional golden bottom indicator.
• Parameters:
– close: Closing price.
– high: Highest price.
– low: Lowest price.
– threshold: User-defined threshold for institutional interest. By tuning the threshold value the user can properly identify the institutional golden bottom of the instrument. So, I can say this parameter is used to tune the "sensitivity" of this indicator.
• Return Value: An array containing the institutional indicator, golden bottom signal, and additional values (a1, b1, c1, d1).
█ KEY POINTS AND TECHNIQUES
• Weighted Moving Average (WMA): The xsa function implements a weighted moving average, which is useful for smoothing price data.
• Crossover Detection: The script uses a crossover condition to detect when the institutional indicator crosses above the threshold, indicating a potential buying opportunity.
• Conditional Logic: The script includes conditional statements to control the output of certain values only when specific conditions are met.
• Plotting and Labeling: The script uses plot and label.new functions to visualize the indicator and highlight significant events on the chart.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
• Modifications: The script could be enhanced by adding more customizable parameters, such as different lengths for the moving averages or additional conditions for the golden bottom signal.
• Extensions: Similar techniques could be applied to other types of indicators, such as momentum oscillators or trend-following systems to identify market turning points.
• Related Concepts: Understanding weighted moving averages, crossover signals, and conditional plotting in Pine Script would be beneficial for enhancing this script and applying similar logic to other trading strategies.
Horns Pattern Identifier with alertsUpdated version of LuxAlgo indicator to add the ability to change the displayed line widths and to raise alerts when the pattern is detected.
The original indicator and it's history are at
Their description:
The following script detects regular and inverted horn patterns. Detected patterns are displayed alongside their respective confirmation and take profit levels derived from the pattern measure rule. Breakout of the confirmation levels are highlighted with labels.
DonAlt - Smart Money Toolkit [BigBeluga]DonAlt - Smart Money Toolkit is inspired by the analytical insights of popular crypto influencer DonAlt.
This advanced toolkit integrates smart money concepts with key technical analysis elements to enhance your trading decisions.
🔵 KEY FEATURES:
SUPPORT AND RESISTANCE LEVELS Automatically identifies critical market turning points with significant volume. Levels turn green when the price is above them and red when below, providing a visual cue for key market thresholds.
ORDER BLOCKS: Highlights significant price zones preceding major price movements.
- If the move is down , it searches for the last bullish candle and plots a block from its body.
- If the move is up , it searches for the last bearish candle and creates a block from its body.
These blocks help identify areas of institutional interest and potential reversals.
TRENDLINES: Automatically plots trendlines to identify breakout zones or price accumulation areas.
• Bullish trendlines accumulation form when the current low is higher than the previous low.
• Bearish trendlines accumulation emerge when the current high is lower than the previous high.
• Bullish trendlines Breakout form when the price break above it.
• Bearish trendlines Breakout form when the price break below it.
Volatility Integration: The levels incorporate normalized volatility to ensure only significant zones are highlighted, filtering noise and emphasizing meaningful data.
🔵 WHEN TO USE:
This toolkit is ideal for traders seeking to align with "smart money" strategies by identifying key areas of institutional activity, strong support and resistance zones, and potential breakout setups.
🔵 CUSTOMIZATION:
Toggle the visibility of levels, order blocks, or trendlines to match your trading style and focus.
Colors of the Bull and Bear key features
Extend trendline
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