-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. In this implementation, we only calculate the delta between lead A and lead B (which is the width of the cloud). It contains three windows: * window for the conversion line, default to 9 * window for the baseline and the shifts, default to 26 * window for the leading line, default to 52 Formular: * conversion line = (PH9 + PL9) / 2 * baseline = (PH26 + PL26) / 2 * leading span A = (conversion line + baseline) / 2 * leading span B = (PH52 + PL52) / 2 * result = leading span A - leading span B Where: * PH = Period High * PL = Period Low Examples: * `df['ichimoku']` returns the ichimoku cloud width with default windows * `df['ichimoku_7,22,44']` returns the ichimoku cloud width with window sizes 7, 22, 44
- Loading branch information
Showing
3 changed files
with
110 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters