OPEN-SOURCE SCRIPT

High-Low Breakout Strategy (Long Only)

This script is a simple yet effective breakout strategy designed for long-only trades. The logic is straightforward:

- **Entry Condition**: Enter long when the close price exceeds the previous high.
- **Exit Condition**: Exit the position when the close price drops below the previous low.

Features:
- Automatically identifies the previous high and low for every bar.
- Displays these levels on the chart for easy reference.

Use this script for backtesting and exploring breakout opportunities in various markets. Let us know your thoughts and how it works for you in the comments!

Disclaimer: This script is for educational purposes only and is not financial advice. Past performance does not guarantee future results.
- Perfect for trend-following traders looking for a mechanical, rule-based approach.
Bands and ChannelsCandlestick analysisChart patterns

開源腳本

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

想在圖表上使用此腳本?

免責聲明