OPEN-SOURCE SCRIPT

Swing High/Low Strategy

This TradingView strategy uses EMA/SMA crossovers, Swing High/Low levels, and volume filtering to generate long and short trades. It includes customizable take-profit and trailing stop-loss options for controlled exits.

Long Entry
Entry: Price closes above the latest Swing High, and volume exceeds the 200-period moving average.
Exit:
Take Profit: At a user-defined percentage above the entry.
Trailing Stop (if enabled): Trails by a user-defined percentage as price rises.
Short Entry
Entry: Price closes below the latest Swing Low, and volume exceeds the 200-period moving average.
Exit:
Take Profit: At a user-defined percentage below the entry.
Trailing Stop (if enabled): Trails by a user-defined percentage as price drops.
This setup is designed for breakout trades with volume confirmation, and it manages risk using take-profit and trailing stop-loss options.
Moving AveragesPivot points and levelsVolume

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité