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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trendalert-0.0.2.tar.gz.
File metadata
- Download URL: trendalert-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28d25a76c230691cde684dfecc965903ad83f1ccd3a4c66e1b2ed9a39070ba72
|
|
| MD5 |
1aad9660e55a5784e4deeead824c11b0
|
|
| BLAKE2b-256 |
e2f1f47e41eaeb8e3436d4dba2593a61c13fdb2c7dbca71cb802648c2bb9d425
|
File details
Details for the file trendalert-0.0.2-py3-none-any.whl.
File metadata
- Download URL: trendalert-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47adc6054f3a753d306b0e9b296941cf6c571944cbf731739086ac159feac645
|
|
| MD5 |
7b03e0b2854a5ac48918758d506526f7
|
|
| BLAKE2b-256 |
8281174451dafff755e762b8ddedd3449fd7d55cb42d1fc1ac7a1b4364626e93
|