OPEN-SOURCE SCRIPT

Turtle Trading Strategy with ATR Stop + Pyramiding

742
This indicator uses a Turtle-style breakout system with pyramiding. Long entries occur when price breaks above the highest high of the entry lookback period while above the long-term moving average. Additional positions are added every 0.5 ATR as price continues higher, up to a maximum number of entries. Exits occur when price breaks below the lowest low of the exit lookback period or falls below the ATR-based trailing stop. BUY labels are shown in green and SELL labels in red.

Default Settings
Entry breakout: 20 bars
Exit breakout: 10 bars
Trend MA: 200
ATR length: 20
ATR stop multiple: 2.0
Pyramid add interval: 0.5 ATR
Max pyramid entries: 4
Position size per entry: 25% of equity

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.