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:
- Candle body is long, significantly longer than the average body length
- Small or non-existent upper and lower shadows
- Body occupies most of the candle
- Pattern appears at the beginning or in the middle of a trend
- 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
- Use in combination with trend direction
- Pay attention to the overall market trend
- Monitor volume confirmation
- Set reasonable stop-loss levels
- 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