OPEN-SOURCE SCRIPT
Price Channel Scalping

My X account:@CTF_bule_lotus
1. Core Logic (Price Channel Breakout)
The strategy relies on a single, simple indicator: the highest high of the past 20 bars.
When the current price breaks above this 20-period high, a stop entry is used to initiate a long position.
This design avoids prediction.
The model waits for the market to demonstrate momentum before participating.
2. Trade Direction (Long Only)
The strategy exclusively trades long positions and does not take shorts.
This choice is based on:
ETH’s historically upward-biased structure
Avoiding noise from two-sided signals during high-volatility periods
Keeping the direction consistent, which is beneficial for scalping-style systems
3. Risk Management (Fixed TP / SL)
Immediately after entry, the strategy sets two fixed exit conditions:
Take Profit: +10 price units
Stop Loss: –10 price units
Both are automatically converted using the market’s minimum tick size to ensure cross-instrument applicability.
This fixed TP/SL structure is typical in scalping systems:
small wins, fast exits, controlled losses, high turnover.
4. Transaction Costs
A 0.03% fee is applied to every trade throughout the entire backtest.
This fee level reflects the cost structure of major centralized exchanges, making results closer to real-world conditions.
5. Data & Time Range (2016–2025 Full Sample)
The backtest uses ETH’s complete historical dataset from 2016 to 2025.
No subjective filtering is applied—large moves, flash crashes, and black-swan events are all included.
The strategy does not rely on heavy parameter tuning, reducing the risk of overfitting.
6. Backtest Results (Including Fees)
Under this fixed, rule-based structure, the cumulative return is:
1,202,002.77% (2016 → 2025)
Even after including transaction fees, performance is driven by:
High trade frequency and small profit targets
Strict loss containment
Capturing momentum during breakout regimes
7. Transparency & Reproducibility
I will publish the full Pine Script implementation, including:
Entry logic
Exit logic
Fee configuration
All parameters
Backtesting framework
Transparency and reproducibility remain the core principles of this research.
1. Core Logic (Price Channel Breakout)
The strategy relies on a single, simple indicator: the highest high of the past 20 bars.
When the current price breaks above this 20-period high, a stop entry is used to initiate a long position.
This design avoids prediction.
The model waits for the market to demonstrate momentum before participating.
2. Trade Direction (Long Only)
The strategy exclusively trades long positions and does not take shorts.
This choice is based on:
ETH’s historically upward-biased structure
Avoiding noise from two-sided signals during high-volatility periods
Keeping the direction consistent, which is beneficial for scalping-style systems
3. Risk Management (Fixed TP / SL)
Immediately after entry, the strategy sets two fixed exit conditions:
Take Profit: +10 price units
Stop Loss: –10 price units
Both are automatically converted using the market’s minimum tick size to ensure cross-instrument applicability.
This fixed TP/SL structure is typical in scalping systems:
small wins, fast exits, controlled losses, high turnover.
4. Transaction Costs
A 0.03% fee is applied to every trade throughout the entire backtest.
This fee level reflects the cost structure of major centralized exchanges, making results closer to real-world conditions.
5. Data & Time Range (2016–2025 Full Sample)
The backtest uses ETH’s complete historical dataset from 2016 to 2025.
No subjective filtering is applied—large moves, flash crashes, and black-swan events are all included.
The strategy does not rely on heavy parameter tuning, reducing the risk of overfitting.
6. Backtest Results (Including Fees)
Under this fixed, rule-based structure, the cumulative return is:
1,202,002.77% (2016 → 2025)
Even after including transaction fees, performance is driven by:
High trade frequency and small profit targets
Strict loss containment
Capturing momentum during breakout regimes
7. Transparency & Reproducibility
I will publish the full Pine Script implementation, including:
Entry logic
Exit logic
Fee configuration
All parameters
Backtesting framework
Transparency and reproducibility remain the core principles of this research.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。