Implement the Ichimoku Cloud trading strategy using the existing indicator.
Location:
Strategy Rules:
- Buy Action:
- Current price is above the Cloud (both Senkou Span A and Senkou Span B).
- Tenkan-sen (Conversion Line) is above Kijun-sen (Base Line).
- Senkou Span A is above Senkou Span B.
- Sell Action:
- Current price is below the Cloud (both Senkou Span A and Senkou Span B).
- Tenkan-sen is below Kijun-sen.
- Senkou Span A is below Senkou Span B.
- Hold Action: Otherwise.
Implementation Details:
- Follow the interface.
- Use or allow custom parameters.
- Provide unit tests with historical data in .
- Ensure 100% test coverage.
Implement the Ichimoku Cloud trading strategy using the existing indicator.
Location:
Strategy Rules:
Implementation Details: