LinReg Heikin Ashi CandlesLinear Regression Heikin Ashi Candles will dramatically change how the candlesticks on your chart will appear. This script creates Heikin Ashi candles from the existing candlesticks and then applies wickless Linear Regression candles as an overlay. The result is an ultra smoothed 'Renko-like' chart that remains time-based and responsive.
Key Features:
Heikin Ashi Base: Provides a smoother representation of price trends by filtering out noise.
Linear Regression Candles on Heikin Ashi: Plots Linear Regression lines as candles on the Heikin Ashi chart, potentially highlighting the immediate trend direction and momentum within the smoothed data. Wicks are intentionally removed for a clearer focus on the linear progression.
Tillson T3 Moving Averages: Includes fast and slow T3 Moving Averages with customizable length and alpha. These smoothed moving averages can help identify trend direction and potential crossover signals. Users can toggle their visibility.
Volatility Bands: Integrates Volatility Bands based on Average True Range (ATR) with customizable length, ATR type (RMA, SMA, EMA, WMA), and inner/outer multipliers. These bands help gauge price volatility and potential reversal zones. Users can toggle the visibility of the basis line.
Customizable Colors: Allows users to customize the colors of the Linear Regression Heikin Ashi bullish and bearish candles.
How to Use:
This is an overlay on your chart so you'll need to 'hide' the existing candlesticks on your chart.
This indicator can be used on any timeframe from seconds to days to quickly identify market trend, gauge volatility, and potentially find entry/exit points. Consider looking for confluence between the candle color/direction, T3 MA crossovers, and price interaction with the Volatility Bands.
Note: This indicator plots Linear Regression directly on Heikin Ashi candles, removing wicks for a focus on the linear trend within the smoothed data. Adjust the input parameters to suit your trading style and the specific market conditions.
HUGE CREDIT to ugurvu who originally created the Linear Regression Candles indicator that my indicator pulls code from.
Analisis Candlestick
FVG Alerts v1.0This indicator automatically spots fair value gaps on your TradingView chart. It marks bullish gaps where price jumped up and bearish gaps where price dropped down. You see clear colored boxes around each gap for quick visual identification. The first valid bullish gap of the day triggers a one‑time alert so you catch prime opportunities. Behind the scenes it checks that gaps are significant by looking at price movement strength. It also confirms that volume was higher than usual during the gap bar for added reliability. Additionally it considers past order blocks to ensure gaps happen near key areas. As soon as price returns into a gap zone the boxes automatically disappear to keep your chart neat. You can choose any higher timeframe for gap detection to match your trading style. Colors for bullish and bearish gaps are fully customizable so they stand out on your setup. Sensitivity settings let you adjust how small or large a gap must be to appear. The indicator manages how many past zones to track so you never overload your chart. Alert conditions are named clearly for easy integration with TradingView notifications. You can link those alerts to email, SMS, or webhook services for instant updates. No coding is required to get started—all options are available in the input menu.
This tool streamlines gap‑based trading by automating every step from detection to alerting. It saves you time by filtering out weak or insignificant gaps before showing them. With clear visuals you can focus on price action without digging through raw data. The dynamic reset ensures you only get one first‑bull alert per day, preventing noise. Custom timeframe selection allows you to spot gaps on any timeframe from minutes to days. The automatic cleanup keeps your workspace clutter‑free and responsive. You choose how many past gaps to keep visible, so you control chart complexity. Built‑in risk‑control filters help you avoid traps where price gap zones lack follow‑through. Alerts pop up right on the chart and can be sent to external apps for mobile convenience. Visual customization options include box opacity, line thickness, and extend length. Everything is wrapped in a straightforward interface that traders at any level can use. Whether you are scalping or swing trading this indicator adapts to your pace. It brings professional gap‑analysis techniques within reach without programming skills. By focusing on high‑confidence gaps you can refine entries and exits more effectively. Overall this indicator empowers traders to spot strong gap setups and act quickly.
Bullish & Bearish Engulfing ProHello Traders!
Overview
The Bullish & Bearish Engulfing Pro indicator is a powerful pattern recognition tool that identifies key reversal points and trend continuation opportunities. These engulfing patterns often mark the beginning of a significant price move and are widely used in technical analysis. For example, in an uptrend, a Bullish Engulfing pattern can provide an ideal pullback entry signal.
This indicator combines traditional candlestick theory with advanced technical filters like trend direction and volatility analysis to offer traders precise, high-confidence signals.
Key Features :
Accurate pattern detection:
Uses refined algorithms to detect true Bullish and Bearish Engulfing patterns, filtering out noise and false positives.
Trend filter:
Customizable Simple Moving Average (SMA) ensures trades are aligned with the market’s broader trend, improving trade success rates.
Volatility awareness:
ATR-based filtering ensures that only statistically significant engulfing patterns are highlighted.
Visual clarity:
Bullish and Bearish Engulfing patterns are displayed with distinct, customizable colors and labels for instant recognition.
Flexible customization:
Users can adjust detection criteria, SMA settings, and visual options to suit their personal strategy.
Filtered signal display:
Option to visualize filtered-out signals to better understand how the logic makes its decisions.
Bullish Engulfing Pattern
Appears after a downtrend or during a pullback in an uptrend
Consists of two candles
A smaller bearish candle
Followed by a larger bullish candle that completely engulfs the previous body
Bearish Engulfing Pattern
Appears after an uptrend or during a pullback in a downtrend
Consists of two candles
A smaller bullish candle
Followed by a larger bearish candle that completely engulfs the previous body
Key differences in this implementation
What makes this indicator unique
Trend and volatility filters
Ensure patterns occur in meaningful market conditions
Comprehensive pattern analysis:
Factors in candle body ratios, wick sizes, and relative size to past candles for smarter detection
Adaptive to market conditions:
Dynamic thresholds based on ATR allow pattern recognition to adjust to different volatility regimes
Educational value:
Visualizing rejected patterns helps traders build intuition and refine their discretion
How to Trade with this Indicator
Engulfing patterns can signal strong reversals or pullback continuations. Use them with trend and volume confirmation to maximize their effectiveness.
snapshot
Bullish Opportunities:
Look for Bullish Engulfing patterns (aqua-colored candles and labels) during or after a pullback in an uptrend.
Bearish Opportunities:
Watch for Bearish Engulfing patterns (orange-colored candles and labels) during or after a rally in a downtrend.
Entry: Enter on the next bar open after the engulfing candle completes.
Stop loss: 2 ticks below/above the engulfing candle’s low/high.
Take profit: Aim for at least a 2R target, a swing high/low or manage the tradewith a trailing stop.
Trend Alignment:
For higher win probability, take trades only in the direction of the SMA-defined trend.
Note: To ensure the candle coloring appears correctly, place the indicator at the top of the object tree.
3CRGANG - TRUE RANGEThis indicator helps traders identify key support and resistance levels using dynamic True Range calculations, while also providing a multi-timeframe trend overview. It plots True Range levels as horizontal lines, marks breakouts with arrows, and displays trend directions across various timeframes in a table, making it easier to align trades with broader market trends.
What It Does
The 3CRGANG - TRUE RANGE indicator calculates dynamic support and resistance levels based on the True Range concept, updating them as price breaks out of the range. It also analyzes trend direction across multiple timeframes (M1 to M) and presents the results in a table, using visual cues to indicate bullish, bearish, or neutral conditions.
Why It’s Useful
This script combines True Range analysis with multi-timeframe trend identification to provide a comprehensive tool for traders. The dynamic True Range levels help identify potential reversal or continuation zones, while the trend table allows traders to confirm the broader market direction before entering trades. This dual approach reduces the need for multiple indicators, streamlining analysis across different timeframes and market conditions.
How It Works
The script operates in the following steps:
True Range Calculation: The indicator calculates True Range levels (support and resistance) using price data (close, high, low) from a user-selected timeframe. It updates these levels when price breaks above the upper range (bullish breakout) or below the lower range (bearish breakout).
Line Plotting: Two styles are available:
"3CR": Plots one solid line after a breakout (green for bullish, red for bearish) and removes the opposing line.
"RANGE": Plots both upper and lower range lines as dotted lines (green for support, red for resistance) until a breakout occurs, then solidifies the breakout line.
Multi-Timeframe Trend Analysis: The script analyzes trend direction on multiple timeframes (M1, M5, M15, M30, H1, H4, D, W, M) by comparing the current close to the True Range levels on each timeframe. A trend is:
Trend Table: A table displays the trend direction for each timeframe, with color-coded backgrounds (green for bullish, red for bearish) and triangles to indicate the trend state.
Breakout Arrows: When price breaks above the upper range, a green ▲ arrow appears below the bar (bullish). When price breaks below the lower range, a red ▼ arrow appears above the bar (bearish).
Bullish (▲): Price is above the upper range.
Bearish (▼): Price is below the lower range.
Neutral (△/▽): Price is within the range, with the last trend indicated by an empty triangle (△ for last bullish, ▽ for last bearish).
Alerts: Breakout alerts can be set for each timeframe, with options to filter by trading sessions (e.g., New York, London) or enable all-day alerts.
Underlying Concepts
The script uses the True Range concept to define dynamic support and resistance levels, which adjust based on price action to reflect the most relevant price zones. The multi-timeframe trend analysis leverages the same True Range logic to determine trend direction, providing a consistent framework across all timeframes. The combination of breakout signals and trend confirmation helps traders align their strategies with both short-term price movements and longer-term market trends.
Use Case
Breakout Trading: Use the True Range lines and arrows to identify breakouts. For example, a green ▲ arrow below a bar with price breaking above the upper range suggests a potential long entry.
Trend Confirmation: Check the trend table to ensure the breakout aligns with the broader trend. For instance, a bullish breakout on the 1H chart is more reliable if the D and W timeframes also show bullish trends (▲).
Range Trading: When price is within the True Range (dotted lines in "RANGE" style), consider range-bound strategies, buying near support and selling near resistance, while monitoring the table for potential trend shifts.
Settings
Input Timeframe: Select the timeframe for True Range calculations (default: chart timeframe).
True Range Style: Choose between "3CR" (single line after breakout) or "RANGE" (both lines until breakout) (default: 3CR).
Change Symbol: Compare a different ticker if needed (default: chart symbol).
Color Theme: Select "LIGHT THEME" or "DARK THEME" for colors, or enable custom colors (default: LIGHT THEME).
Table Position: Set the trend table’s position (center, right, left) (default: right).
Multi Res Alerts Setup: Enable/disable breakout alerts for each timeframe (default: enabled for most timeframes).
Sessions Alerts: Filter alerts by trading sessions (e.g., New York, London) or enable all-day alerts (default: most sessions enabled).
Chart Notes
The chart displays the script’s output on XAUUSD (1H timeframe), showing:
Candlesticks representing price action.
True Range lines (green for support, red for resistance) in "3CR" style, with solid lines after breakouts and dotted lines during range-bound periods.
Arrows (green ▲ below bars for bullish breakouts, red ▼ above bars for bearish breakouts) indicating range breakouts.
A trend table in the top-right corner labeled "TREND EA," showing trend directions across timeframes (M1 to M) with triangles (▲/▼ for active trends, △/▽ for last trend) and color-coded backgrounds (green for bullish, red for bearish).
Notes
The script uses the chart’s ticker by default but allows comparison with another symbol if enabled.
Trend data for higher timeframes (e.g., M) may not display if the chart’s history is insufficient.
Alerts are triggered only during selected trading sessions unless "ALL DAY ALERTS" is enabled.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
No Wick Candle Finder"No Wick Candle Finder", is a visual that identifies and confirms candlestick patterns with no wicks—a rare but significant type of price action. Here's a breakdown of what it does, how it works, and why traders might find it useful:
This script highlights candles with no wicks and adds an extra layer of confirmation before plotting a signal.
📌 What is a No-Wick Candle?
A "no-wick" candle means:
Bullish (green) no-wick candle:
Open = Low
Close = High
Strong buying pressure from start to end of the candle.
Bearish (red) no-wick candle:
Open = High
Close = Low
Strong selling pressure throughout the candle.
These candles indicate a clear directional move with no retracement during the timeframe.
🧠 Trading Use Cases
Trend Continuation Entry: These candles can signal strong momentum continuation.
Breakout Confirmation: Often appear on breakouts—confirming strength.
Scalping or Intraday: Great for short timeframes where clean moves matter most.
Big Candle Highlighter (Nifty 1m)This indicator will help option buyers to avoid taking trade in impulsive candles.
For Example :
Normal 1m candle: ~10–15 pts
Big candle (possible liquidity/impulse): >18 pts
Very large / avoid chasing: >25 pts
If you see a candle that breaks structure with a 25-30 point range and closes strong, it’s often:
A liquidity sweep
A news spike
Or the start of an impulsive leg — in which case entering at close can be risky without a retest
3-Bar ReversalAbout the Script
This script automatically detects and plots a signal when a Three-Bar Reversal pattern appears on the chart, helping traders identify potential trend reversals with ease.
How to Use the Script
1) Add the script to your chart.
2) Customize the visual appearance to match your preferences.
3) Click "OK" to apply the changes.
Once configured, the script will highlight valid Three-Bar Reversal patterns when they form.
How the Script Works
The Three-Bar Reversal pattern consists of three consecutive candlesticks, each playing a crucial role in identifying market shifts:
First Bar: Represents the existing trend.
In a bullish reversal, the first bar is typically bearish (downward).
In a bearish reversal, the first bar is typically bullish (upward).
Second Bar: Indicates indecision or trend exhaustion.
This bar often has a smaller body (such as a doji or spinning top), showing weakening momentum.
It may also feature wicks on both sides, reflecting market uncertainty.
Third Bar: Confirms the reversal.
In a bullish reversal, the third bar closes above the high of the first bar, signaling a potential upward move.
In a bearish reversal, the third bar closes below the low of the first bar, signaling a potential downward trend.
Once the pattern is confirmed, a marker will appear below the third bar, helping traders quickly spot opportunities.
Consecutive Small CandlesThis script identifies relatively "small" candles based on their being smaller than a maximum size you set based on the instrument and your own criteria. Default is 5, as I use this indicator largely on CL which rarely has candles smaller than 3 ticks but frequently greater than 5.
It identifies 2 or more consecutive candles to help identify patterns similar to Bob Volman's Double Doji Break methodolgy. Written by Grok 3.
Engulfing Entry Candle with StreaksMarks engulfing candles and tally's consecutive without an opposite signal.
There is a tally board and the look back is user defined. For use as confluence or as part of other strategies.
Candlestick Pattern Indicator – Doji, Harami, More [algo_aakash]This Candlestick Pattern Indicator is designed to help traders identify key price action patterns like Bullish Engulfing, Bearish Engulfing, Doji, Hammer, Morning Star, Evening Star, and many more directly on your TradingView chart. With customizable options to display both bullish and bearish patterns , this indicator provides real-time visual markers and labels, helping you make informed trading decisions.
Key features of the indicator include:
Detects popular candlestick patterns such as Bullish Engulfing, Bearish Engulfing, Hammer, Morning Star, Tweezer Tops, and more.
Customizable settings for displaying pattern shapes, labels, and opacity, tailored to your trading preferences.
Option to plot signals only after a candle closes, ensuring accuracy.
Alerts for immediate notification of detected patterns.
Visual markers on the chart, including arrows and labels, for quick recognition of potential trade setups.
This indicator is ideal for traders who rely on candlestick patterns for technical analysis and want an automated tool to highlight these setups for easier decision-making.
Whether you're a beginner or an experienced trader, this tool will help you spot important patterns in real-time without cluttering your chart.
Candle Trend PowerThe Candle Trend Power is a custom technical indicator designed for advanced trend analysis and entry signal generation. It combines multiple smoothing methods, candle transformations, and volatility bands to visually and analytically enhance your trading decisions.
🔧 Main Features:
📉 Custom Candle Types
It transforms standard OHLC candles into one of several advanced types:
Normal Candles, Heikin-Ashi, Linear Regression, Rational Quadratic (via kernel filtering), McGinley Dynamic Candles
These transformations help traders better see trend continuations and reversals by smoothing out market noise.
🧮 Smoothing Method for Candle Data
Each OHLC value can be optionally smoothed using:
EMA, SMA, SMMA (RMA), WMA, VWMA, HMA, Mode (Statistical mode) Or no smoothing at all.
This flexibility is useful for customizing to different market conditions.
📊 Volatility Bands
Volatility-based upper and lower bands are calculated using:
Band = price ± (price% + ATR * multiplier)
They help identify overbought/oversold zones and potential reversal points.
📍 Candle Color Logic
Each candle is colored:
Cyan (#00ffff) if it's bullish and stronger than the previous candle
Red (#fd0000) if it's bearish and weaker
Alternating bar index coloring improves visual clarity.
📈 Trend Momentum Labels
The script includes a trend strength estimation using a smoothed RSI:
If the candle is bullish, it shows a BUY label with the overbought offset.
If bearish, it shows a SELL label with the oversold offset.
These labels are dynamic and placed next to the bar.
📍 Signal Markers
It also plots triangles when the price crosses the volatility bands:
Triangle up for potential long
Triangle down for potential short
✅ Use Case Summary
This script is mainly used for:
Visual trend confirmation with enhanced candles
Volatility-based entry signals
RSI-based trend momentum suggestions
Integrating different smoothing & transformation methods to fine-tune your strategy
It’s a flexible tool for both manual traders and automated system developers who want clear, adaptive signals across different market conditions.
💡 What's Different
🔄 Candle Type Transformations
⚙️ Custom Candle Smoothing
📉 Candle's Multi-level Volatility Bands
🔺 Dynamic Entry Signals (Buy/Sell Labels)
❗Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz"FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz " is a powerful TradingView indicator designed to enhance your trading strategy by identifying key market structures and levels. This all-in-one tool detects Fair Value Gaps (FVGs), Swing Highs/Lows, and previous Day, Previous Week, and Previous Month Highs/Lows, helping traders make informed decisions with ease.
Key Features:
Bullish & Bearish FVG Detection: Highlights Fair Value Gaps with customizable colors, labels, and extension options.
Swing Highs & Lows: Automatically detects and marks Swing Highs and Lows with adjustable display settings and extensions.
Next Target Levels: Identifies potential price targets based on market direction (rising or falling).
Daily, Weekly, and Monthly High/Low Levels: Displays previous day, week, and month highs/lows with customizable colors.
Customizable Settings: Fully adjustable inputs for colors, number of levels to display, and extension periods.
Clean Visuals: Intuitive and non-intrusive design with dashed lines, labels, and tooltips for better chart readability.
This indicator is ideal for traders looking to identify key price levels, improve market structure analysis, and enhance their trading strategies.
Happy Trading,
Trader Riaz
Failed Breakout DetectionThis indicator is a reverse-engineered copy of the FBD Detection indicator published by xfuturesgod. The original indicator aimed at detecting "Failed Breakdowns". This version tracks the opposite signals, "Failed Breakouts". It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
The original description, with terminology reversed to explain this version:
'Failed Breakouts' are a popular set up for short entries.
In short, the set up requires:
1) A significant high is made ('initial high')
2) Initial high is undercut with a new high
3) Price action then 'reclaims' the initial high by moving +8-10 points from the initial high
This script aims at detecting such set ups. It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
Business Logic:
1) Uses pivot highs to detect 'significant' initial highs
2) Uses amplitude threshold to detect a new high above the initial high; used /u/ben_zen script for this
3) Looks for a valid reclaim - a red candle that occurs within 10 bars of the new high
4) Price must reclaim at least 8 points for the set up to be valid
5) If a signal is detected, the initial high value (pivot high) is stored in array that prevents duplicate signals from being generated.
6) FBO Signal is plotted on the chart with "X"
7) Pivot high detection is plotted on the chart with "P" and a label
8) New highs are plotted on the chart with a red triangle
Notes:
User input
- My preference is to use the defaults as is, but as always feel free to experiment
- Can modify pivot length but in my experience 10/10 work best for pivot highs
- New high detection - 55 bars and 0.05 amplitude work well based on visual checks of signals
- Can modify the number of points needed to reclaim a high, and the # of bars limit over which this must occur.
Alerts:
- Alerts are available for detection of new highs and detection of failed breakouts
- Alerts are also available for these signals but only during 7:30PM-4PM EST - 'prime time' US trading hours
Limitations:
- Current version of the script only compares new highs to the most recent pivot high, does not look at anything prior to that
- Best used as a discretionary signal
50%er(PreMarket & ORB)50%er(PreMarket & ORB)
Overview:
50%er(PreMarket & ORB) is a streamlined version of my full 50%er script. It calculates the critical 50% level of the previous candle and extends this to daily, weekly, monthly, quarterly, and yearly timeframes. The script also detects and plots previous highs and lows for these timeframes, providing key price levels for traders. Additionally, it calculates and displays opening levels for the day, week, month, quarter, and year. A custom timeframe feature adds flexibility for setting 50% and high/low levels, catering to different trading preferences.
How It Works:
The script calculates the 50% midpoint of the previous candle’s high and low, a key support/resistance level for traders. It extends this logic across multiple timeframes, including daily, weekly, monthly, quarterly, and yearly, and tracks previous highs and lows for these periods. It also prints opening levels for various timeframes. The premarket high/low and ORB (Opening Range Breakout) levels are included when extended hours are enabled.
How to Use:
Adding to Chart: Apply the 50%er Script Lite to your TradingView chart.
Configuring Inputs: Adjust timeframes and levels to match your trading strategy. The custom timeframe feature allows for personalization.
Analyzing Levels: Use the plotted 50% lines and opening levels to identify potential support and resistance areas, as well as breakout or breakdown points.
Strategizing Trades: Incorporate these levels into your trading plan for potential entry and exit points.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. It focuses on the essential 50% line and key price levels, offering a clear view of the market without unnecessary complexity. The inclusion of premarket levels and ORB breakout levels, along with the custom timeframe feature, makes it a versatile tool for traders of all levels.
Consecutive CandlesSummary
This indicator helps visualize short-term momentum by automatically drawing boxes around sequences of consecutive same-colored candles (bullish or bearish). It's designed to quickly highlight periods of sustained buying or selling pressure directly on your chart.
How it Works
Consecutive Candle Detection: The script monitors the chart bar by bar, tracking consecutive candles where close > open (bullish) or close < open (bearish).
Box Drawing: When a sequence of same-colored candles reaches a user-defined minimum length (default is 3) and this sequence is then broken by an opposite-colored candle or a doji, a box is drawn.
Box Boundaries:
The top of the box is set to the highest high price reached during the sequence.
The bottom of the box is set to the lowest low price reached during the sequence.
The left edge of the box aligns with the start time of the first candle in the sequence.
The right edge of the box aligns with the end time of the last candle in the sequence.
Stability: Uses xloc = xloc.bar_time to ensure boxes remain accurately anchored to the price bars when zooming or panning the chart.
Real-time Extension: For active sequences meeting the minimum length on the latest developing bar, the box is optionally extended to the right.
Features
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bullish candles.
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bearish candles.
Extends box in real-time for active qualifying sequences.
Customizable minimum candle count (>= 2).
Customizable colors for bullish/bearish boxes and borders.
Settings
You can customize the indicator via the Settings menu (gear icon):
Minimum Consecutive Candles: Define how many candles in a row are needed to draw a box (Default: 3).
Bullish Box Color: Set the fill color for boxes around bullish sequences.
Bearish Box Color: Set the fill color for boxes around bearish sequences.
Box Border Color: Set the color for the border of all boxes.
Potential Use Cases
Momentum Identification: Quickly spot periods of strong, uninterrupted buying or selling.
Exhaustion/Reversal Signals: Very long sequences might indicate potential exhaustion, setting up reversal opportunities.
Consolidation Breakouts: A box forming after a period of tight consolidation can highlight the range just before a potential breakout.
Confirmation: Use the boxes as confirmation for entries or exits based on momentum shifts.
Disclaimer: This indicator provides visual aids based on price action. It should not be used as a standalone trading system. Always use indicators in conjunction with your own analysis and risk management rules.
BIX Candle MarkerBIX Candle Marker (by Bogdan Ilie)
"BIX Candle Marker" is a visual indicator designed to automatically mark the High and Low levels of specific candles at user-defined times and sessions directly on the main chart, facilitating easy intraday analysis.
**How does it work?**
- The indicator automatically fetches the High and Low values from a user-specified timeframe and draws horizontal lines at these levels at precise user-defined session times.
- You can configure up to 4 different sessions per trading day, each with its own customizable color and timing.
- Marked levels are automatically reset at the start of each new trading day.
**Customizable Settings:**
- **Timezone Offset:** Adjust the indicator according to your chart's timezone.
- **Candle Time Frame:** Choose the timeframe from which the candle data will be extracted.
- **Marker Length:** Set the length (number of bars) of the displayed horizontal lines.
- **Line Thickness & Style:** Customize the thickness and style of the lines (solid, dotted, dashed).
- **Sessions (1-4):** Independently configure the hour, minute, and color for each of the four possible sessions.
**Suggested Use:**
- Quickly identify intraday support and resistance levels based on key session candles.
- Ideal for breakout and reversal-based trading strategies.
---
**Disclaimer:**
This indicator is intended solely for chart analysis and educational purposes. It does not constitute financial advice. Always use it in conjunction with your personal trading strategy and risk management practices.
Author: Bogdan Ilie
Pine Script Version: v6
License: Mozilla Public License 2.0
---
BIX Candle Marker (by Bogdan Ilie)
"BIX Candle Marker" este un indicator vizual care marchează automat nivelurile High și Low ale lumânărilor specifice din sesiuni predefinite pe graficul principal, facilitând analiza punctelor-cheie intraday.
**Cum funcționează?**
- Indicatorul preia automat nivelurile maxime și minime dintr-un timeframe personalizabil și afișează linii orizontale pentru aceste nivele exact la orele și minutele configurate.
- Permite definirea a până la 4 sesiuni diferite într-o zi, fiecare având culori și setări proprii.
- Liniile marcate se resetează automat la începutul fiecărei zile de tranzacționare.
**Setări personalizabile:**
- **Timezone Offset:** ajustează indicatorul în funcție de fusul orar al graficului.
- **Candle Time Frame:** selectează timeframe-ul din care se vor prelua datele.
- **Marker Length:** stabilește lungimea (numărul de bare) liniilor orizontale afișate.
- **Line Thickness & Style:** grosimea și stilul liniilor pot fi personalizate (solid, punctat, întrerupt).
- **Sesiuni (1-4):** ora, minutul și culoarea fiecărei sesiuni pot fi configurate independent.
**Sugestii de utilizare:**
- Folosește indicatorul pentru a identifica rapid zonele de suport și rezistență create de lumânări-cheie pe parcursul zilei.
- Poate fi util pentru strategii bazate pe breakout sau reversal.
---
**Disclaimer:**
Acest indicator este destinat exclusiv analizei grafice și nu reprezintă sfaturi financiare. Utilizează-l împreună cu propriile strategii și tehnici de gestionare a riscului.
Autor: Bogdan Ilie
Versiune Pine Script: v6
Licență: Mozilla Public License 2.0
Open Price on Selected TimeframeIndicator Name: Open Price on Selected Timeframe
Short Title: Open Price mtf
Type: Technical Indicator
Description:
Open Price on Selected Timeframe is an indicator that displays the Open price of a specific timeframe on your chart, with the ability to dynamically change the color of the open price line based on the change between the current candle's open and the previous candle's open.
Selectable Timeframes: You can choose the timeframe you wish to monitor the Open price of candles, ranging from M1, M5, M15, H1, H4 to D1, and more.
Dynamic Color Change: The Open price line changes to green when the open price of the current candle is higher than the open price of the previous candle, and to red when the open price of the current candle is lower than the open price of the previous candle. This helps users quickly identify trends and market changes.
Features:
Easy Timeframe Selection: Instead of editing the code, users can select the desired timeframe from the TradingView interface via a dropdown.
Dynamic Color Change: The color of the Open price line changes automatically based on whether the open price of the current candle is higher or lower than the previous candle.
Easily Track Open Price Levels: The indicator plots a horizontal line at the Open price of the selected timeframe, making it easy for users to track this important price level.
How to Use:
Select the Timeframe: Users can choose the timeframe they want to track the Open price of the candles.
Interpret the Color Signal: When the open price of the current candle is higher than the open price of the previous candle, the Open price line is colored green, signaling an uptrend. When the open price of the current candle is lower than the open price of the previous candle, the Open price line turns red, signaling a downtrend.
Observe the Open Price Levels: The indicator will draw a horizontal line at the Open price level of the selected timeframe, allowing users to easily monitor this important price.
Benefits:
Enhanced Technical Analysis: The indicator allows you to quickly identify trends and market changes, making it easier to make trading decisions.
User-Friendly: No need to modify the code; simply select your preferred timeframe to start using the indicator.
Disclaimer:
This indicator is not a complete trading signal. It only provides information about the Open price and related trends. Users should combine it with other technical analysis tools to make more informed trading decisions.
Summary:
Open Price on Selected Timeframe is a simple yet powerful indicator that helps you track the Open price on various timeframes with the ability to change colors dynamically, providing a visual representation of the market's trend.
Advanced ORB IndicatorAdvanced ORB (Opening Range Breakout) Indicator
Overview
The Advanced ORB Indicator is a sophisticated trading tool designed to capture high-probability breakout opportunities across multiple markets. By identifying the opening range of a trading session and detecting meaningful breakouts, this indicator helps traders enter trending moves with strong momentum while filtering out false signals.
Core Concept
The Opening Range Breakout strategy is based on the principle that the initial trading range of a session often defines key support and resistance levels. When price breaks convincingly beyond this range with proper confirmation, it frequently indicates the beginning of a directional move that can persist throughout the session.
Key Features
### Intelligent Market Detection
- Automatically identifies market type (US Stocks, Forex, Crypto, EU/Asia Stocks)
- Applies optimal default timings based on market characteristics
- Configurable time zones (Exchange, UTC, Local) for precise session timing
Customizable Session Settings
- Adjustable opening range duration (15-240 minutes)
- Flexible reset periods (Daily, Weekly, Monthly, or Never)
- Custom session start times to match specific market opens or pre-market periods
Advanced Signal Filtering
- Multi-factor confirmation system requiring strong candle bodies, proper wick ratios, and minimum breakout percentages
- Smart cooldown periods preventing clustered signals
- Retracement detection that resets signals after meaningful pullbacks
Quality Control Mechanisms
- Volume threshold filter for stronger conviction entries
- RSI-based filters to avoid overbought/oversold conditions
- Trend alignment validation using EMA and directional analysis
- Consecutive candle confirmation for higher reliability
Visual Clarity
- Clear high/low boundary visualization
- Comprehensive status panel showing current levels, trend status, and filter conditions
- Clean, non-repainting signal triangles at breakout points
Trading Applications
Stocks & ETFs
Perfect for capturing morning momentum after market open, especially effective on US equities where the first 30-60 minutes often set the tone for the day. Excellent for gap fills, trend continuations, and reversal confirmations.
Forex & Futures
Ideal for session-based strategies around London/New York opens, capturing institutional order flow as major players enter the market. Can be configured for H4/H1 longer-term breakouts in 24-hour markets.
Cryptocurrency
Powerful for identifying key breakout levels in volatile crypto markets, with adjustable parameters to filter out noise while catching significant moves. Especially effective during high-volume periods following consolidation.
Strategic Implementation
The indicator excels when used as part of a complete trading system. Consider these approaches:
1. Pure Momentum Strategy: Enter on signal, exit at fixed R:R or end of session
2. Trend Continuation: Only take signals in the direction of the higher timeframe trend
3. Support/Resistance Validation: Combine with key S/R levels for higher probability entries
4. Volume Profile Confirmation: Use in conjunction with volume profile to verify breakout significance
Optimization Tips
- Adjust Opening Range Duration based on market volatility (shorter for choppy markets, longer for trending)
- Increase filter requirements during uncertain market conditions
- Loosen filters during strong trending environments
- Use longer durations (120+ minutes) for swing trading setups
- Consider Weekly/Monthly reset periods for positional trading approaches
Performance Notes
The Advanced ORB Indicator is designed to produce fewer, higher-quality signals rather than frequent low-conviction entries. The multiple confirmation requirements mean you'll catch fewer false breakouts at the expense of occasionally later entries.
For best results, combine with proper risk management, position sizing, and an understanding of the broader market context.
*This indicator works on all timeframes but performs optimally on 1-minute to 15-minute charts for intraday trading and 1-hour to 4-hour charts for swing trading opportunities.*
// @version=5
indicator("Advanced ORB Indicator", overlay=true)
// ===================================================================
// SIGNAL REQUIREMENTS DOCUMENTATION
// ===================================================================
//
// BULL SIGNAL REQUIREMENTS:
// - ORB period must be completed (not in the opening range duration anymore)
// - Price must close above the ORB high (if waitForClose is enabled)
// - Candle must have a strong body (body to range ratio >= minBodyToRangeRatio)
// - Valid upper wick (upper wick to body ratio <= wickThreshold)
// - Bullish candle (close > open)
// - Consecutive candle confirmation (if enabled, requires multiple candles meeting criteria)
// - Volume filter (if enabled, volume > average volume * threshold)
// - RSI filter (if enabled, RSI must not be overbought)
// - EMA filter (if enabled, price must be above short EMA)
// - Trend filter (if enabled, must be in an uptrend)
// - Cooldown period satisfied (minimum bars between signals)
// - Not already signaled a bull breakout for this ORB (unless reset by retracement)
//
// BEAR SIGNAL REQUIREMENTS:
// - ORB period must be completed (not in the opening range duration anymore)
// - Price must close below the ORB low (if waitForClose is enabled)
// - Candle must have a strong body (body to range ratio >= minBodyToRangeRatio)
// - Valid lower wick (lower wick to body ratio <= wickThreshold)
// - Bearish candle (close < open)
// - Consecutive candle confirmation (if enabled, requires multiple candles meeting criteria)
// - Volume filter (if enabled, volume > average volume * threshold)
// - RSI filter (if enabled, RSI must not be oversold)
// - EMA filter (if enabled, price must be below short EMA)
// - Trend filter (if enabled, must be in a downtrend)
// - Cooldown period satisfied (minimum bars between signals)
// - Not already signaled a bear breakout for this ORB (unless reset by retracement)
//
// SIGNAL RESET CONDITIONS (for both bull and bear):
// - A significant price retracement happens (determined by retracePercent)
// - Cooldown period expires (minimum bars between signals)
// ===================================================================
// ===================================================================
// SETTINGS GUIDE - DETAILED EXPLANATION
// ===================================================================
//
// MARKET SETTINGS
// ---------------------------------------------------------------------
// Market Type: Select your market or use auto-detection
// - US Stocks: NYSE, NASDAQ, etc. (9:30 AM default open)
// - Forex: Currency pairs (uses midnight or London open)
// - Crypto: Digital currencies (uses midnight UTC)
// - EU Stocks: European exchanges (9:00 AM default)
// - Asia Stocks: Asian exchanges (9:00 AM default)
// - Custom: Manually set your preferred session time
//
// Auto-Detect Market Type: Automatically identifies the market from symbol
// - Enable for convenience when switching between different markets
// - Disable to manually set your preferred market type
//
// Use Market Default Timing: Applies optimal session start times for selected market
// - Enable to use proven default timings for the market
// - Disable to set custom session start times
//
// Time Zone: Sets the reference time zone for session calculations
// - Exchange: Uses the exchange's native time zone (recommended)
// - UTC: Uses Coordinated Universal Time
// - Local: Uses your local computer's time zone
//
// TIME SETTINGS
// ---------------------------------------------------------------------
// Session Start Hour/Minute: Sets when the opening range begins
// - Only active when "Use Market Default Timing" is disabled
// - US Stocks typically use 9:30 AM
// - For pre-market analysis, try 4:00 AM (US) or 8:00 AM (EU)
//
// Opening Range Duration: How long to measure the initial range (minutes)
// - 30-60 mins: Standard for daily ORB strategies
// - 15 mins: More responsive, good for volatile markets
// - 120 mins: More stable, fewer false signals
//
// Reset Period: When to calculate a new opening range
// - Daily: Most common, resets each trading day
// - Weekly: Weekly opening range breakout strategy
// - Monthly: Long-term support/resistance levels
// - Never: Continuous tracking without resetting
//
// SIGNAL QUALITY SETTINGS
// ---------------------------------------------------------------------
// Minimum Bars Between Signals: Prevents clustering of multiple signals
// - Higher values (8-10): Fewer signals, better quality
// - Lower values (3-5): More signals, requires more filtering
//
// Required Retracement % Before New Signal: How far price must pull back
// - Higher values (50-60%): Only signals after significant pullbacks
// - Lower values (20-30%): More signals, may include false breakouts
//
// Minimum Breakout % Required: Strength needed for valid breakout
// - Higher values (0.5-1.0%): Stronger confirmation, fewer false breakouts
// - Lower values (0.1-0.3%): More sensitive, good for low-volatility
//
// Minimum Body to Range Ratio %: Requires strong candles for signals
// - Higher values (70-80%): Only strong momentum candles trigger signals
// - Lower values (40-50%): More signals, includes weaker breakouts
//
// BREAKOUT SETTINGS
// ---------------------------------------------------------------------
// Max Wick to Body Ratio: Controls acceptable candle shape
// - Lower values (0.2-0.3): Only clean breakout candles
// - Higher values (0.5-0.6): More signals, includes wicks
//
// Use Close Price: Uses close instead of High/Low for breakouts
// - Enable for more reliable but delayed confirmation
// - Disable for earlier signals using High/Low prices
//
// Wait for Candle Close: Only signals after candle completes
// - Enable to avoid false breakouts (recommended)
// - Disable for earlier entry but higher risk
//
// FILTER SETTINGS
// ---------------------------------------------------------------------
// Filter Signals Based on Trend: Aligns signals with the overall trend
// - Enable to filter out counter-trend signals (recommended)
// - Disable for range-bound markets or counter-trend strategies
//
// Trend Detection Period: Lookback period for trend calculation
// - Longer periods (50-100): Identifies major trends
// - Shorter periods (20-30): More responsive to recent price action
//
// Trend Strength Threshold: How strong trend must be
// - Higher values (0.7-0.8): Only strong trends generate signals
// - Lower values (0.5-0.6): More signals in choppy markets
//
// Use Volume Filter: Requires above-average volume for signals
// - Enable for stocks and futures (recommended)
// - May disable for some forex pairs with unreliable volume data
//
// Volume Threshold: How much above average volume is required
// - Higher values (2.0-3.0x): Only significant volume spikes
// - Lower values (1.2-1.5x): More signals, less volume confirmation
//
// Use RSI Filter: Prevents signals in overbought/oversold conditions
// - Enable to avoid exhausted moves
// - Disable for strong trend following
//
// Use EMA Alignment Filter: Ensures price is in the right direction
// - Enable for trend confirmation (recommended)
// - Disable for early reversal signals
//
// Require Consecutive Candle Confirmation: Needs multiple confirming candles
// - Enable for higher quality signals
// - Disable for faster but riskier entries
//
// DISPLAY SETTINGS
// ---------------------------------------------------------------------
// Show Label with Values: Displays current ORB levels and status
// Show Range Boundaries: Displays high/low lines on chart
// High/Low Boundary Color: Customize appearance
//
// ===================================================================
// RECOMMENDED SETTINGS BY MARKET TYPE
// ===================================================================
//
// US STOCKS - STANDARD
// ---------------------------------------------------------------------
// - Market Type: US Stocks
// - Opening Range Duration: 30 minutes
// - Reset Period: Daily
// - Wait for Candle Close: Enabled
// - Use Volume Filter: Enabled (Volume Threshold: 1.5-2.0x)
// - Use Trend Filter: Enabled
// - Minimum Breakout %: 0.3-0.5%
//
// US STOCKS - EARNINGS/HIGH VOLATILITY
// ---------------------------------------------------------------------
// - Opening Range Duration: 60 minutes (more stable)
// - Minimum Breakout %: 0.7-1.0% (stronger moves required)
// - Minimum Bars Between Signals: 8-10 (avoid whipsaws)
// - Required Retracement %: 40-50% (deeper pullbacks)
// - Volume Threshold: 2.5-3.0x (higher volume confirmation)
//
// CRYPTO
// ---------------------------------------------------------------------
// - Market Type: Crypto
// - Opening Range Duration: 120 minutes (crypto needs longer)
// - Reset Period: Daily
// - Minimum Breakout %: 1.0-1.5% (higher volatility needs stronger breakouts)
// - Volume Threshold: 2.0-2.5x
// - Consider disabling RSI Filter (trending crypto often stays overbought/oversold)
//
// FOREX - MAJOR PAIRS
// ---------------------------------------------------------------------
// - Market Type: Forex
// - Session Start: Consider 8:00 AM (London open) or 5:00 PM (Asian open)
// - Opening Range Duration: 60-120 minutes
// - Min Body to Range Ratio: 50-60% (forex can have smaller bodies)
// - Consider disabling Volume Filter (unreliable on some platforms)
// - Trend Strength Threshold: 0.6-0.7 (forex tends to trend well)
//
// EU STOCKS
// ---------------------------------------------------------------------
// - Market Type: EU Stocks
// - Opening Range Duration: 60 minutes
// - Reset Period: Daily
// - Use EMA Alignment: Enabled
// - Use Volume Filter: Enabled
//
// SMALL CAP/VOLATILE STOCKS
// ---------------------------------------------------------------------
// - Opening Range Duration: 15-30 minutes (captures early moves)
// - Minimum Breakout %: 1.0-2.0% (needs stronger breakouts)
// - Volume Threshold: 3.0x (needs significant volume)
// - Max Wick to Body Ratio: 0.3 (cleaner breakouts)
// - Use Consecutive Candle Confirmation: Enabled (2-3 candles)
//
// LOW VOLATILITY ENVIRONMENT
// ---------------------------------------------------------------------
// - Opening Range Duration: 30-60 minutes
// - Minimum Breakout %: 0.2-0.3% (lower threshold for tight ranges)
// - Required Retracement %: 20-30% (smaller pullbacks)
// - Consider disabling Consecutive Candle Confirmation
//
// HIGH VOLATILITY ENVIRONMENT
// ---------------------------------------------------------------------
// - Opening Range Duration: 60-120 minutes (more stable)
// - Minimum Breakout %: 0.8-1.5% (stronger confirmation)
// - Required Retracement %: 50-60% (deeper pullbacks)
// - Minimum Bars Between Signals: 8-10 (avoid choppy signals)
// - Use Consecutive Candle Confirmation: Enabled (2-3 candles)
// ===================================================================
Original Gann Swing Chart Rules [AlgoFuego]🔵 Original Gann Swing Chart Rules
An advanced indicator built on W.D. Gann’s original rules, enhanced with innovative mechanical trend-following methods.
🔹 Description
This indicator functions by balancing short-term adaptability with long-term trend analysis.
The indicator incorporates Gann’s principles alongside mechanical trend-following techniques to offer a structured method for analyzing trends and detecting potential market reversals.
Golden Rule: Non-trend bars are excluded from analysis, and each new bar is compared with the previous trend bar, it highlights significant swing points with greater clarity.
🔸 The core concept behind the golden rule on which this indicator is built.
The person watching the tide coming, wanting to pinpoint the exact spot that signals the high tide, places a stick in the sand at the points where the incoming waves reach until the stick reaches a position where the waves no longer rise, and eventually recedes enough to show that the tide has shifted.
This method is effective for monitoring and identifying tides and floods in the stock market.
🔸Rule 1: The trend bar is everything.
→It is a bar that forms a new high, low, or both.
🔸Rule 2: The professional traders track new highs and lows.
🔸Rule 3: The hidden bar is nothing.
→It is a bar that does not form a new high, low, or both.
🔸Rule 4: The sea has a wavy nature, and the market as well.
🔸Rule 5: The slope is the immediate direction of the swing.
Downward slope
→The downslope is the descending slope of a swing, shows a decline, reflecting a bearish price trend.
Upward slope
→The upslope is the ascending slope of a swing, shows an incline, reflecting a bullish price trend.
🔸Rule 6: The start and end of the movement are the swing points.
→The lowest or highest price of the last bar in the direction of the slope represents the swing point after the slopes direction changes.
Valley
→It is the lowest price of the last bar in a downslope before the market turns to a upslope.
End=> Downward slope and Start=> Upward slope
Peak
→It is the highest price of the last bar in a upslope before the market turns to an downslope.
End=> Upward slope and Start=> Downward slope
🔸Rule 7: The Golden Rule: Ignore all no-trend bars and compare the new bar with the previous trend bar.
→Applying the golden rule in upward slope
→Applying the golden rule in downward slope
🔸 Related content: Personal words of W.D Gann from the book Wall Street Stock Selector.
→"This was only one month's reaction the same as March 1925. The market held in a dull narrow range for about 2 months while accumulation was taking place and in June the main trend turned up again."
→The beginning of the main trend and the formation of the Valley.
→The beginning of the main trend and the formation of the Peak.
🔸 Rule 8: The Closing Price of the Bar to Understand Movement Direction.
Sequence is important
→ Downward bar
→ Upward bar
🔸 Outside Bar Rules
→Explanation of rules and calculations.
🔸 How does a trend start?
Upward trend
Trend change from Downward to Upward.
Prices must take out the nearest 'Peak' and the Trend was previously Downward.
A breakout above the previous peak signals a bullish reversal.
→ Model 1 - Dropping Valley Reversal
The market forms a dropping valley, followed by a breakout above the previous peak.
→ Model 2 - Equal Valley Reversal
The market forms an equal valley, followed by a breakout above the previous peak.
→ Model 3 - Rising Valley Reversal
The market forms a rising valley, followed by a breakout above the previous peak.
Downward trend
Trend change from Upward to Downward.
Prices must take out the nearest ‘Valley' and the Trend was previously Upward.
A breakdown below the previous valley signals a bearish reversal.
→ Model 1 - Rising Peak Reversal
The market forms a rising peak, followed by a breakdown below the previous valley.
→ Model 2 - Equal Peak Reversal
The market forms an equal peak, followed by a breakdown below the previous valley.
→ Model 3 - Dropping Peak Reversal
The market forms a dropping peak, followed by a breakdown below the previous valley.
🔸 The fractal nature of markets
Rising wave
→ The rising wave is the entire bull market between turning points
High point : When the Main trend turns from upward to downward, the peak of the primary trend is formed.
Dropping wave
→ The Dropping wave is the entire bear market between turning points.
Low point : When the Main trend turns from downward to upward, the primary trend valley is formed.
Fractal nature application.
Everything in one picture.
🔹 Features
Strict adherence to the rules: Follows the Original Gann Swing Chart Rules to detect swing points.
Fractal analysis: Uses trend bars and fractal analysis to identify swing points.
Robust functionality: Engineered to handle complex market conditions with advanced logic.
Custom alerts: Alerts for peak/valley completion, main and primary trend reversals & continuations.
Golden rule application: Filters out non-trend bars by comparing only with the last trend bar.
Reversal & trend detection: Applies eight outside bar rules to detect trend reversals and continuations.
Dynamic customization: Fully customizable settings.
🔹 Settings overview
Fine-tune the indicator to match your unique trading strategy by adjusting trend settings, customizing alerts, and modifying visualization options.
1. Main trend settings
Hide/Show Main trend options: Instantly hide all main trend options (alerts remain separate).
Main trendline display & alerts: Toggle trendline visibility and set alerts for peaks and valleys.
Trendline customization: Adjust styles, colors, and slopes for upward/downward trends.
Peaks & Valleys markers: Show/hide points and customize their color and size.
Opposite Main trend turning points: Enable alerts and modify style, width, color, and offset.
Breakout/Breakdown points: Set alerts and customize their appearance.
2. Primary trend settings
Hide/Show primary trend options: Instantly hide all primary trend options (alerts remain separate).
Primary trendline display & alerts: Toggle trendline visibility and set alerts for peaks and valleys.
Trendline customization: Adjust styles, colors, and slopes for upward/downward trends.
Peaks & Valleys markers: Show/hide points and customize their color and size.
Opposite primary trend turning points: Enable alerts and modify style, width, color, and offset.
Breakout/Breakdown points: Set alerts and customize their appearance.
3. Additional options
Tooltips display: Control tooltip visibility for labels and languages.
Candle/Bar coloring: Customize candle and bar colors based on algorithm-selected trends.
🔸 Additional features
🔹Custom reading of bars.
The arrow represents the direction of the slope, the dot is the type of trend, and the line is the closing price.
🔹 Advanced Moving Average Activator
The Advanced Moving Average Activator, this setting calculates the average closing prices of trend bars only, which are the only bars considered by Gann.
The advantage of this method is that it helps avoid hidden bars that are not accounted for, making the difference more evident in a ranging market. The values are updated only when new highs or lows occur.
Additionally, you can set alerts when the price closes above or below the moving average.
🔹 Bar Counter
After a trend change, you can see exactly when the shift occurred and customize the type of trend you want to track.
For example, by conducting your own research on the assets you trade, based on historical data, you might discover valuable insights, such as the primary trend possibly lasting longer than 20 bars!
You can use these insights to refine your trading strategy and make more data-driven decisions.
🔹 How to use
Step 1: Configure the settings and choose your trading approach
Adjust the indicator settings to match your trading style and market conditions.
Effectively using the indicator starts with selecting your preferred trading style.
You can trade in alignment with the primary trend, capitalize on market reversals, or take advantage of breakouts.
Trading with the primary trend: Best for traders who prefer longer-term positions with higher stability.
Trading reversals: Ideal for those looking to enter at potential turning points but requires additional confirmation.
Trading breakouts: Suitable for traders targeting strong price movements after key level breakouts.
Adapting to market volatility: Monitor changing volatility and adjust your strategy accordingly for optimal results.
Step 2: Analyze the chart
Apply the indicator to your TradingView chart and interpret swing signals for informed decisions.
Carefully study the chart patterns to detect subtle signals.
Check if similar signals worked well in past market conditions.
Use multi-timeframe analysis for a broader perspective.
Step 3: Trade with the primary trend
Utilize trend direction to align trades with prevailing market movements.
Always trade in the direction of the primary trend.
Confirm the trend direction using multiple indicators or by relying on the primary trend as confirmation!.
Avoid trading against strong market momentum.
Step 4: Identify entry signals
Use indicator signals to identify ideal trade entry points.
Look for confirmation before entering a trade.
Wait for clear signals to avoid false entries.
Practice on a demo account to build confidence in your entry strategy.
Step 5: Apply risk management
Define stop-loss and take-profit levels to protect your capital effectively.
Set stop-loss orders at strategic levels to limit potential losses.
Risk only a small percentage of your capital per trade.
Adjust risk levels based on your overall portfolio performance.
Step 6: Confirm with trend analysis
Validate trends using additional indicators for a higher probability of success.
Use complementary tools to confirm trend direction.
Monitor trend changes to adjust your strategy promptly.
Keep an eye on volume indicators for added confirmation.
Step 7: Execute the trade
Enter trades based on confirmed signals and predefined strategy rules.
Ensure all your criteria are met before executing a trade.
Stay disciplined and stick to your strategy.
Review market conditions right before execution.
Step 8: Monitor the trade
Track trade performance and make adjustments as necessary.
Keep an eye on market conditions throughout the trade.
Be ready to adjust your strategy if unexpected events occur.
Use trailing stops to secure profits while allowing for gains.
Step 9: Implement exit strategy
Close trades strategically based on your pre-established exit plan.
Plan your exit strategy in advance and adhere to it.
Consider partial exits to secure profits along the way.
Avoid emotional decisions when closing trades.
Step 10: Review performance
Analyze past trades to continuously refine and improve your strategy.
Regularly review and document your trades for insights.
Identify patterns in both your successes and mistakes.
Update your strategy based on comprehensive performance reviews.
🔹 Disclosure
While this script is useful and provides insight into market tops, bottoms, and trend trading, it's critical to understand that past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.
Session Start & Day BackgroundThis indicator visually enhances your TradingView charts by highlighting the start of each new trading day and coloring the background based on the day of the week.
The first candle of each new trading day is marked in gray for better session separation.
The background color changes based on the current day of the week, making it easier to recognize market patterns and trends at a glance.
Works across all markets including Forex, Stocks, and Crypto.
Designed to improve chart readability and market structure visualization.
Ideal for traders who want a clearer overview of daily sessions and better differentiation between trading days! 🚀
Ichimoku BoxIntroducing Ichimoku Box Indicator:
Key Features:
Customizable Box Periods: Adjustable box periods with default settings of 9, 26, and 52.
Shifted Span A and Span B Points: Easily adjustable shifts and colors.
Additional Box Option: Capability to add an extra box for more detailed analysis.
High and Low Markers: Identifies the highest and lowest candle within each box with distinct markers.
Candle Countdown Timer: Displays the remaining candles before a box loses its high or low.
Drag-and-Drop Functionality: Move boxes to any position on the chart with a vertical line.
Automatic Box Drawing: When the indicator is first applied, a vertical line appears on the mouse cursor, and clicking on any point automatically draws the boxes.
How It Works:
The indicator allows users to visualize Ichimoku periods as boxes, highlighting key price levels and shifts in market structure. It simplifies the analysis process by providing visual cues and customizable settings for enhanced flexibility.
Clean OHLC Lines | BaksPlots clean, non-repainting OHLC lines from higher timeframes onto your chart. Ideal for tracking key price levels (open, high, low, close) with precision and minimal clutter.
Core Functionality
Clean OHLC Lines = Historical Levels + Non-Repainting Logic
• Uses lookahead=on to anchor historical lines, ensuring no repainting.
• Displays OHLC lines for customizable timeframes (15min to Monthly).
• Optional candlestick boxes for visual context.
Key Features
• Multi-Timeframe OHLC:
Plot lines from 15min, 30min, 1H, 4H, Daily, Weekly, or Monthly timeframes.
• Non-Repainting Logic:
Historical lines remain static and never recalculate.
• Customizable Styles:
Adjust colors, line widths (1px-4px), and transparency for high/low/open/close lines.
• Candle Display:
Toggle candlestick boxes with bull/bear colors and adjustable borders.
• Past Lines Limit:
Control how many historical lines are displayed (1-500 bars).
User Inputs
• Timeframe:
Select the OHLC timeframe (e.g., "D" for daily).
• # Past Lines:
Limit historical lines to avoid overcrowding (default: 10).
• H/L Mode:
Draw high/low lines from the current or previous period.
• O/C Mode:
Anchor open/close lines to today’s open or yesterday’s close.
• Line Styles:
Customize colors, transparency, and styles (solid/dotted/dashed).
• Candle Display:
Toggle boxes/wicks and adjust bull/bear colors.
Important Notes
⚠️ Alignment:
• Monthly/weekly timeframes use fixed approximations (30d/7d).
• For accuracy, ensure your chart’s timeframe ≤ the selected OHLC timeframe (e.g., use 1H chart for daily lines).
⚠️ Performance:
• Reduce # Past Lines on low-end devices for smoother performance.
Risk Disclaimer
Trading involves risk. OHLC lines reflect historical price levels and do not predict future behavior. Use with other tools and risk management.
Open-Source Notice
This script is open-source under the Mozilla Public License 2.0. Modify or improve it freely, but republishing must follow TradingView’s House Rules.
📈 Happy trading!
Diamond PatternDiamond Pattern Indicator
This indicator is designed to detect the Diamond Pattern, a technical formation that often signals potential trend reversals. The diamond pattern can lead to strong price movements, making it a valuable tool for traders.
Features:
✅ Automatic Detection – Identifies diamond patterns on the chart.
✅ Trend Reversal Signals – Highlights potential price direction changes.
✅ Multi-Timeframe Compatibility – Works across all timeframes.
✅ User-Friendly – Simple to use with no complex settings required.
How to Use:
1. Add the indicator to your chart.
2. Monitor for the formation of a Diamond Pattern.
3. Use the breakout direction to guide your trading decisions.