PROTECTED SOURCE SCRIPT

PipGuard – FlashLevels

229
PipGuard – FlashLevels. Reactive Lines on New Local Highs and Lows

Indicator published by PipGuard.

PipGuard – FlashLevels automatically draws reactive lines every time a new high or low is formed within a user-defined bar range.

Each level consists of a dual-line setup (a main line plus a thicker, softer second line) and a price label for quick readability.
Lines can dynamically extend to the current candle and are automatically deleted once price breaks through them.

snapshot

How it Works

Level Detection:
When the price reaches the highest high or lowest low of the last *N* bars, the indicator marks a BuyStop (red) or SellStop (green) level.

Dual-Line Design:
Each level features two synchronized lines the main one and a second, thicker and slightly faded one, for a clear and elegant visual style.

Dynamic Management:
Lines can either extend to the current candle (live update) or remain fixed-length, depending on your preference.
Once price breaks a level, both lines and labels are automatically removed to keep the chart clean and accurate.

How to Use

1. Add the script to your chart.
2. Set the FlashLevels LENGTH (number of bars used for detection).
3. Choose whether to extend lines to the current candle or keep a fixed length.
4. Use the color coding and labels to distinguish BuyStop/SellStop and their exact price levels.
5. Integrate these reactive levels into your risk-management or trade trigger framework.

HOW TO USE

snapshot

HOW TO USE

snapshot

Settings

FlashLevels LENGTH → Window used to detect new highs/lows.
Length of Half-Line → Line length when live extension is disabled.
Extend lines to the current candle? → Enables or disables dynamic extension.
BuyStop/SellStop Color → Main line colors.
Second Line Color → Thicker overlay line colors.
Price Label Color → Text color for the price label.

Note: Both lines are synchronized in position and length to ensure visual consistency.


Limitations

• Levels are purely technical and depend on the selected bar range: shorter ranges can produce frequent updates.
• Lines are horizontal segments; if you prefer levels that persist beyond the visible range, enable line extension.
• Past performance does not guarantee future results.

Access

This script is designed for chart use and is free.

Technical analysis tool designed to map dynamic price levels on new local extremes. Not financial advice.

Indicator published by PipGuard.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.