Malama's Pre-Market BoxThis script is a comprehensive Pre-Market range visualizer designed to replace older, single-candle analysis tools. It automatically highlights the full pre-market session (04:00–09:30 EST) and extends key support/resistance levels into the regular trading day.
Why this script was created (Evolution from previous versions): This is a complete architectural rewrite of the older "Malama's KAYCAP Pre-Market Box."
Old Logic: The previous version focused on isolating a single, specific 1-minute candle (e.g., exactly 4:00 AM) to determine levels.
New Logic: This version tracks the entire pre-market session range. It dynamically updates the True High and True Low as the pre-market develops, providing a much more accurate support/resistance zone for the open.
Visual Overhaul: Instead of static plots, this version uses Pine Script v6 box and line objects to draw a clean, shading-customizable range that automatically extends rightward until the trading session ends.
How it works:
Session Tracking: The script monitors the user-defined session (default 04:00-09:30).
Dynamic Box: As price moves during pre-market, a box is drawn covering the highest high and lowest low of that period.
Level Extension: At 09:30 (Market Open), the script locks the High and Low values. It then projects two horizontal lines (Resistance and Support) across the chart for the rest of the day.
Breakout Detection: If the price closes outside these levels during regular hours, the script can optionally trigger Alerts and plot "BREAK" labels on the chart.
Settings:
Time Settings: Customizable session string (default captures standard US Pre-Market).
Visuals: Fully adjustable box colors, border transparency, and line width.
Signals: Toggle breakout labels on/off.
Alerts Included:
Bullish Breakout: Triggers when price crosses and closes above the Pre-Market High.
Bearish Breakdown: Triggers when price crosses and closes below the Pre-Market Low.
Box-breakout
Malama's Range BreakoutMalama's Range Breakout is a dynamic indicator designed to automatically detect periods of price consolidation (tight ranges) and generate actionable signals for breakouts or wick-based reversals.
Why It's Useful: Unlike fixed-time tools like Opening Range Breakouts (ORB), this indicator is Adaptive. It uses a volatility-adjusted threshold (ATR multiplier) to determine when a market is truly consolidating. This helps traders avoid false signals in choppy markets and focus on periods where volatility is compressing.
Key Features:
Adaptive Detection: Uses ATR over a user-defined lookback to find tight ranges automatically.
Preset Profiles: Quickly switch between optimized settings for:
Scalping: (Tight Ranges)
Intraday: (Normal Ranges)
Swing Trading: (Loose Ranges)
Options/Chop: (Extreme sideways movement)
Breakout Signals: Triggers "BUY/SELL" labels when price closes outside the box. Includes an optional Volume Filter to ignore low-momentum breakouts.
Wick Reversals: Detects "Fake-outs" where wicks probe the range boundary but fail to close outside, signaling a potential reversal back into the range.
How to Use:
Select a Profile: Choose "Normal" for standard day trading or "Tight" for scalping.
Wait for the Box: The indicator will draw an orange box when price consolidates.
Trade the Break: Wait for a confirmed close outside the box (Look for the "Malama BUY/SELL" label).
Watch for Rejection: If you see a "Wick" label, it means the breakout failed—be cautious or trade the reversal.
Settings:
Profile: Select your trading style (Scalping, Intraday, Swing).
Volume Filter: Require a volume spike to confirm breakouts (Recommended).
Wick Confirmation: Require a confirmation candle before signaling a wick reversal.
Box Theory [Interactive Zones] PyraTimeThis script combines Nicholas Darvas’s "Box Theory" with modern Supply and Demand (Premium/Discount) concepts. It automatically identifies the most recent Swing High and Swing Low to delineate the current trading range.
The purpose of this tool is to visualize market structure and help traders identify when price is relatively expensive (Premium) or cheap (Discount) within a defined range.
Visual Guide: What You Are Seeing
The Box: Represents the active trading range defined by the most recent significant Swing High and Swing Low.
Red Zone (Premium): The top 25% of the range. Mathematically, prices here are considered "expensive" relative to the current structure.
Green Zone (Discount): The bottom 25% of the range. Prices here are considered "cheap" relative to the current structure.
Grey Zone (Equilibrium): The middle 50% of the range. This is the area of fair value where price often consolidates.
Dashed Line (EQ): The exact 50% midpoint of the range.
Tutorial: How to Trade Using This Indicator
Method 1: Mean Reversion (Range Trading) This method applies when the market is moving sideways.
Identify Structure: Wait for a box to form.
Wait for Extremes: Do not trade when price is in the middle (Grey/White area). Wait for price to enter the Red or Green zones.
Entry Trigger:
Shorts: When price enters the Red Zone, look for a rejection (wicks leaving the zone) or a lower timeframe breakdown. Target the EQ (Midline) as your first take profit.
Longs: When price enters the Green Zone, look for support formation. Target the EQ (Midline) as your first take profit.
Method 2: Trend Continuation (Breakouts) This method applies when the market is trending strongly.
Breakout: Monitor the alerts. A close outside the box indicates a potential shift in market structure.
Retest: After a breakout up, the old "Red Zone" (Resistance) often flips to become new Support. Wait for price to pull back to the top of the old box before entering.
Configuration Guide (Settings)
Pivot Left/Right Bars (Sensitivity):
Default (20/20): Best for Swing Trading. It filters out market noise and only draws boxes based on major structural points.
Lower (5/5): Best for Scalping. It will create smaller, more frequent boxes but increases the risk of false signals.
Zone Percentage:
Default (25%): Standard deviation for Supply/Demand zones.
Alternative (15%): Use this for "sniping" entries at the absolute extremes of the range.
Multi-Timeframe (MTF):
Enable "Use Higher Timeframe" to see Daily or Weekly ranges while trading on lower timeframes (like the 15m or 1H). This helps keep your intraday trades aligned with the major trend.
Technical Note on "Lag" This indicator uses Pivots to draw the box. A pivot is only confirmed after a certain number of bars have passed (the "Pivot Right Bars" setting).
Example: If "Pivot Right Bars" is set to 20, the box will update 20 bars after the actual high or low occurred. This is necessary to confirm that the point was indeed a Swing High/Low. Do not treat the box lines as predictive; they are reactive to confirmed structure.
Low Volatility Range Breaks [BigBeluga]Low Volatility Range Breaks
The Low Volatility Range Breaks indicator is an advanced technical analysis tool designed to identify periods of low volatility and potential breakout opportunities. By visualizing low volatility ranges as ranges and tracking subsequent price movements, this indicator helps traders spot potential high-probability trade setups.
🔵 KEY FEATURES
● Low Volatility Detection
Identifies periods of low volatility based on highest and lowest periods and user-defined sensitivity
Uses a combination of highest/lowest price calculations and ATR for dynamic adaptation
● Volatility Box Visualization
Creates a box to represent the low volatility range
Box height is adjustable based on ATR multiplier
Includes a mid-line for reference within the box
● Breakout Detection
Identifies when price breaks above or below the volatility box
Labels breakouts as "Break Up" or "Break Dn" on the chart
Changes box appearance to indicate a completed breakout
● Probability Tracking
Counts the number of closes above and below the box's mid-line
Displays probability counters for potential upward and downward moves
Resets counters after a confirmed breakout
🔵 HOW TO USE
● Identifying Low Volatility Periods
Watch for the formation of volatility boxes on the chart
These boxes represent periods where price movement has been confined
● Anticipating Breakouts
Monitor price action as it approaches the edges of the volatility box
Use the probability counters to gauge the likely direction of the breakout
● Trading Breakouts
Consider posible entering trades when price breaks above or below the volatility box
Use the breakout labels ("Break Up" or "Break Dn") as a trading opportunity
● Managing Risk
Use the opposite side of the volatility box as a potential invalidation level
Consider the box height for position sizing and risk management
● Trend Analysis
Multiple upward breakouts may indicate a developing uptrend
Multiple downward breakouts may suggest a forming downtrend
Use in conjunction with other trend indicators for confirmation
🔵 CUSTOMIZATION
The Low Volatility Box Breaks indicator offers several customization options:
Adjust the volatility length to change the period for highest/lowest price calculations
Modify the volatility level to fine-tune the sensitivity of low volatility detection
Adjust the box height multiplier to change the size of volatility boxes
By fine-tuning these settings, traders can adapt the indicator to various market conditions and personal trading strategies.
The Low Volatility Range Breaks indicator provides a unique approach to identifying potential breakout opportunities following periods of consolidation. By visually representing low volatility periods and tracking subsequent price movements, it offers traders a powerful tool for spotting high-probability trade setups.
This indicator can be particularly useful for traders focusing on breakout strategies, mean reversion tactics, or those looking to enter trades at the beginning of new trends. The combination of visual cues (boxes and breakout labels) and quantitative data (probability counters) provides a comprehensive view of market dynamics during and after low volatility periods.
As with all technical indicators, it's recommended to use the Low Volatility Range Breaks indicator in conjunction with other forms of analysis and within the context of a well-defined trading strategy. While this indicator can provide valuable insights into potential breakouts, it should be considered alongside other factors such as overall market trends, volume, and fundamental analysis when making trading decisions.
Buy/Sell BoxThis indicator tries to identify the points where the price exceeds or falls below a rectangle based on the opening and closing prices of the previous period, the creation of the boxes occurs when a doji is detected therefore it will calculate the coordinates of the rectangle that will be drawn around it, therefore the indicator offers buy or sell signals based on this logic. Specifically, the buy signal is generated if the closing price is above the top of the rectangle and satisfies some previous price conditions while the sell signal is generated if the closing price is below the bottom of the rectangle and satisfies some conditions of previous prices within a further threshold based on the Ema 150.
Lines are then drawn on the graph to visually display the extreme price levels, which can be useful for any confirmation of buy and sell signals, Stop Loss and Take Profit, Trend Filter (to visually understand if the trend is bullish or bearish)
A potentially effective trading strategy could involve identifying buy and sell signals near the extreme price level lines drawn by the indicator. This approach can be used to try to improve the accuracy of your trading signals and make more informed decisions. For example:
When you receive a buy or sell signal based on the dojis and rectangles generated by the indicator, check whether the price is also near one of the extreme price level lines. If you are receiving a buy signal and notice that the current price is near a low of the lower level line, this may further confirm the buying opportunity, as the price is near a significant resistance level. On the contrary, if the sell signal was close to a maximum price level it could confirm an excellent short entry.
It is also possible to use the boxes as reference points to set the stop loss and take profit levels. If you are entering a buy position, you might consider setting your stop loss just below an upper line of the last box. Additionally, you may want to set your take profit near a higher price level if you are looking to maximize profits. This will help manage risks and protect your capital.
Beakdoo swing trading boxHi forks,
I'm trader Baekdoosan who trading Equity from South Korea. This Baekdoo swing trading box indicate good buying position when it crossover the box.
Here's the ideas
1. It needs to crossover 1 month highest value and higher than 5 ema and 20 ema line
2. It also needs to crossover 1 month volume as well
3. Once 1,2 soaring candle emerge, it needs to correction time
4. 5 ema or 20 ema or center candle's 2/3 point x 0.95 (5% lower) would be the resistant line
5. center candle's 2/3 point line would be the buying point (you may can trade when it cross over
you can check above example chart and take a look what you have interested in.
hope this will help your trading on equity as well as crypto. I didn't try it on futures . Best of luck all of you. Gazua~!
Box Range AlertSimple Script for getting alerts on the crossing of Upper & Lower levels either way.
Good for Free users as they can only use 1 alert at a time. So this indicator will be useful to get alerts on both Breakout Or Breakdowns.
Just add input Price manually and set alerts.
[PX] ADX BoxesHello guys,
today I would like to share an indicator that I had in my mind for quite some time. I call it ADX Boxes.
How does it work?
What the indicator does is very simple. Whenever the ADX falls below a certain threshold (which can be managed in the user input settings) a box will appear. The box will continue to grow as long as the ADX stays below the threshold. Once the ADX goes back above the threshold, the box will stop growing and will set its right border.
There are two modes, which can be used to determine the upper and lower border of the box. The first one is called "Extremes", which plots the borders the highest high and lowest low for the range below the threshold. The second one is called "Avg. High/Low", which plots the borders at the average high and average low within the range.
Furthermore, the indicator contains an option to show the average value of the detected range below the ADX threshold.
Just like all my other indicator scripts, this one comes with different styling options for boxes in progress, settled boxes and the average value.
Hopefully, some of you find it useful.
Make sure you leave a follow and a like :)
Happy trading!!









