OPEN-SOURCE SCRIPT
已更新

Gann Single Square Swing Trading System with Gann Angles

569
Gann Single Square Swing Trading System
This script automatically detects "squares" - geometric patterns where price movement equals time movement. When price moves the same distance as the number of bars (time), it creates powerful support/resistance levels based on Gann theory.
Key Visual Elements
• Box: The detected square pattern
• Dark Blue Line (50%): Most important trading level
• Green Lines: Profit target levels (125%, 150%)
• Red Lines: Stop loss levels (-25%, -50%)
• Colored Angle Lines: Gann angles for trend direction
• Quality Score: Blue label showing setup strength (aim for 70%+)
Simple Trading Rules
LONG Trades (Green 🟢 Square)
1. Entry: Buy when price touches the dark blue 50% line from above
2. Stop Loss: Place below the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
SHORT Trades (Red 🔴 Square)
1. Entry: Sell when price touches the dark blue 50% line from below
2. Stop Loss: Place above the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
Entry Checklist
✅ Square quality score > 70%
✅ Price touches 50% level (dark blue line)
✅ Volume above average (if volume filter enabled)
✅ Clear square formation visible
Alerts
The script generates automatic alerts when price reaches the 50% trading level. Enable alerts in TradingView to get notified of setups.
Bottom Line: Wait for the alert → Check quality score → Enter at 50% level → Set stop at red line → Take profit at green line.

發行說明
Script Updated,
SUMMARY OF UPDATES
1. Individual Ratio Detection Controls
• 7 separate toggles to enable/disable each specific ratio for square detection
• You can now choose exactly which price-to-time ratios the system will recognize as valid Gann squares
• Each ratio (1x4, 1x3, 1x2, 1x1, 2x1, 3x1, 4x1) has its own on/off switch
• Benefit: Create custom detection strategies focusing on specific ratio patterns
2. Individual Gann Angle Display Controls
• 7 separate toggles to show/hide each type of Gann angle line on the chart
• Independent from detection - you can detect all ratios but only display certain angle lines
• Each angle type can be turned on/off individually
• Benefit: Cleaner charts by showing only the angles you want to see
3. Ratio Identification System
• The system now identifies and displays which specific ratio was detected for each square
• Square information labels show the detected ratio (e.g., "2x1", "1x3") alongside quality scores
• Benefit: Know exactly which Gann pattern triggered each square formation
4. Enhanced Alert System
• Trading alerts now include the specific ratio information in the alert message
• More informative notifications that tell you which pattern caused the alert
Summary :
Transformed from a Fixed control system to a fully customizable Gann ratio control system with individual toggles for each ratio type, providing traders with precise control over their Gann square analysis.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。