Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created September 30, 2020 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/d4e956f86570b8fe1eb81f70f1bb3335 to your computer and use it in GitHub Desktop.
Save yuyasugano/d4e956f86570b8fe1eb81f70f1bb3335 to your computer and use it in GitHub Desktop.
A support and resistence line sample
support, resistence = supres(df['Close'].to_numpy(), 30)
length of ltp_s: 168
length of ltp_d: 168
print(support)
[61.380001068115234]
print(resistence)
[81.30249786376953]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment