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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.