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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明