Long Line Pattern

Long Line is one of the commonly used candlestick patterns in quantitative trading, representing a strong trend pattern.

Calculation Principle

Long Line pattern is identified by the following conditions:

  1. Candle body is long, significantly longer than the average body length
  2. Small or non-existent upper and lower shadows
  3. Body occupies most of the candle
  4. Pattern appears at the beginning or in the middle of a trend
  5. Indicates strong buying or selling power

Parameter Description

  • Input Parameters:
    • Open: Opening price
    • High: Highest price
    • Low: Lowest price
    • Close: Closing price
  • Parameters:
    • min_body_ratio: Minimum body ratio (default: 0.8)

Usage Recommendations

  1. Use in combination with trend direction
  2. Pay attention to the overall market trend
  3. Monitor volume confirmation
  4. Set reasonable stop-loss levels
  5. Watch for false breakouts

Notes

  • Ensure data quality
  • Pay attention to pattern completeness
  • Consider market environment
  • Watch for false signals
  • Combine with fundamental analysis
  • Pay attention to risk control
  • Regularly evaluate strategy effectiveness
  • Optimize parameters
Last Updated: