OPEN-SOURCE SCRIPT

Breakouts With Timefilter Strategy [LuciTech]

3 926
This strategy captures breakout opportunities using pivot high/low breakouts while managing risk through dynamic stop-loss placement and position sizing. It includes a time filter to limit trades to specific sessions.

How It Works
A long trade is triggered when price closes above a pivot high, and a short trade when price closes below a pivot low.

Stop-loss can be set using ATR, prior candle high/low, or a fixed point value. Take-profit is based on a risk-reward multiplier.

Position size adjusts based on the percentage of equity risked.

Breakout signals are marked with triangles, and entry, stop-loss, and take-profit levels are plotted.

moving average filter: Bullish breakouts only trigger above the MA, bearish breakouts below.

The time filter shades the background during active trading hours.

Customization:
Adjustable pivot length for breakout sensitivity.

Risk settings: percentage risked, risk-reward ratio, and stop-loss type.

ATR settings: length, smoothing method (RMA, SMA, EMA, WMA).

Moving average filter (SMA, EMA, WMA, VWMA, HMA) to confirm breakouts.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.