Breakeven Line DemoPlug the breakeven line code into the bottom of your strategy to get visualization of your breakeven price. Line is green when net position is long, red when net short and invisible when strategy is risk neutral. Most useful for strategies which use pyramiding (successive entries in same direction stacked upon each other) as it can be difficult to track where prices needs to return to to allow closing in profit. Disclaimer: the strategy logic is garbage do not use it. It is only there so you can see how Breakeven Line logic is implemented.
Cari dalam skrip untuk "break"
Breakout Trend Follower StrategyThis strategy goes long when highs are broken and uses a trailing stop that follows swing lows.  User can configure a back test date range and choose whether or not to only take trades above a selected moving average.
The desire for me to make this script was to try to capture those extreme breakouts that can occur after a consolidation/equilibrium pattern. This catches those using stop-buys as the entry.  Out of all the scripts I have made thus far, this one is the one that has the best results.  Time frames might vary due to commission structures, etc.  I currently use this strategy on stocks on the 30-min time frame and crypto (with Coinbase's high fees) on the 2-hr time frame.
Breakout Reversal Entry on WMA - NG1! Overnight ver 1This script is for learning purposes only
This strategy will plot arrows  when price breaks so far above/below WMA.  The strategy will enter when the price breaks away from WMA.  All entries are reversals.  Users can set WMA length and source; also the distance of the price away from WMA to enter.  Adjustable bracket orders are placed for exit, with trailing stop or market stop choice.  Last, users can set the time of day they want to enter a trade.
My Preference:  I am testing this strategy on NG1! over night on 1 minute candle.  with .003 on price drop/climb, I get entries almost every night.  Also 10 tick stop and 5 tick profit seems backward to most, but with a high win/loss ratio, it performs quite well.  Trailing stops generally help out as well.
INPUTS:
Length - The is the WMA length
Source - WMA source (High, Low, Open, Close...)
When Price Drops - This is the distance in ticks when the price drops away from WMA, an arrow is plotted, and reversal entry order is placed
When Price Climbs - Same as price drop, just in the opposite direction
Trailing Stop check box - Check if you want to place a trailing stop so many tick away from entry.  Unchecked is Market (hard) stop so many ticks from entry.
Stop - Number of ticks away from entry a the stop or trailing stop is set (for NG 1 tick = $0.001)
Limit Out - Number of ticks away from entry a limit order is placed to take profits
Limit Time of day check box - check to use the time of day to limit what time of day order entry will occur. 
Start/Stop Trades (Est Time) - First box is when the strategy will be allowed to start buying and stop is when the strategy will stop being allowed to buy.  Sell orders continue until a stop or limit triggers an exit.  These times are Eastern time zone
PROPERTIES:
Pyramiding -   This feature will allow multiple entries to occur.  If set to 1, the strategy should only trade 1 contract at a time.  If set to 2, the strategy will enter a second order if entry requirements are met.  This allows you to be holding 2 contracts.  Basically on a good day, it will multiply your earnings, on a bad day, you'll just lose more.  For testing, I keep this on 1.
TIPS:
 - If you want to go long only, set "When Price Climbs" to an impossible number, like 10,000.  It's not possible for NG to move $10 is a matter of minutes so it will not enter the market with a short order.  Also keep in mind you can set different requirements for going long vs going short.  If you think there is more pull on the market in a particular direction.  
 
Break-Even Line - JDThis gives you a simple visual representation of fees implications.
This indicator can give you an insight of what timeframes are worth trading, and at what timeframes your profit will be "eaten by fees"
The indicator shows, how far price has to move from the last swing points (if you entered there) to break-even after fees
As long as you're 'in the red' you P/L after fees will be negative!!
The fees are added once for entry and once for exit, so you have to enter the fees per transaction
(eg in BitSeven this is 0.075%/trans for BTC and 0.151%/trans for ETH)
Of course this can be used for any market.
JD.
#NotTradingAdvice #DYOR
I build thes indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
Breakout IndicatorThis script allows you to set breakout alerts. 
An alert will be triggered only when price breaks and closes beyond the specified prices. You will get an alert on the first candle that closes beyond the levels you set.
HL BREAKOUTThe base of the indicator is the breakout of historic High and lows.
There are 3 basic configurations
1° The High length that measure the latest 10 bars and make the "higher high"
2° The Low length taht measure the latest 10 bars and make the "lower low"
3° The Breakout PIPs administrator that defines how much pips are needed from the latest higher high to be defined as a level breakout.
So the strategy is super easy. The indicators show you the 10...20.. or whatever you need old bars high and lows.
When a breakout of that levels occurs and the candle "close" above or below and the close are more than "X" amount of PIPs a marker show up. The marker are the signals of buy and sell
I test some configurations, and work in all timeframes but.
I suggest
10, 10, 0.0003 for timeframes from 1m to 15m
and 10, 10, 0.0005 for timeframes higher than 15m
Maybe you need to test other configurations for 4h 1 day, etc the basics are the same in all timeframes, the main difference is the amount of pips that will be considered as "breakout" the higher timeframe the higher amount you need  to prevent false positives.
Last words: 0.000X are for the PIPs for currencies that have 4 or 5 decimals like euro and other, if you use in YEN change it to a configuration of 2 digits decimal. Just that.
Have "fun" !
Camarilla Strategy - breakouts of H4 and L4Breakout strategy of H4 and L4 levels. Manual entries and exits - higher profits BUT because I am a novice in pinescript,
Can someone please:
1. Show me how to add exit strategy lines : close> ema(close,3)  for exit short and opposite for long. I added myself but I can't make it to work in relation to camarilla entries; instead it shows all ema crossings..
2.Why some entries over/above my pivots are not shown.. Example:11.15 AM (short) and 13.10 PM (long) AAPL, October 15, today? Today would've been 3 signals, not one..
Thank you in advance for any advice. I am a strong Camarilla follower, but I am not a coder.
Breakout Volume
指标名称:Breakout Volume (BrkVol)
功能:本指标用于识别成交量异常放大,同时结合价格新高,帮助交易者发现潜在突破机会。
主要特性:
可调成交量均线周期(MA Length)
可调放量倍数(Volume Multiplier)
可调价格新高周期(Lookback High Length)
成交量柱颜色区分:绿色=阳线放量,红色=阴线放量,灰色=无信号
蓝色均量阈值线,可直观比较放量情况
出现成交量突破 + 新高时,图表上显示绿色三角形标记
支持提醒功能,可在条件触发时收到通知
使用建议:
调整参数以适应不同品种和时间周期
可结合趋势、支撑阻力位使用,避免假信号
适合快速发现短线或中长线突破机会
English Description
Name: Breakout Volume (BrkVol)
Function: This indicator detects unusual volume spikes combined with new highs in price, helping traders identify potential breakout opportunities.
Key Features:
Adjustable moving average period (MA Length) for volume
Adjustable volume multiplier (Volume Multiplier)
Adjustable lookback period for price highs (Lookback High Length)
Color-coded volume bars: Green = bullish candle with volume breakout, Red = bearish candle with volume breakout, Gray = normal volume
Blue threshold line (volume MA × multiplier) for easy comparison
Green triangle marker appears when both volume breakout and new high conditions are met
Supports alerts for real-time notifications
Usage Tips:
Adjust parameters to suit different symbols and timeframes
Combine with trend or support/resistance levels to reduce false signals
Useful for spotting short-term or medium/long-term breakout opportunities
Breakout Probability (Expo)█  Overview 
 Breakout Probability  is a valuable indicator that calculates the probability of a new high or low and displays it as a level with its percentage. The probability of a new high and low is backtested, and the results are shown in a table— a simple way to understand the next candle's likelihood of a new high or low. In addition, the indicator displays an additional four levels above and under the candle with the probability of hitting these levels. 
 The indicator helps traders to understand the likelihood of the next candle's direction, which can be used to set your trading bias. 
 
█  Calculations 
The algorithm calculates all the green and red candles separately depending on whether the previous candle was red or green and assigns scores if one or more lines were reached. The algorithm then calculates how many candles reached those levels in history and displays it as a percentage value on each line. 
█  Example 
In this example, the previous candlestick was green; we can see that a new high has been hit 72.82% of the time and the low only 28.29%. In this case, a new high was made. 
  
█  Settings 
 
  Percentage Step
The space between the levels can be adjusted with a percentage step. 1% means that each level is located 1% above/under the previous one. 
  Disable 0.00% values
If a level got a 0% likelihood of being hit, the level is not displayed as default. Enable the option if you want to see all levels regardless of their values.
  Number of Lines
Set the number of levels you want to display. 
  Show Statistic Panel
Enable this option if you want to display the backtest statistics for that a new high or low is made. (Only if the first levels have been reached or not) 
 
█  Any Alert function call 
An alert is sent on candle open, and you can select what should be included in the alert. You can enable the following options:
 
  Ticker ID
  Bias
  Probability percentage 
  The first level high and low price
 
█  How to use 
 
  This indicator is a perfect tool for anyone that wants to understand the probability of a breakout and the likelihood that set levels are hit. 
  The indicator can be used for setting a stop loss based on where the price is most likely not to reach. 
  The indicator can help traders to set their bias based on probability. For example, look at the daily or a higher timeframe to get your trading bias, then go to a lower timeframe and look for setups in that direction. 
 
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Breakout CandlesCandle is considered breakout upon two conditions:
1. Volume is higher than volume ema. Input allows you to add markup so that you can check if volume > 10% more than EMA
2. Change from previous close or distance between open and close is greater than ATR Multiplier * ATR.
Breakout color is based on whether the value of previous close is higher or lower than present close.
I would love to have wick and border color changed too. But, looks like not possible :(
Breakout Relative Strength IndexIt isn't easy to determine if the price of a stock is about to break out. Here’s one way you can determine the relative strength of a breakout, enabling you to act early and realize higher profits. 
This indicator was originally developed by Howard Wang Stocks & Commodities V. 33:09 (60–62)
 
Breakout Scalper (Session)This is a twist on my on my Breakout Scalper strategy that limits trading to a user-configurable session
Find the original "Continuous" version of the scalper here:
The breakout scalper is based on "slow" and "fast" donchian periods. In this version, the "slow" donchian is in fact the Day's high/low. This important difference means that we will always be entering our trades at the day's high or low, so you are exposed to the price making new highs/lows but not to oscillations within the day's range.
Furthermore, the scalper is modified to only enter trades after the start of the user-configured session. Any open trades are closed at the end of the user-configured session. The default session is set to 10:00 AM to 3:30 PM because that's when I like to trade.
UCS_RSI BreakoutRSI Breakout indicator, typically used on longer time frame (under Mid CAP) to find the next explosive stock. Can be used on monthly chart with 36 Months breakout period. Weekly with 52 Weeks Breakout period, 100 Days on daily, for Swing trading. 
List of All my Indicators - www.tradingview.com
GL.
Breakout Trend FollowerThis is a Study mirroring the Breakout Trend Follower Strategy I made.  I use this one during live trading and the other for backtesting.  It will also give alerts when buy and sell signals are hit.
Breakout Scalperfirst draft of a breakout scalper which uses a fast and slow window
sets up some entry stops and then a trailing exit stop. performs a manual close when going sideways.
Volatility Breaker Blocks [BigBeluga]The  Volatility Breaker Blocks  indicator identifies key market levels based on significant volatility at pivot highs and lows. It plots blocks that act as potential support and resistance zones, marked in green (support) and blue (resistance). Even after a breakout, these blocks leave behind shadow boxes that continue to impact price action. The sensitivity of block detection can be adjusted in the settings, allowing traders to customize the identification of volatility breakouts. The blocks print triangle labels (up or down) after breakouts, indicating potential areas of interest. 
 🔵 IDEA 
The  Volatility Breaker Blocks  indicator is designed to highlight key areas in the market where volatility has created significant price action. These blocks, created at pivot highs and lows with increased volatility, act as potential support and resistance levels. 
The idea is that even after price breaks through these blocks, the remaining shadow boxes continue to influence price movements. By focusing on volatility-driven pivot points, traders can better anticipate how price may react when it revisits these areas. The indicator also captures the natural tendency for price to retest broken resistance or support levels.
  
 🔵 KEY FEATURES & USAGE 
◉  High Volatility Breaker Blocks:   
The indicator identifies areas of high volatility at pivot highs and lows, plotting blocks that represent these zones. Green blocks represent support zones (identified at pivot lows), while blue blocks represent resistance zones (identified at pivot highs).
 Support: 
  
 Resistance: 
  
◉  Shadow Blocks after Breakouts:   
When price breaks through a block, the block doesn't disappear. Instead, it leaves behind a shadow box, which can still influence future price action. These shadow blocks act as secondary support or resistance levels. 
If the price crosses these shadow blocks, the block stops extending, and the right edge of the box is fixed at the point where the price crosses it. This feature helps traders monitor important price levels even after the initial breakout has occurred.
  
◉  Triangle Labels for Breakouts:   
After the price breaks through a volatility block, the indicator prints triangle labels (up or down) at the breakout points. 
  
  
◉  Support and Resistance Retests:   
One of the key concepts in this indicator is the retesting of broken blocks. After breaking a resistance block, price often returns to the shadow box, which then acts as support. Similarly, after breaking a support block, price tends to return to the shadow box, which becomes a resistance level. This concept of price retesting and bouncing off these levels is essential for understanding how the indicator can be used to identify potential entries and exits.
The natural tendency of price to retest broken resistance or support levels.
  
  
  
Additionaly indicator can display retest signals of broken support or resistance
  
  
◉  Customizable Sensitivity:   
The sensitivity of volatility detection can be adjusted in the settings. A higher sensitivity captures fewer but more significant breakouts, while a lower sensitivity captures more frequent volatility breakouts. This flexibility allows traders to adapt the indicator to different trading styles and market conditions.
  
 🔵 CUSTOMIZATION 
 
 Calculation Window:  Defines the window of bars over which the breaker blocks are calculated. A larger window will capture longer-term levels, while a smaller window focuses on more recent volatility areas.
 Volatility Sensitivity:  Adjusts the threshold for volatility detection. Lower sensitivity captures smaller breakouts, while higher sensitivity focuses on larger, more significant moves.
 Retest Signals:  Display or hide retest signals of shadow boxes
Power Hour Breakout Signals [LuxAlgo]The  Power Hour Breakout  tool helps traders identify key price levels from the Power Hour and spot breakouts from those levels easily. This tool features Power Hour extensions, Fibonacci levels, and session break marks for the trader's convenience.
🔶  USAGE 
  
The Power Hour is defined as the last hour of the trading session and is set by default from 3:00 p.m. to 4:00 p.m. New York time. During this period, volume and volatility enter the market. Traders using higher timeframes may use this period to enter or exit positions by placing MOC (Market on Close) orders.
This tool highlights the Power Hour and the top and bottom price levels. Each time prices break out from these levels, a signal is displayed on the chart.
We can use the Power Hour to gauge market sentiment:
 
 Bullish sentiment: Price trades above the Power Hour.
 Mixed sentiment: Price trades within the Power Hour.
 Bearish sentiment: Price trades below the Power Hour.
 
🔹  Displaying Power Hours and Breakouts 
  
By default, all detected Power Hours are displayed. Traders can manually adjust this number by disabling the "Display All" parameter in the Settings panel.
Breakouts are displayed by default, too, but this feature can be disabled as well.
The chart above shows different configurations of these parameters.
🔹  Power Hour Extensions 
  
Traders can use Power Hour extensions as potential targets for breakout signals.
In the settings panel, traders can select the percentage of the Power Hour price range to use for each extension. For example, 100% uses the full range, 200% uses the range twice, and so on.
As seen on the chart, traders can configure different percentages for the top and bottom extensions.
🔹  Fibonacci Levels 
  
Traders can display default or custom Fibonacci levels on the Power Hour range to identify retracement opportunities and evaluate market movement strength. Each level can be enabled or disabled, as well as customized by level, color, and line style.
For example, as we can see on the chart, prices attempt to break out at the Power Hour top level, then retrace to the 0.618 Fibonacci level, and then rise to the 200% Power Hour top extension.
🔶  SETTINGS 
 
 Display Last X Power Hours: Select how many Power Hours to display or enable the Display All feature.
 Power Hour (NY Time): Choose a custom Power Hour in New York time.
 
🔹  Breakouts 
 
 Breakouts: Enable or disable breakouts.
 Bullish Breakout: Select color for bullish breakouts.
 Bearish Breakout: Select color for bearish breakouts.
 
🔹  Extensions 
 
 Top Extension: Enable or disable the top extension and choose the percentage of Power Hour to use.
 Bottom extension: Enable or disable the bottom extension and choose the percentage of Power Hour to use.
 
🔹  Fibonacci Levels 
 
 Display Fibonacci: Enable or disable Fibonacci levels.
 Reverse: Reverse Fibonacci levels.
 Levels, Colors & Style
 Display Labels: Enable or disable labels and choose text size.
 
🔹  Style 
 
 Power Hour Colors
 Extension Transparency: Choose the extension's transparency. 0 is solid, and 100 is fully transparent.
 Session Breaks: Enable or disable session breaks.
Trendline Breakouts With Volume Strength [TradeDots]Trendline Breakouts With Volume Strength is an innovative indicator designed to identify potential market turning points using pivot-based trendline detection and volume confirmation. By merging dynamic trendline analysis with multi-tiered volume filters, this tool helps traders quickly spot breakouts or breakdowns that may signal significant shifts in price action.
 📝 HOW IT WORKS 
 1. Pivot-Based Trendline Detection 
 
 The script automatically scans for recent pivot highs and lows over a user-defined lookback period.
 When it finds higher pivot lows, it plots green uptrend lines; when it finds lower pivot highs, it plots red downtrend lines.
 These dynamic lines update as new pivots form, providing continuously refreshed trend guidance.
 
 2. Volume Ratio Analysis 
 
 A moving average of volume is compared against the current bar’s volume to calculate a ratio (e.g., 1.5×, 2×).
 Higher ratios suggest above-average volume, often interpreted as stronger participation.
 The script applies color-coded cues to highlight the intensity of volume surges.
 
 3. Breakout & Breakdown Detection 
 
 Each trendline is monitored for a defined “break threshold,” which helps avoid minor penetrations that can trigger premature signals.
 When price closes beyond a threshold below an uptrend line, the indicator labels it a “BREAKDOWN.” If it closes above a threshold on a downtrend line, it labels it a “BREAKOUT.”
 Volume surges accompanying these breaks are highlighted with contextual emojis and distinct color gradients for quick visual reference.
 
 4. Trend Direction Table 
 
 A small on-chart table provides a snapshot of the current market trend—Uptrend, Downtrend, or Sideways—based on a simple moving average slope and the number of active uptrend or downtrend lines.
 This table also displays quick stats on how many lines are actively tracked, helping traders assess the broader market posture at a glance.
 
 🛠️ HOW TO USE 
 1. Choose a Timeframe 
 
 This script works on multiple timeframes. Intraday traders can monitor minute or hourly charts for frequent pivot updates, while swing and position traders may prefer daily or weekly intervals to reduce noise.
 
 2. Observe Trendlines & Labels 
 
 Watch for newly drawn green/red lines connecting pivots.
 When you see a “BREAKOUT” or “BREAKDOWN” label, confirm whether volume was abnormally high based on the ratio or color-coded bars.
 
 3. Consult the Trend Table 
 
 Use the table in the bottom-right corner to quickly check if the market is trending or range-bound.
 Look at the count of active uptrend vs. downtrend lines to gauge broader sentiment.
 
 4. Employ Additional Analysis 
 
 Combine these signals with other tools (e.g., candlestick patterns, oscillators, or fundamental analysis).
 Validate potential breakouts using standard techniques like retests or support/resistance checks.
 
 ❗️LIMITATIONS 
 
 Delayed Pivots: Trendlines only adjust once new pivot highs or lows form, which can introduce a slight lag in highly volatile environments.
 Choppy Markets: Rapid, back-and-forth price moves may produce conflicting trendline signals and frequent breakouts/breakdowns.
 Volume Data Reliability: Gaps in volume data or unusual market conditions (holidays, low-liquidity sessions) can skew ratio readings.
 
 RISK DISCLAIMER 
Trading any financial instrument involves substantial risk, and this indicator does not guarantee profits or prevent losses. All signals and visual cues are for educational and informational purposes only; past performance does not assure future outcomes. You retain full responsibility for your trading decisions, including proper risk management, position sizing, and the use of additional confirmation methods. Always consider the possibility of losing some or all of your original investment.
Market Structure (Breakers) [LuxAlgo]The Market Structure (Breakers) indicator aims to detect "Breaker Market Structures", an original concept inspired by breaker blocks, and extend on the original concept of market structures by extending existing MS levels, providing supports/resistances as a result.
Various graphical elements are included that highlight the interactions between price and Breaker structures.
🔶  USAGE 
  
Breaker structures occur when a market structure is confirmed (price breaking a previous swing level). The broken swing point is extended by a dotted line which can be used as potential support or resistance.
  
After a market structure, the price can eventually reverse and break one or multiple breaker structures at the same time, allowing for the detection of new trends in the price.
A market structure closer to the top/bottom of a trend can return Breaker structures breakouts more indicative of potential reversals.
Breakers MS breakouts can also be useful as exits for entries done using market market structures.
  
The script additionally highlights support/resistance events by highlighting candle borders, with a border using a green color indicating support events while a red color is indicative of a resistance event.
🔹 Breaker Structure Lifespan 
The "lifespan" of Breaker structures, that is the amount of time the script will extend/evaluate them is determined by various user settings.
  
The  Maximum Breaks  setting determines the maximum amount of breaks a breaker structure can withstand before it is broken. 
For example, a maximum amount of breaks of 3 for a bearish breaker structure would require the price to cross under that precise breaker structure level three times. Using higher values of this setting will also highlight more Breakers MS.
The  Breaker Maximum Duration  setting on the other hand determines how many bars a breaker structure can be evaluated without being broken. If a breaker structure is not broken after this amount of bars then it will stop being evaluated and will be removed.
🔶  SETTINGS 
 
 Swings Period: Period used for the swing detection, with higher values returning longer term markter structures.
 Maximum Breaks: Amount of break required for a breaker block to be considered broken.
 Breaker Maximum Duration: Maximum duration of a breaker block (in bars).
Candle Breakout StrategyShort description (one-liner)
Candle Breakout Strategy — identifies a user-specified candle (UTC time), draws its high/low range, then enters on breakouts with configurable stop-loss, take-profit (via Risk:Reward) and optional alerts.
Full description (ready-to-paste)
Candle Breakout Strategy
Version 1.0 — Strategy script (Pine v5)
Overview
The Candle Breakout Strategy automatically captures a single "range candle" at a user-specified UTC time, draws its high/low as a visible box and dashed level lines, and waits for a breakout. When price closes above the range high it enters a Long; when price closes below the range low it enters a Short. Stop-loss is placed at the opposite range boundary and take-profit is calculated with a user-configurable Risk:Reward multiplier. Alerts for entries can be enabled.
This strategy is intended for breakout style trading where a clearly defined intraday range is established at a fixed time. It is simple, transparent and easy to adapt to multiple symbols and timeframes.
How it works (step-by-step)
On every bar the script checks the current UTC time.
When the first bar that matches the configured Target Hour:Target Minute (UTC) appears, the script records that candle’s high and low. This defines the breakout range.
A box and dashed lines are drawn on the chart to display the range and extended to the right while the range is active.
The script then waits for price to close outside the box:
Close > Range High → Long entry
Close < Range Low → Short entry
When an entry triggers:
Stop-loss = opposite range boundary (range low for longs, range high for shorts).
Take-profit = entry ± (risk × Risk:Reward). Risk is computed as the distance between entry price and stop-loss.
After entry the range becomes inactive (waitingForBreakout = false) until the next configured target time.
Inputs / Parameters
Target Hour (UTC) — the hour (0–23) in UTC when the range candle is detected.
Target Minute — minute (0–59) of the target candle.
Risk:Reward Ratio — multiplier for computing take profit from risk (0.5–10). Example: 2 means TP = entry + 2×risk.
Enable Alerts — turn on/off entry alerts (string message sent once per bar when an entry occurs).
Show Last Box Only (internal behavior) — when enabled the previous box is deleted at the next range creation so only the most recent range is visible (default behavior in the script).
Visuals & On-chart Info
A semi-transparent blue box shows the recorded range and extends to the right while active.
Dashed horizontal lines mark the range high and low.
On-chart shapes: green triangle below bar for Long signals, red triangle above bar for Short signals.
An information table (top-right) displays:
Target Time (UTC)
Active Range (Yes / No)
Range High
Range Low
Risk:Reward
Alerts
If Enable Alerts is on, the script sends an alert with the following formats when an entry occurs:
Long alert:
🟢 LONG SIGNAL
Entry Price: 
Stop Loss: 
Take Profit: 
Short alert:
🔴 SHORT SIGNAL
Entry Price: 
Stop Loss: 
Take Profit: 
Use TradingView's alert dialog to create alerts based on the script — select the script’s alert condition or use the alert() messages.
Recommended usage & tips
Timeframe: This strategy works on any timeframe but the definition of "candle at target time" depends on the chart timeframe. For intraday breakout styles, use 1m — 60m charts depending on the session you want to capture.
Target Time: Choose a time that is meaningful for the instrument (e.g., market open, economic release, session overlap). All times are handled in UTC.
Position Sizing: The script’s example uses strategy.percent_of_equity with 100% default — change default_qty_value or strategy settings to suit your risk management.
Filtering: Consider combining this breakout with trend filters (EMA, ADX, etc.) to reduce false breakouts.
Backtesting: Always backtest over a sufficiently large and recent sample. Pay attention to slippage and commission settings in TradingView’s strategy tester.
Known behavior & limitations
The script registers the breakout on close outside the recorded range. If you prefer intrabar breakout rules (e.g., high/low breach without close), you must adjust the condition accordingly.
The recorded range is taken from a single candle at the exact configured UTC time. If there are missing bars or the chart timeframe doesn't align, the intended candle may differ — choose the target time and chart timeframe consistently.
Only a single active position is allowed at a time (the script checks strategy.position_size == 0 before entries).
Example setups
EURUSD (Forex): Target Time 07:00 UTC — captures London open range.
Nifty / Index: Target Time 09:15 UTC — captures local session open range.
Crypto: Target Time 00:00 UTC — captures daily reset candle for breakout.
Risk disclaimer
This script is educational and provided as-is. Past performance is not indicative of future results. Use proper risk management, test on historical data, and consider slippage and commissions. Do not trade real capital without sufficient testing.
Change log
v1.0 — Initial release: range capture, box and level drawing, long/short entry by close breakout, SL at opposite boundary, TP via Risk:Reward, alerts, info table.
If you want, I can also:
Provide a short README version (2–3 lines) for the TradingView “Short description” field.
Add a couple of suggested alert templates for the TradingView alert dialog (if you want alerts that include variable placeholders).
Convert the disclaimer into multiple language versions.
Initial Balance Breakout Signals [LuxAlgo]The  Initial Balance Breakout Signals  help traders identify breakouts of the Initial Balance (IB) range. 
The indicator includes automatic detection of IB or can use custom sessions, highlights top and bottom IB extensions, custom Fibonacci levels, and goes further with an IB forecast with two different modes.
🔶  USAGE 
  
The initial balance is the price range made within the first hour of the trading session. It is an intraday concept based on the idea that high volume and volatility enter the market through institutional trading at the start of the session, setting the tone for the rest of the day.
The initial balance is useful for gauging market sentiment, or, in other words, the relationship between buyers and sellers.
 
 Bullish sentiment: Price trades above the IB range.
 Mixed sentiment: Price trades within the IB range.
 Bearish sentiment: Price trades below the IB range.
 
The initial balance high and low are important levels that many traders use to gauge sentiment. There are two main ideas behind trading around the IB range.
 
 IB Extreme Breakout: When the price breaks and holds the IB high or low, there is a high probability that the price will continue in that direction.
 IB Extreme Rejection: When the price tries to break those levels but fails, there is a high probability that it will reach the opposite IB extreme.
 
This indicator is a complete Initial Balance toolset with custom sessions, breakout signals, IB extensions, Fibonacci retracements, and an IB forecast. All of these features will be explained in the following sections.
🔹  Custom Sessions and Signals 
  
By default, sessions for Initial Balance and breakout signals are in Auto mode. This means that Initial Balance takes the first hour of the trading session and shows breakout signals for the rest of the session.
With this option, traders can use the tool for open range trading, making it highly versatile. The concept behind open range (OR) is the same as that of initial balance (IB), but in OR, the range is determined by the first minute, three or five minutes, or up to the first 30 minutes of the trading session.
As shown in the image above, the top chart uses the Auto feature for the IB and Breakouts sessions. The bottom chart has the Auto feature disabled to use custom sessions for both parameters. In this case, the first three minutes of the trading session are used, turning the tool into an Open Range trading indicator.
  
This chart shows another example of using custom sessions to display overnight NASDAQ futures sessions.
The left chart shows a custom session from the Tokyo open to the London open, and the right chart shows a custom session from the London open to the New York open.
The chart shows both the Asian and European sessions, their top and bottom extremes, and the breakout signals from those extremes.
🔹  Initial Balance Extensions 
  
Traders can easily extend both extremes of the Initial Balance to display their preferred targets for breakouts. Enable or disable any of them and set the IB percentage to use for the extension.
As the chart shows, the percentage selected on the settings panel directly affects the displayed levels.
Setting 25 means the tool will use a quarter of the detected initial balance range for extensions beyond the IB extremes. Setting 100 means the full IB range will be used.
Traders can use these extensions as targets for breakout signals.
🔹  Fibonacci Levels 
  
Traders can display default or custom Fibonacci levels on the IB range to trade retracements and assess the strength of market movements. Each level can be enabled or disabled and customized by level, color, and line style.
As we can see on the chart, after the IB was completed, prices were unable to fall below the 0.236 Fibonacci level. This indicates significant bullish pressure, so it is expected that prices will rise.
Traders can use these levels as guidelines to assess the strength of the side trying to penetrate the IB. In this case, the sellers were unable to move the market beyond the first level.
🔹  Initial Balance Forecast 
  
The tool features two different forecasting methods for the current IB. By default, it takes the average of the last ten values and applies a multiplier of one.
 
 IB Against Previous Open: averages the difference between IB extremes and the open of the previous session.
 Filter by current day of the week: averages the difference between IB extremes and the open of the current session for the same day of the week.
 
This feature allows traders to see the difference between the current IB and the average of the last IBs. It makes it very easy to interpret: if the current IB is higher than the average, buyers are in control; if it is lower than the average, sellers are in control.
For example, on the left side of the chart, we can see that the last day was very bullish because the IB was completely above the forecasted value. This is the IB mean of the last ten trading days.
On the right, we can see that on Monday, September 15, the IB traded slightly higher but within the forecasted value of the IB mean of the last ten Mondays. In this case, it is within expectations.
🔶  SETTINGS 
 
 Display Last X IBs: Select how many IBs to display.
 Initial Balance: Choose a custom session or enable the Auto feature.
 Breakouts: Enable or disable breakouts. Choose custom session or enable the Auto feature.
 
🔹  Extensions 
 
 Top Extension: Enable or disable the top extension and choose the percentage of IB to use.
 Bottom extension: Enable or disable the bottom extension and choose the percentage of IB to use.
 
🔹  Fibonacci Levels 
 
 Display Fibonacci: Enable or disable Fibonacci levels.
 Reverse: Reverse Fibonacci levels.
 Levels, Colors & Style
 Display Labels: Enable or disable labels and choose text size.
 
🔹  Forecast 
 
 Display Forecast: Select the forecast method.
- IB Against Previous Open: Calculates the average difference between the IB high and low and the previous day's IB open price.
- Filter by Current Day of Week: Calculates the average difference between the IB high and low and the IB open price for the same day of the week.
 Forecast Memory: The number of data points used to calculate the average.
 Forecast Multiplier: This multiplier will be applied to the average. Bigger numbers will result in wider predicted ranges.
 Forecast Colors: Choose from a variety of colors.
 Forecast Style: Choose a line style.
 
🔹  Style 
 
 Initial Balance Colors
 Extension Transparency: Choose the extension's transparency. 0 is solid, and 100 is fully transparent.
ICT Breakers (BOS / MSS - Market Structure) [ICTProTools]The  Breakers (Market Structure)  indicator is designed to help traders  identify true breaker structures , a key concept in  Inner Circle Trader (ICT)  methodology. In market structure, Breakers represent powerful shifts where a key high or low is broken, leading to a reversal in market direction.  Most tools  misinterpret structure  shifts,  using internal structure , leading to fake breakouts.  This tool solves that problem by filtering out false signals , providing clear &  structured insights , all with  multi-timeframe  compatibility.
💎  Key Features 
⚡️  Breakers in action 
The indicator shows the structure following ICT instructions. A breaker is defined by two lines:
 
 The first line confirms the previous trend  (it could be interpreted as a BOS).
 The second line highlights  the moment price breaks structure (with candle body or wick based on your chosen settings), signaling  a shift in trend direction  (like an MSS).
 
Furthermore, it’s important to note that a breaker not only shows the structure, but also defines a potential Point of Interest (POI), an area where price may retrace before continuing its trend.
  
 Here, we can observe two clear structure shifts.
On the far left, the market was in a bearish trend, illustrated by the first visible (dotted and red) line. Shortly after, the second (solid and green) line appears, showing a break that initiates a new bullish trend.
This upward movement continues, with the last confirmation marked by a top structure line. And finally, the structure is broken once again indicating a transition back into a bearish trend. 
💪  Real Structure with True Highs / Lows 
Unlike many indicators that detect  internal breakouts , this tool follows ICT’s  true market structure rules .
 
 In a  bearish trend , a  bullish breaker  is  only confirmed  when the  high that created the low is broken , and conversely for a bullish scenario.
 Fake breakouts are ignored,  preventing misleading signals. 
 
  
 In the image above, the white breakout is correctly ignored by the indicator, as it doesn't align with ICT’s structural rules. That white high is simply part of the internal structure, not the true swing point. Instead, the green line highlights the key level that truly matters, the one whose rupture would have confirmed a real change in market structure. 
🔔  Smart Alerts for Structure Updates 
Stay one step ahead with  customizable alerts  designed to notify you instantly when market structure changes occur.
 
 Get notified for  BOS (Continuation)  and / or  MSS (Breaker)  events.
 Set alerts for  bullish ,  bearish , or  both  directions.
 Choose between  once  or  repeated alerts , based on your strategy.
 
This feature allows traders to  remain focused and reactive , even when monitoring multiple markets.
  
 In the alert settings, select which structure shifts you want to be notified of. Whether you're a scalper or a swing trader, the alerts keep you connected to key moments without needing to constantly monitor the chart. 
⏳  Multi-Timeframe Structure 
 All features  of the indicator are fully compatible  with higher timeframes .
 
 Get a  broader view of market structure  without switching timeframes.
 Monitor higher timeframe structures  and receive alerts, all without leaving your analysis chart .
 
  
 In this example, the market structure of the 30m timeframe is displayed while on a 5m chart, providing a clearer perspective. 
✨  Customization & User Control 
Make it yours! The indicator allows full customization:
 
 Swing bars  (to confirm high / low)
 Select your mode for Breakers (MSS) , using the candle body only or body / wick
 Line style  (type, width, color)
 Choice of displayed timeframe 
 Activate any alert , with the frequency you want
 
🎯  Conclusion 
✅  Avoid false signals  by focusing on true ICT Breakers
✅  Smart alerts  to never miss a structural shift
✅  Multi-timeframe support  for enhanced analysis
✅  Clean & professional design  for an optimal trading experience
False Breakouts [TradingFinder] Fake Breakouts Failure🔵 Introduction 
Technical indicators are essential tools for analysts and traders in financial markets, helping them predict price movements and make better trading decisions. One of the key concepts in technical analysis that should be carefully considered is the "False Breakout."
 This phenomenon occurs when a price temporarily breaks through a significant support or resistance level but fails to hold and quickly returns to its previous range. Understanding this concept and applying it in trading can reduce risks and increase profitability.
🟣 What is a False Breakout? 
A Fake Breakout, as the name suggests, refers to a breakout that appears to occur but fails to sustain, leading the price to quickly revert back to its previous range. This situation often happens when inexperienced or non-professional traders, under psychological pressure and eager to enter the market quickly, initiate trades. 
This creates opportunities for professional traders to take advantage of these short-term fluctuations and execute successful trades.
🟣 The Importance of Recognizing False Breakouts 
Recognizing False Breakouts is crucial for any trader aiming for success in financial markets. False Breakouts typically occur when the market approaches a critical support or resistance level. 
In these situations, many traders are waiting to see if the price will break through this level. However, when the price quickly returns to its previous range, it indicates weakness in the movement and the inability to sustain the breakout.
🟣 How to  identify False Breakouts? 
To identify Fake Breakouts, it is important to carefully analyze price charts and look for signs of a quick price reversal after breaking a key level.
  
  
 Here are some chart patterns that may help you identify a False Breakout :
1.  Pin Bar Pattern : The Pin Bar is a candlestick pattern that indicates a price reversal. This pattern usually appears near support and resistance levels, showing that the price attempted to break through a key level but failed and reversed.
2.  Fakey Pattern : This pattern, which consists of several candlesticks, indicates a False Breakout and a quick price return to the previous range. It usually appears near key levels and can signal a trend reversal.
3.  Using Multiple Timeframes : One way to identify False Breakouts is by using charts of different timeframes. Sometimes, a breakout on a one-hour chart may be a False Breakout on a daily chart. Analyzing charts across multiple timeframes can help you accurately identify this phenomenon.
🔵 How to Use 
Once you identify a False Breakout, you can use it as a trading signal. For this, it is best to look for trading opportunities in the opposite direction of the False Breakout. In other words, if a False Breakout occurs at a resistance level, you might consider selling opportunities, and if it happens at a support level, you might look for buying opportunities.
 Here are some key points for trading based on False Breakouts :
1.  Patience and Discipline : Patience and discipline are crucial when trading with False Breakouts. Wait for the False Breakout to clearly form before entering a trade.
2.  Use Stop Loss : Setting an appropriate stop loss is vital when trading based on False Breakouts. Typically, the stop loss can be placed near the level where the False Breakout occurred.
3.  Seek Confirmations : Before entering a trade, look for additional confirmations. These can include other analyses or technical indicators that show the price is likely to return to its previous level.
  
  
🔵 Settings 
🟣 Logical settings 
 Swing period : You can set the swing detection period.
 Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
 Max Swing Bac k: You can set the number of swings that will go back for checking.
🟣 Display settings 
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings 
 Alert False Breakout : Enables alerts for Breakout.
 Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
 Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵Conclusion
False Breakouts, as a key concept in technical analysis, are powerful tools for identifying sudden price changes and using them in trading. Understanding this phenomenon and applying it can help traders perform better in financial markets and avoid potential losses. 
To benefit from False Breakouts, traders need to carefully analyze charts and use the appropriate analytical tools. By leveraging this strategy, traders can achieve lower-risk and higher-reward trades.






















