Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GH-169] Add Psychological Line (PSL) Support #170

Merged
merged 1 commit into from
Jul 8, 2023
Merged

Commits on Jul 8, 2023

  1. [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.
    jealous committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    c9dfd11 View commit details
    Browse the repository at this point in the history