OPEN-SOURCE SCRIPT

Breakouts With Timefilter Strategy [LuciTech]

2 784
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。