indicators_crossover
Detect moving average crossovers (golden cross, death cross) with signal history. Input prices and MA periods to receive current values, signals, and strength.
Instructions
Golden/death cross detection with signal history.
Use when detecting moving average crossovers (golden cross, death cross). Provide prices and two MA periods. Returns: current MA values, crossover signals, crossover history, and signal strength.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | Array of price data | |
| fast_period | No | Fast moving average period | |
| slow_period | No | Slow moving average period |