OPEN-SOURCE SCRIPT

Bystry Counter Strike Style + PVSRA

360
Bystry Counter Strike Style + PVSRA

This indicator is a breakout and trade-management tool designed to help traders visualize potential long and short strike zones, dynamic profit targets, stop levels, and volume-based candle context directly on the chart.

The script combines four main components:

1. Dynamic Strike Channel
The indicator builds a dynamic price channel using recent market structure. The upper boundary represents a potential long breakout area, while the lower boundary represents a potential short breakout area.

The channel is calculated from recent highs and lows over a configurable lookback window. This makes the tool adapt to changing market conditions instead of using fixed horizontal levels.

2. Breakout Signals
Long signals are generated when price breaks above the upper strike level, while short signals are generated when price breaks below the lower strike level.

The user can choose between:

* Confirmed Close mode: signals are based on candle close confirmation.
* Intrabar Wick Touch mode: signals can appear when price touches the level during the candle.

Confirmed Close mode is designed to reduce intrabar signal changes and is the default approach for cleaner confirmation.

3. Dynamic TP and SL Logic
The indicator automatically calculates potential TP1 and stop-loss levels using ATR and the width of the strike channel.

This allows the risk and target zones to expand or contract depending on current volatility.

The script includes:

* Future Long TP1
* Future Long SL
* Future Short TP1
* Future Short SL
* Active trade lines
* Optional fixed or trailing stop behavior

The stop mode can be set to:

* Auto
* Fixed
* Trailing

In Auto mode, the script can switch to trailing behavior depending on market volatility conditions.

4. PVSRA Candle Coloring
This version includes PVSRA-style candle coloring to highlight unusual volume behavior.

The candle coloring uses:

* Average volume
* Candle spread
* Volume multiplied by spread
* Climax volume conditions
* Rising volume conditions

The purpose of this layer is to help traders see when a breakout or rejection happens with increased volume activity.

Default PVSRA candle logic:

* Bullish climax candles are highlighted when bullish candles appear with strong volume or strong volume-spread behavior.
* Bearish climax candles are highlighted when bearish candles appear with strong volume or strong volume-spread behavior.
* Rising volume candles are marked separately to show increased participation before or during a move.

Main Features

* Dynamic long breakout level
* Dynamic short breakout level
* Adaptive strike channel
* ATR-based TP and SL levels
* Optional EMA trend filter
* Optional volatility filter
* Fixed or trailing stop logic
* PVSRA candle coloring
* Entry labels
* TP1 labels
* Stop and trailing exit labels
* Performance table
* Alert conditions for entries, TP1, stop events, trailing conversion, and channel changes
* Dynamic alert messages using alert()

How To Use

This tool is intended to be used as a visual decision-support indicator, not as a standalone automated trading system.

A basic workflow may look like this:

1. Use the EMA filter to define directional bias.

* Price above EMA may favor long setups.
* Price below EMA may favor short setups.

2. Watch the dynamic strike channel.

* A break above the upper level may suggest bullish continuation.
* A break below the lower level may suggest bearish continuation.

3. Use PVSRA candle colors as additional context.

* Strong volume on a breakout can indicate participation.
* Strong opposite volume near a level may suggest rejection or absorption.

4. Use TP1 and SL levels as reference zones.

* These levels are calculated dynamically from ATR and channel width.
* They are not guaranteed execution prices.

5. Combine the indicator with your own market structure analysis.

* Higher timeframe trend
* Support and resistance
* Liquidity zones
* Session timing
* Risk management

Inputs

Counter Strike Engine:

* AI Direction: choose Long & Short, Trade Longs, or Trade Shorts.
* Signal Mode: choose Full System or Entries Only.
* Learning / Strike Window: controls the lookback period for the strike channel.
* ATR Length: controls volatility calculation.
* Minimum ATR Profit Target: sets the minimum target distance.
* Minimum ATR Stop Loss: sets the minimum stop distance.
* Auto ATR Adjustment On Very Low Timeframes: increases ATR distance on very low timeframes.
* Entry Buffer ATR: adds a small ATR-based buffer to breakout levels.
* Stop Loss Mode: Auto, Trailing, or Fixed.
* Same Candle TP/SL Assumption: controls how the script handles candles where both TP and SL are touched.
* Entry Trigger: Confirmed Close or Intrabar Wick Touch.

Filters:

* EMA Filter: optional trend filter.
* EMA Filter Length: default trend filter length.
* Volatility Filter: optional filter for market volatility conditions.

Visuals:

* Show Strike Channel
* Show EMA
* Show Future TP/SL
* Show Trade Buttons
* Show Performance Table
* Label Size
* Brighter Labels
* Table Location

PVSRA Candle Coloring:

* Enable PVSRA Candle Coloring
* PVSRA Volume MA Length
* Climax Volume Multiplier
* Rising Volume Multiplier
* Custom candle colors for bullish and bearish volume conditions

Alerts

The script includes alert conditions for:

* Long Entry
* Short Entry
* TP1 Hit
* Trailing Stop Conversion
* Stop or Trail Exit
* Long Entry Price Changed
* Short Entry Price Changed
* Any Important Event

It also includes optional dynamic alert() messages with symbol, timeframe, entry price, TP1, and SL information.

Important Notes

This indicator does not use future data or lookahead logic.

The performance table is a simplified internal visual reference and should not be treated as an official strategy backtest. For full backtesting, commission modeling, slippage modeling, and order execution simulation, a dedicated strategy version should be used.

Signals may behave differently depending on the selected trigger mode. Confirmed Close mode is generally cleaner for historical review, while Intrabar Wick Touch mode can react earlier but may change during the live candle.

This tool is not financial advice. It does not predict the future and does not guarantee profitable results. It should be used together with proper risk management and independent market analysis.

Recommended Markets and Timeframes

The indicator can be tested on forex, crypto, indices, commodities, and futures markets.

For cleaner signals, higher intraday timeframes such as 15m, 30m, and 1h are generally more stable than very low timeframes. Very low timeframes may produce more noise and should be used with additional confirmation.

Originality

This script is an original breakout and trade-management tool that combines a dynamic strike channel, ATR-based target and stop logic, optional trend and volatility filters, alert support, and PVSRA-style candle coloring in one chart-based workflow.

It is not intended to reproduce or copy any closed-source script. The calculations, trade-management logic, and visual structure are implemented independently.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.