High/Low LabelsThis simple Version 6 script labels each bar on the chart with Green labels noting HH for higher highs and HL for higher lows. And Red labels noting LH for lower highs and LL for lower lows. Works on any Trading View chart and any time frame. Any comments or suggestions, please do!
Candlestick analysis
Trend & ADX by Gideon for Indian MarketsThis indicator is designed to help traders **identify strong trends** using the **Kalman Filter** and **ADX** (Average Directional Index). It provides **Buy/Sell signals** based on trend direction and ADX strength. I wanted to create something for Indian markets since there are not much available.
In a nut-shell:
✅ **Buy when the Kalman Filter turns green, and ADX is strong.
❌ **Sell when the Kalman Filter turns red, and ADX is strong.
📌 **Ignore signals if ADX is weak (below threshold).
📊 Use on 5-minute timeframes for intraday trading.
------------------------------------------------------------------------
1. Understanding the Indicator Components**
- **Green Line:** Indicates an **uptrend**.
- **Red Line:** Indicates a **downtrend**.
- The **line color change** signals a potential **trend reversal**.
**ADX Strength Filter**
- The **ADX (orange line)** measures trend strength.
- The **blue horizontal line** marks the **ADX threshold** (default: 20).
- A **Buy/Sell signal is only valid if ADX is above the threshold**, ensuring a strong trend.
**Buy & Sell Signals**
- **Buy Signal (Green Up Arrow)**
- Appears **one candle before** the Kalman line turns green.
- ADX must be **above the threshold** (default: 20).
- Suggests entering a **long position**.
- **Sell Signal (Red Down Arrow)**
- Appears **one candle before** the Kalman line turns red.
- ADX must be **above the threshold** (default: 20).
- Suggests entering a **short position**.
2. Best Settings for 5-Minute Timeframe**
For day trading on the **5-minute chart**, the following settings work best:
- **Kalman Filter Length:** `50`
- **Process Noise (Q):** `0.1`
- **Measurement Noise (R):** `0.01`
- **ADX Length:** `14`
- **ADX Threshold:** `20`
- **(Increase to 25-30 for more reliable signals in volatile markets)**
3. How to Trade with This Indicator**
**Entry Rules**
✅ **Buy Entry**
- Wait for a **green arrow (Buy Signal).
- Kalman Line must **turn green**.
- ADX must be **above the threshold** (strong trend confirmed).
- Enter a **long position** on the next candle.
❌ **Sell Entry**
- Wait for a **red arrow (Sell Signal).
- Kalman Line must **turn red**.
- ADX must be **above the threshold** (strong trend confirmed).
- Enter a **short position** on the next candle.
**Exit & Risk Management**
📌 **Stop Loss**:
- Place stop-loss **below the previous swing low** (for buys) or **above the previous swing high** (for sells).
📌 **Take Profit:
- Use a **Risk:Reward Ratio of 1:2 or 1:3.
- Exit when the **Kalman Filter color changes** (opposite trend signal).
📌 **Avoid Weak Trends**:
- **No trades when ADX is below the threshold** (low trend strength).
4. Additional Tips
- Works best on **liquid assets** like **Bank Nifty, Nifty 50, and large-cap stocks**.
- **Avoid ranging markets** with low ADX values (<20).
- Use alongside **volume analysis and support/resistance levels** for confirmation.
- Experiment with **ADX Threshold (increase for stronger signals, decrease for more trades).**
Best of Luck traders ! 🚀
Gap Symbolized on ChartIndicator Description: Gap Analysis with Text Symbols
This indicator analyzes the relationship between the current candle's open price, the previous candle's close price, and the current candle's close price to provide visual insights into price gaps and momentum. It displays text symbols (▼, ▲, ━) above each candle, color-coded to reflect the strength and direction of the gap.
Key Features:
Gap Analysis:
Compares the current candle's open price with the previous candle's close price.
Evaluates the current candle's close price relative to its open price.
Text Symbols:
▼ (Down Arrow): Indicates a bearish movement.
▲ (Up Arrow): Indicates a bullish movement.
━ (Dash): Indicates a neutral or sideways movement.
Color Coding:
Red: Bearish conditions (e.g., price opening lower than the previous close and closing lower than the open).
Orange: Mild bearish or bullish conditions.
Blue: Bullish conditions (e.g., price opening higher than the previous close and closing higher than the open).
Navy: Strong bullish conditions.
Transparent Background:
The text symbols are displayed without any background shape, ensuring they do not obstruct the chart.
Use Cases:
Identify Gaps: Quickly spot gaps between the previous close and the current open.
Momentum Analysis: Assess the strength and direction of price movements.
Visual Clarity: The minimalist design (text symbols only) keeps the chart clean and easy to interpret.
How to Use:
Add the indicator to your chart.
Observe the text symbols above each candle:
Red ▼: Strong bearish momentum.
Blue ▲: Strong bullish momentum.
━: Neutral or consolidation phase.
Use the insights to confirm trends, spot reversals, or identify potential entry/exit points.
Donchian Reversal Scanner by Hitesh2603How It Works:
Bearish Side Logic:
If the price is falling with bearish candles and touching the lower Donchian Channel, the bearishCondition flag is set to true.
When a bullish candle appears afterward, the flag is reset, and the bullishReversalSquare condition becomes true.
Bullish Side Logic:
If the price is rising with bullish candles and touching the upper Donchian Channel, the bullishCondition flag is set to true.
When a bearish candle appears afterward, the flag is reset, and the bearishReversalSquare condition becomes true.
Plotting Squares:
A green square is plotted below the candle when bullishReversalSquare is true.
A red square is plotted above the candle when bearishReversalSquare is true.
Scanner Output:
The scanCondition variable is true when either bullishReversalSquare or bearishReversalSquare is true.
How to Use the Script:
On the Chart:
Add the script to your chart.
You will see squares plotted on the chart when the conditions are met:
Green squares below the candle for bullish reversals.
Red squares above the candle for bearish reversals.
In the Scanner:
Open the Scanner tab in TradingView.
Click on "Create New Scanner".
In the "Condition" field, select the script you just created.
Choose the market or watchlist you want to scan (e.g., "NYSE", "NASDAQ", or a custom watchlist).
Run the scan. The Scanner will return a list of instruments where the scanCondition is true.
Why This Works:
The scanCondition variable is now properly declared and used.
The plotchar function explicitly outputs the scanCondition variable as a plot, which the Scanner can recognize.
Failed 2D & Failed 2U BarsI created this indicator to plot a triangle when a candle is either 1) a failed 2 down--the candle breaks the low of the prior candle but closes green (or higher than its opening price) and doesn't break the high of the previous candle; and 2) a failed 2 up--high of the prior candle is broken but the bar is red and does not break the low of the prior candle.
It has alerts which you can set up in the alert system.
I think that this candle is one of the most telling and powerful when it comes to candle analysis.
R.I.P. Rob Smith, Creator of The Strat.
Multi-Timeframe Stoch RSIThe Multi-Timeframe Stoch RSI Indicator analyzes Stochastic RSI values across multiple timeframes (5m, 15m, 30m, 1h, 3h, and 1D) to help identify overbought and oversold conditions. It displays a visual table where each timeframe is color-coded—red for overbought (🐻) and green for oversold (✅)—allowing traders to quickly assess market momentum at different intervals. This helps in making informed trading decisions based on multi-timeframe confluence.
Real-Time Data Error Check _byMDKTests back if there was missing data/bar with respect to selected timeframe and source.
Experienced red data (no-real time data is available) so i come up with the idea.
Regards.
i.redd.it
Candle Close NotificationCandle Close Notification Indicator - Specification
1. 概要 (Overview)
本インジケーターは、TradingView 上でローソク足が確定した際に、そのローソク足が陰線(Bearish)または陽線(Bullish)であった場合に通知を送信するものです。
また、該当するローソク足の上または下にマークを表示し、視覚的にも識別しやすくなっています。
This indicator for TradingView sends notifications when a candlestick closes as either a bearish (red) or bullish (green) candle. It also marks the corresponding candles on the chart for visual reference.
2. 機能 (Features)
2.1 通知機能 (Notification Function)
ローソク足の確定時に、以下の条件に基づき アラート(通知) を送信します。
「Both」(両方): 陰線・陽線のどちらでも通知
「Bearish」(陰線のみ): 陰線の時のみ通知
「Bullish」(陽線のみ): 陽線の時のみ通知
When a candlestick closes, an alert notification is sent based on the selected option:
"Both" (Default): Notifies for both bearish and bullish candles.
"Bearish": Notifies only bearish candles.
"Bullish": Notifies only bullish candles.
2.2 チャートマーク表示機能 (Chart Marking Function)
ローソク足が確定した際、以下のルールでマークを表示します。
陰線(Bearish) の場合、赤色の「下向きマーク」を表示(ローソク足の上)
陽線(Bullish) の場合、緑色の「上向きマーク」を表示(ローソク足の下)
When a candlestick closes, a marker appears according to the following rules:
Bearish candle → A red downward marker appears above the candle.
Bullish candle → A green upward marker appears below the candle.
3. 通知オプションの設定 (Setting Notification Options)
スクリプト内の notify_option の値を変更することで、通知の種類を設定できます。
Both(デフォルト) → 陰線・陽線両方通知
Bearish → 陰線のみ通知
Bullish → 陽線のみ通知
Modify the notify_option value in the script to customize notifications:
Both (Default) → Notifies for both bearish and bullish candles.
Bearish → Notifies only bearish candles.
Bullish → Notifies only bullish candles.
TradingView の アラート機能 を有効にすることで、通知を受け取ることができます。
Enable TradingView’s Alert function to receive notifications.
Advanced Order Blocks with VolumeAdvanced Order Blocks with Volume Indicator
This professional-grade indicator combines order block detection with sophisticated volume analysis to identify high-probability trading opportunities. It automatically detects and displays bullish and bearish order blocks formed during consolidation periods, enhanced by three distinct volume calculation methods (Simple, Relative, and Weighted).
Key Features:
- Smart consolidation detection with customizable thresholds
- Volume-filtered order blocks to avoid false signals
- Automatic order block mitigation tracking
- Clear visual presentation with volume metrics
- Flexible customization options for colors and parameters
Settings:
Core Parameters:
- Consolidation Threshold %: Sets the maximum price range (0.1-1.0%) for detecting consolidation zones
- Lookback Period: Number of bars (2-10) to analyze for consolidation patterns
Volume Analysis:
- Volume Calculation Method: Choose between Simple (basic average), Relative (compared to average), or Weighted (prioritized recent volume)
- Volume Lookback Period: Historical bars (5-100) used for volume analysis
- Volume Threshold Multiplier: Minimum volume requirement (1.0-5.0x) for valid order blocks
Visual Settings:
- Bullish/Bearish OB Color: Background colors for order blocks
- Bullish/Bearish OB Text Color: Colors for volume information display
Perfect for traders focusing on institutional price levels and volume-based trading strategies. The indicator helps identify potential reversal zones with strong institutional interest, validated by significant volume conditions.
SMA + RSI + Volume + ATR StrategySMA + RSI + Volume + ATR Strategy
1. Indicators Used:
SMA (Simple Moving Average): This is a trend-following indicator that calculates the average price of a security over a specified period (50 periods in this case). It's used to identify the overall trend of the market.
RSI (Relative Strength Index): This measures the speed and change of price movements. It tells us if the market is overbought (too high) or oversold (too low). Overbought is above 70 and oversold is below 30.
Volume: This is the amount of trading activity. A higher volume often indicates strong interest in a particular price move.
ATR (Average True Range): This measures volatility, or how much the price is moving in a given period. It helps us adjust stop losses and take profits based on market volatility.
2. Conditions for Entering Trades:
Buy Signal (Green Up Arrow):
Price is above the 50-period SMA (indicating an uptrend).
RSI is below 30 (indicating the market might be oversold or undervalued, signaling a potential reversal).
Current volume is higher than average volume (indicating strong interest in the move).
ATR is increasing (indicating higher volatility, suggesting that the market might be ready for a move).
Sell Signal (Red Down Arrow):
Price is below the 50-period SMA (indicating a downtrend).
RSI is above 70 (indicating the market might be overbought or overvalued, signaling a potential reversal).
Current volume is higher than average volume (indicating strong interest in the move).
ATR is increasing (indicating higher volatility, suggesting that the market might be ready for a move).
3. Take Profit & Stop Loss:
Take Profit: When a trade is made, the strategy will set a target price at a certain percentage above or below the entry price (1.5% in this case) to automatically exit the trade once that target is hit.
Stop Loss: If the price goes against the position, a stop loss is set at a percentage below or above the entry price (0.5% in this case) to limit losses.
4. Execution of Trades:
When the buy condition is met, the strategy will enter a long position (buying).
When the sell condition is met, the strategy will enter a short position (selling).
5. Visual Representation:
Green Up Arrow: Appears on the chart when the buy condition is met.
Red Down Arrow: Appears on the chart when the sell condition is met.
These arrows help you see at a glance when the strategy suggests you should buy or sell.
In Summary:
This strategy uses a combination of trend-following (SMA), momentum (RSI), volume, and volatility (ATR) to decide when to buy or sell a stock. It looks for opportunities when the market is either oversold (buy signal) or overbought (sell signal) and makes sure there’s enough volume and volatility to back up the move. It also includes take-profit and stop-loss levels to manage risk.
D-LEVELS **FUTURECODE**The D-LEVELS indicator helps traders identify key price levels based on high-volume nodes and their relative positions to the current price. It visually displays these dynamic levels on the chart, offering insights into potential support, resistance, or zones of interest for trading decisions.
Key Features for Traders:
Dynamic Volume Nodes: Highlights high-volume price levels across different lookback periods, which can act as support or resistance.
Custom Alerts: Warns traders when price is within a specified percentage range of these levels.
Visual Cues: Uses labels and lines with customizable colors and widths for better chart clarity.
Table Display: Summarizes volume node price levels and their relative percentages for quick reference.
Customization: Flexible input options for text size, colors, and display settings to adapt to individual trading styles.
Use Case:
Traders can incorporate this indicator into their strategy to identify high-probability zones for entries, exits, or trade management by observing the interaction of price with these volume-based levels.
MA Crossover with Demand/Supply Zones + Stop Loss/Take ProfitStop Loss and Take Profit Inputs:
Added stopLossPerc and takeProfitPerc as inputs to allow the user to define the stop loss and take profit levels as a percentage of the entry price.
Stop Loss and Take Profit Calculation:
For long positions, the stop loss is calculated as strategy.position_avg_price * (1 - stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 + takeProfitPerc).
For short positions, the stop loss is calculated as strategy.position_avg_price * (1 + stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 - takeProfitPerc).
Exit Strategy:
Added strategy.exit to define the stop loss and take profit levels for each trade. The from_entry parameter ensures that the exit is tied to the specific entry order.
Flexibility:
The stop loss and take profit levels are dynamic and adjust based on the entry price of the trade.
How It Works:
When a buy signal is generated (MA crossover near a demand zone), the strategy enters a long position and sets a stop loss and take profit level based on the input percentages.
When a sell signal is generated (MA crossunder near a supply zone), the strategy enters a short position and sets a stop loss and take profit level based on the input percentages.
The trade will exit automatically if either the stop loss or take profit level is hit.
Example:
If the entry price for a long position is $100, and the stop loss is set to 1% while the take profit is set to 2%:
Stop loss level =
100
∗
(
1
−
0.01
)
=
100∗(1−0.01)=99
Take profit level =
100
∗
(
1
+
0.02
)
=
100∗(1+0.02)=102
Notes:
You can adjust the stopLossPerc and takeProfitPerc inputs to suit your risk management preferences.
Always backtest the strategy to ensure the stop loss and take profit levels are appropriate for your trading instrument and timeframe.
Next level scolilay swing timerThe "Next Level Scolilay Swing Timer" is an advanced TradingView indicator designed to help traders navigate trends, reversals, and swing opportunities with ease. It's built around several key concepts like ATR filtering, ZigZag analysis, and momentum-based trend detection, making it a powerful tool for identifying market direction and key trading opportunities.
One of the standout features is its ability to filter candles using the Average True Range (ATR). This ensures that the indicator focuses on meaningful price movements rather than noise. You can tweak the ATR settings to suit your trading style, deciding how much historical data to consider or even turning the filter off completely if you prefer.
The script also integrates a ZigZag algorithm to detect pivot points, which it uses to evaluate swings in price action. This feature comes with customizable settings for depth and sensitivity, allowing you to adjust how the script reacts to price fluctuations. By analyzing these swings, the indicator identifies key highs and lows, which play a big role in determining whether the market is trending up or down.
When it comes to trends, the script is smart and flexible. It doesn't just look for higher highs or lower lows; it also considers momentum and retracement levels to decide if a trend is gaining strength or reversing. For example, it uses one-third retracement logic to spot sudden shifts in market direction, which can be critical for catching reversals early. You can also enable features like fast trend switching, which reacts to single-candle events that might signal a trend break.
Visualization is another area where this script shines. It marks uptrends and downtrends directly on the chart with clear labels, so you can instantly see when a new trend starts. Pink arrows appear above candles to signal potential downtrends, while yellow arrows below candles indicate possible uptrends. These signals combine multiple layers of analysis, like swing validation, ATR filtering, and trend confirmation, to give you reliable insights.
What makes the Swing Timer especially useful is its flexibility. Whether you’re a trend trader looking to ride major market moves, a swing trader focused on pivot points, or someone hunting for reversals, you can customize the settings to fit your needs. You can adjust everything from ZigZag and ATR parameters to how trends are labeled and filtered. The result is a tool that adapts to your trading style while still providing clear and actionable signals.
In short, this script brings together a range of advanced trading concepts into one user-friendly package. It’s perfect for traders who want to see market trends clearly, identify opportunities with confidence, and stay ahead of sudden reversals—all without getting bogged down in unnecessary complexity.
Internal Bar StrengthShort Description:
This indicator calculates the Internal Bar Strength (IBS) for each bar, which measures the close price’s relative position within that bar’s high-low range, and then optionally smooths that value with a selected moving average.
What Does It Measure?
Internal Bar Strength (IBS):
The IBS formula is (close-low)/(high-low)
. This ratio indicates where the closing price lies within a bar’s trading range:
A value near 0 means the close is near the bar’s low.
A value near 1 means the close is near the bar’s high.
A value of 0.5 means the close is exactly in the middle of the bar’s range.
Smoothing (Moving Averages):
You can choose to smooth the IBS value with one of five different moving average types: RMA, SMA, EMA, WMA, or VWMA. The default length for smoothing is 10, but this can be adjusted for more or less sensitivity.
Key Features
Multiple MA Options:
RMA: Also known as the Wilder’s moving average, it reacts slightly slower to changes than EMA.
SMA: Simple moving average, straightforward average of the last n values.
EMA: Exponential moving average, places more weight on recent data.
WMA: Weighted moving average, linear weighting from oldest to newest data.
VWMA: Volume-weighted moving average, weights price by trading volume.
Color Coding:
Green when IBS is greater than 0.5.
Red when IBS is less than or equal to 0.5.
Star Pattern IdentifierThe Star Pattern Identifier is a custom TradingView indicator designed to detect and mark Morning Star (MS) and Evening Star (ES) candlestick patterns, which are powerful reversal signals. This indicator offers a flexible and customizable approach by incorporating adjustable parameters for both the size and volume of the third candle in the pattern.
Key Features:
Morning Star (MS) : A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES) : A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier : Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier : Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle , followed by a bullish or indecisive second candle , and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle , followed by a bearish or indecisive second candle , and a bearish third candle .
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
[GrandAlgo] Candlestick ThemesTransform your TradingView charts with Candlestick Themes, an indicator that customizes candlestick colors using a variety of stunning themes. Whether you’re seeking improved clarity, enhanced personalization, or a fresh visual appeal, this indicator has something for everyone.
Key Features
This indicator offers a wide selection of pre-defined themes:
TradingView Default: The classic, familiar look of TradingView charts.
GrandAlgo: Our exclusive brand theme, blending vibrancy and professionalism for an exceptional charting experience.
MetaTrader-Inspired Themes: Green on Black, Yellow on Black, and Black on White, designed to replicate the iconic MetaTrader aesthetics.
Green Black: A calming and balanced theme for focused trading.
Darkblue Red: A bold and impactful combination with rich tones.
Darkblue Black: A subtle, sleek palette perfect for minimalists.
Lightblue Red: A mix of warm and cool tones for balanced visuals.
Lightblue Red (Gradient): Adds smooth transitions for a modern feel.
Lightblue Black: Crisp and clean for improved readability.
Crimson to Calm: A gradient theme transitioning from bold to tranquil tones.
Robinhood: Inspired by the clean and vibrant look of the popular trading platform.
Warm & Cool Harmony: A seamless blend of warm and cool tones.
Valentine: Passionate reds and pinks for a romantic visual.
Christmas: Festive greens and reds to match the holiday spirit.
Grapes: A playful mix of purples and greens.
Desert: Warm, sandy hues inspired by desert landscapes.
Real Madrid: A sporty theme with iconic colors for fans.
This indicator ensures seamless integration with TradingView charts, offering personalized trading experience. Whether you're a seasoned trader or just starting, these themes will make your charts both functional and visually appealing.
Volatility & Big Market MovesThis indicator shows the volatility per candle, and highlights candles where volatility exceeds a defined threshold.
Data shown:
Furthest %-distance from the previous candle's closing price to the top (positive histogram).
Furthest %-distance from the previous candle's closing price to the bottom (negative histogram).
Engulfing and ATR-Imbalance [odnac]This Pine Script indicator combines two powerful concepts—Engulfing Candlestick Patterns and ATR Imbalance—to identify potential market reversal points with increased precision.
Engulfing Candlestick Patterns:
Bullish Engulfing: Identified when a candle closes higher than it opens, and it completely engulfs the previous candle (previous close is lower than the current open, and previous high is lower than the current close).
Bearish Engulfing: Identified when a candle closes lower than it opens, and it completely engulfs the previous candle (previous close is higher than the current open, and previous low is higher than the current close).
Bar Coloring: These patterns are highlighted with a customizable color (light gray by default) to make them easily identifiable.
ATR-Based Imbalance:
The Average True Range (ATR) is used to measure market volatility, and this script checks if the current candle’s range (difference between high and low) exceeds a defined multiple of the ATR, indicating a possible imbalance.
Imbalance Detection: If the current candle’s range is greater than ATR * imbalance multiplier (default multiplier: 1.5), it is marked as an ATR imbalance.
Bar Coloring: Candles with a significant imbalance (greater range than the ATR-based threshold) are highlighted in yellow, indicating an outlier or extreme price movement.
Engulfing + ATR Imbalance:
When both a Bullish Engulfing pattern and an ATR Imbalance are detected, a green triangle up is plotted below the bar, signaling a potential bullish reversal.
Conversely, when both a Bearish Engulfing pattern and an ATR Imbalance occur, a red triangle down is plotted above the bar, signaling a potential bearish reversal.
User Inputs:
Engulfing Plot: Enable or disable the plotting of Engulfing Candles.
ATR Length: Set the period used to calculate the ATR (default is 5).
Imbalance Multiplier: Adjust the multiplier to define the threshold for ATR imbalance detection (default is 1.5).
Bar Colors: Customizable color for both Engulfing candles and Imbalance candles.
Engulfing & Imbalance Plot: Enable or disable plotting of the combined conditions (Engulfing + ATR Imbalance) with arrows.
How This Indicator Helps:
By combining price action patterns with volatility analysis, this indicator highlights high-probability reversal points where significant price movement (imbalance) coincides with a clear Engulfing pattern. Traders can use these signals to time entries or exits based on both price action and market volatility.
Malaysian SnR [by DanielM]The Malaysian SnR (Support and Resistance) levels are a popular trading concept that identifies specific price levels on charts which are considered significant for trading decisions. Here's a breakdown of the concepts:
A Levels and V Levels: These refer to specific types of SNR levels:
A Levels: These are formed at the highest points of price movements. The indicator highlights these levels with a red line.
V Levels: These are formed at the lowest points of price movements, typically observed as valleys in chart patterns. The indicator highlights these levels with a green line.
Fresh and Unfresh Levels:
Fresh Levels: These are price levels that have not been touched by a wick since their formation. They are considered more significant because they might provide a stronger reaction when the price touches these levels again.
Unfresh Levels: These are levels that have been touched by a wick since their formation. Each time a level is tested, it is considered less significant because it might offer weaker resistance or support. A level that has been tested can become fresh again if it's crossed by a candle body.
Gaps:
A gap occurs when you have two bullish candles or two bearish candles. It is defined as the area between the close of the first candle and the open of the next one. It is marked by drawing a line at the closing price of the first candle, thus representing the level where the gap was initially observed. The indicator highlights these levels with a blue lines for bullish gaps and violet lines for bearish gaps.
Fresh vs. Unfresh Gaps:
Similar to A and V levels, gaps can be classified as fresh or unfresh. A fresh gap is one that hasn't been touched by a wick after it was created. These are often considered more significant because they may hold stronger as potential support or resistance. Unfresh gaps have been touched by a wick, and they may be considered less significant. A gap that has been tested can become fresh again if it's crossed by a candle body.
Inputs:
Number of bars to look back to detect A levels, V levels, and Gaps.
Allows users to toggle the visibility of only fresh A and V levels.
Allows users to decide whether to display gap levels or not.
Allows users to decide whether to display only fresh gaps.
Allows the users to set the maximum number of A levels, V levels and gaps on the chart.
Breakout Josip strategy is focused on analyzing price movements during specific time intervals (from 9:00 AM to 12:00 PM) each day. It tracks the highest and lowest prices in that period and uses them to set targets for potential trades, placing horizontal lines based on these levels. Additionally, you're interested in tracking the success and failure of trades based on whether price breaks certain levels during this time range. The strategy also calculates various metrics like the percentage of successful trades, failed trades, and total trades during a selected time range.
Weekly Change(Green&Red) & Percentage Change(Blue&Yellow)Display bar chart of weekly price action. Use to determine the maximum price change in one week. It would be the possible strike price for a covered call option for weekly income.
Custom Support LineIt is made with the following conditions in mind.
1. At the center of the candle at the moment,
Out of the last 10 candles, the low price (L) is within 3% of each other, drawing one line at the low prices of the candles.
2. Out of the last 10 candles, the market price (O) is within 3% of each other, drawing one line at the low end of each candle.
3.Out of the last 10 candles, the closing price (C) is within 3% of each other, and one line is drawn at the lower prices of the candles.
4. Draw one line when the three lines match the above three conditions.
We wanted to create a clear support line according to the above conditions.
Last Candle Close Above/Below AlertHow it works:
The script calculates whether the close of each candle is above or below the close of the previous candle, same as the initial code.
isLastBar is checked and the last candle to be created is the only one that will receive the condition from this variable.
If a highlight is needed it will use this criteria and apply the correct color for the last candle only, and any other candle will not be colored.
If alerts are enabled they will only work for the last bar too.
How to Use:
Add this script to your TradingView chart.
Use the inputs to set the desired timeframe to analyze, whether you want an alert for candles closing above or closing below and the background colors.
The last candle will highlight yellow when the close is higher or lower than the previous candle.
Alerts will be triggered on the last candle if you enable the alert conditions.
Key Features:
Timeframe Selection: You can choose a different timeframe in the settings.
Candle Highlight: Candles that close above or below the previous candle are highlighted in yellow.
Alerts: Alerts are configurable to trigger for "Close Above" or "Close Below" conditions, based on your selection in the settings.