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.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.