-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH-169] Add Psychological Line (PSL) Support
The Psychological Line indicator is the ratio of the number of rising periods over the total number of periods. https://library.tradingtechnologies.com/trade/chrt-ti-psychological-line.html Formular: * PSL = (Number of Rising Periods) / (Total Number of Periods) * 100 Example: * `df['psl']` retrieves the PSL with default window 12. * `df['psl_10']` retrieves the PSL with window 10. * `df['high_12_psl']` retrieves the PSL of high price with window 10.
- Loading branch information
Showing
3 changed files
with
70 additions
and
31 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