OPEN-SOURCE SCRIPT
Telah dikemas kini Dragon Oscillation Reversal v1 is a range-reversal strategy

Dragon Oscillation Reversal v1 is a range-reversal strategy designed for sideways and oscillating market conditions.
The core idea is simple:
The strategy first looks for a flat Bollinger Band basis, which suggests that the market is not strongly trending. After the market enters this flat condition, the strategy waits for price to touch the upper or lower Bollinger Band. Once a valid band touch appears, it opens a configurable signal window and waits for a reversal signal.
Supported reversal signals include:
- Pinbar
- Engulfing pattern
- Fractal top / bottom
A long setup requires:
1. The Bollinger Band basis to be flat.
2. Price to touch the lower Bollinger Band during the flat condition.
3. A bullish reversal signal to appear within the configured signal window.
4. The distance to the opposite band must provide enough profit potential based on the minimum R filter.
A short setup requires:
1. The Bollinger Band basis to be flat.
2. Price to touch the upper Bollinger Band during the flat condition.
3. A bearish reversal signal to appear within the configured signal window.
4. The distance to the opposite band must provide enough profit potential based on the minimum R filter.
Risk management:
- Position size is calculated from account equity and the selected risk percentage.
- Stop-loss is placed beyond the recent reversal extreme with an optional tick offset.
- The strategy uses partial profit-taking:
- 50% of the position is closed at 2R.
- The remaining position targets 4R.
- Once price moves 1R in favor of the trade, the stop is moved to breakeven plus a configurable tick offset.
- If price reaches the opposite Bollinger Band, the strategy performs an emergency exit.
This strategy is designed for range-bound markets. It is not intended for strong trending conditions. Users should test and adjust parameters according to the symbol, timeframe, and market environment.
Important:
This script is for educational and research purposes only. It does not provide financial advice. Past performance does not guarantee future results. Please use proper risk management and test thoroughly before using it in live trading.
The core idea is simple:
The strategy first looks for a flat Bollinger Band basis, which suggests that the market is not strongly trending. After the market enters this flat condition, the strategy waits for price to touch the upper or lower Bollinger Band. Once a valid band touch appears, it opens a configurable signal window and waits for a reversal signal.
Supported reversal signals include:
- Pinbar
- Engulfing pattern
- Fractal top / bottom
A long setup requires:
1. The Bollinger Band basis to be flat.
2. Price to touch the lower Bollinger Band during the flat condition.
3. A bullish reversal signal to appear within the configured signal window.
4. The distance to the opposite band must provide enough profit potential based on the minimum R filter.
A short setup requires:
1. The Bollinger Band basis to be flat.
2. Price to touch the upper Bollinger Band during the flat condition.
3. A bearish reversal signal to appear within the configured signal window.
4. The distance to the opposite band must provide enough profit potential based on the minimum R filter.
Risk management:
- Position size is calculated from account equity and the selected risk percentage.
- Stop-loss is placed beyond the recent reversal extreme with an optional tick offset.
- The strategy uses partial profit-taking:
- 50% of the position is closed at 2R.
- The remaining position targets 4R.
- Once price moves 1R in favor of the trade, the stop is moved to breakeven plus a configurable tick offset.
- If price reaches the opposite Bollinger Band, the strategy performs an emergency exit.
This strategy is designed for range-bound markets. It is not intended for strong trending conditions. Users should test and adjust parameters according to the symbol, timeframe, and market environment.
Important:
This script is for educational and research purposes only. It does not provide financial advice. Past performance does not guarantee future results. Please use proper risk management and test thoroughly before using it in live trading.
Nota Keluaran
Dragon Oscillation Reversal v1 is a range-reversal strategySkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.