Skip to main content

Stock or Futures donchian breakout screener

Project description

This is screener that uses donchian channels, Average True Range, and other inputs to determine if a stock, future or other financial instrument with timeseries (OHLC) is may breakout out of its defined channel.

This is not advice to trade, it is only information to use at your own risk.

Required data:

  • Time series in pandas dataframe (columns need to be titled like: High, Low, Open, Close)
  • Define the number of periods (default: 55 periods)
  • Average True Range (ATR) window(default: 14 periods)
  • ATR multiple (default: 1.5)- used to determine how far from breakout price before positive screen

The response returned is a tuple of the alert and plot. Plot can be set to false if chart is not desired. The alert is one of three options: 1, -1, 0

  • 1 - Possbile breakout to go long
  • -1 - Possible breakuot to go short
  • 0 - Too far from either price channel

Dependencies:

  • pandas
  • ta
  • plotly

Output is a tuple of the alert and plot. Plot can be set to false if chart is not desired.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trendalert-0.0.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trendalert-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file trendalert-0.0.4.tar.gz.

File metadata

  • Download URL: trendalert-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

File hashes

Hashes for trendalert-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be550d8e4a1e28dd426320ad99d477416eabe5f2843d79c153d51192c75394fa
MD5 b9187b87095af9fcb5ef48c4d68450e8
BLAKE2b-256 33b247dd7240b83f8484a26dba74e73cc70f5159c53ec7215b782f4f40605325

See more details on using hashes here.

File details

Details for the file trendalert-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: trendalert-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

File hashes

Hashes for trendalert-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6071d7f5e3b92cf70e165128f9bd2d5796a52b3a31ddcf7586d7bb67f1cf45f7
MD5 7ac2539acb6d8201d67e9571be1e8979
BLAKE2b-256 c92266de60428ca7fddc0bc5a748bd19f92401dc01a68ef29a24a4237cb0f275

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page