PROTECTED SOURCE SCRIPT
Zaktualizowano

Intraday Market Structure Research Tool (Reversal + Breakout)

299
This script is a fully rule-based intraday strategy designed for research and backtesting purposes, not financial advice. It is intended to help traders study market behavior, time-based price patterns, and statistical trade outcomes under realistic trading assumptions.

What the Strategy Does

This strategy operates in two selectable trade modes:

1. Reversal Mode

Identifies statistically large candles relative to recent volatility

Enters counter-direction trades when price shows exhaustion behavior

Designed to study fade-type behavior around session extremes

2. Breakout Mode

Tracks recent swing highs/lows over a user-defined lookback

Executes trades only after confirmed price expansion beyond these levels

Designed to test momentum continuation behavior

Time & Session Filtering

Trades are only taken during user-defined market sessions, including:

New York 1

New York 2

London

Asia

This allows users to analyze performance differences between global trading sessions.

9:30 AM Opening Range Logic

The script captures the 9:30 AM (Eastern) one-minute candle high/low and uses that as an Opening Range:

Breakout trades can be confirmed above or below this range

The range is visualized for clarity

Risk Management & Realism Controls

This script includes realistic execution mechanics:

Fixed stop-loss and take-profit defined by the user (points or ticks)

Built-in slippage modeling

Commission assumptions included

Position sizing designed to keep risk per trade under 5–10% of account equity when used with realistic account sizes

Users are responsible for choosing realistic account sizes and risk values when running backtests.

Statistical Performance Tracking

The strategy records and displays performance data including:

Win rate

Average win and loss

Maximum drawdown per trade series

Expectancy

Trade distribution by:

Time of day

Session

Market classification

This allows users to study market tendencies and structural behavior over large sample sizes.

Visual Tools

The script displays:

Entry and exit markers

Blocked trade labels (when conditions are not met)

Opening range box

Breakout levels

Use Case Disclaimer

This script is designed for:

Backtesting

Market structure research

Statistical study

It is not guaranteed to be profitable, and results depend heavily on user-selected settings, market conditions, and realistic brokerage assumptions.
Informacje o Wersji
ev fixed

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.