PROTECTED SOURCE SCRIPT
CBS Strategy with Trailing Stop _ IK

3-Candle High/Low Breakout Strategy – Clean, Powerful, Fully Customizable (Pine Script v6)
A simple yet effective momentum breakout strategy that triggers trades when price closes above the highest high or below the lowest low of the previous 3 completed candles.
Perfect for trending markets (stocks, forex, crypto, indices) on any timeframe.
Key Features:
• Pure price-action breakout logic (no repainting)
• Long & Short entries with visual triangle signals
• Built-in Stop Loss & Take Profit (fixed % or ATR-based)
• Optional Trailing Stop (percentage or ATR multiplier)
• All risk parameters fully adjustable from the settings panel
• Clean on-chart visualization of SL, TP, and active trailing stop levels
• Works on all instruments and timeframes
Default Settings (2:1 Reward/Risk):
• Stop Loss: 1.5%
• Take Profit: 3.0%
• Trailing Stop: 1.0% (optional)
How to Use:
1. Add to chart
2. Adjust risk settings to match your style (fixed % or ATR)
3. Enable/disable trailing stop as needed
4. Backtest and optimize per instrument/timeframe
Fully open-source • No external libraries • Pine Script v6
Great for swing trading, intraday breakouts, or as a base for further enhancements.
Happy trading!
A simple yet effective momentum breakout strategy that triggers trades when price closes above the highest high or below the lowest low of the previous 3 completed candles.
Perfect for trending markets (stocks, forex, crypto, indices) on any timeframe.
Key Features:
• Pure price-action breakout logic (no repainting)
• Long & Short entries with visual triangle signals
• Built-in Stop Loss & Take Profit (fixed % or ATR-based)
• Optional Trailing Stop (percentage or ATR multiplier)
• All risk parameters fully adjustable from the settings panel
• Clean on-chart visualization of SL, TP, and active trailing stop levels
• Works on all instruments and timeframes
Default Settings (2:1 Reward/Risk):
• Stop Loss: 1.5%
• Take Profit: 3.0%
• Trailing Stop: 1.0% (optional)
How to Use:
1. Add to chart
2. Adjust risk settings to match your style (fixed % or ATR)
3. Enable/disable trailing stop as needed
4. Backtest and optimize per instrument/timeframe
Fully open-source • No external libraries • Pine Script v6
Great for swing trading, intraday breakouts, or as a base for further enhancements.
Happy trading!
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน