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.3.tar.gz (1.8 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.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trendalert-0.0.3.tar.gz
  • Upload date:
  • Size: 1.8 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.3.tar.gz
Algorithm Hash digest
SHA256 495368a01cb8d40dfb9c9eea2172cb38e6415b1c18328c5e8a9476259b5f59d7
MD5 6a59a4309a6f85451bcb5d662d7eb17c
BLAKE2b-256 59b2e5931a33a048372a7932125061112e7e553340c7fd504a5b1d8c18a4945c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trendalert-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 544fc706198f87dbc40658b9ebb537c9fbab6f48f5163fac4631fd0ddc5f8e7f
MD5 4c07dcfaf6c05ccc819dcffe5b4bc1b8
BLAKE2b-256 2e772724f334ef17e958daf4ddd8c0f23539e5844d0b7b524a2b5523fb690519

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