Getting indicators based on smart money concepts or ICT
Project description
Smart Money Concepts (smc) BETA
The Smart Money Concepts Python Indicator is a sophisticated financial tool developed for traders and investors to gain insights into market sentiment, trends, and potential reversals. This indicator is built using Python, a versatile programming language known for its data analysis and visualization capabilities.
Installation
pip install smartmoneyconcepts
Usage
from smartmoneyconcepts import smc
Prepare data to use with smc:
smc expects properly formated ohlc DataFrame, with column names in lowercase: ["open", "high", "low", "close"] and ["volume"] for indicators that expect ohlcv input.
Indicators
FVG - Fair Value Gap Highs and Lows OB - Order Block Liquidity
Examples
Please take a look at smc.test.py for more detailed examples on how each indicator works.
smc.fvg(ohlc) # Fair Value Gap
smc.highs_lows(ohlc, up_thresh=0.05, down_thresh=-0.05) # Highs and Lows
smc.ob(ohlc) # Order Block
smc.liquidity(ohlc, range_percent=0.01, up_thresh=0.05, down_thresh=-0.05) # Liquidity
Contributing
This project is still in BETA so please feel free to contribute to the project. By creating your own indicators or improving the existing ones.
- Fork it (https://github.com/joshyattridge/smartmoneyconcepts/fork).
- Study how it's implemented.
- Create your feature branch (git checkout -b my-new-feature).
- Run black code formatter on the finta.py to ensure uniform code style.
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin my-new-feature).
- Create a new Pull Request.
Project details
Release history Release notifications | RSS feed
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
Hashes for smartmoneyconcepts-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aabba7a38984b3d464dbf922d8fc9f16ea10518da977a4cf01219c9e0d116d7 |
|
MD5 | 6eac424938768b43a5864517ca432fa9 |
|
BLAKE2b-256 | 6e48f7880323c722075bb5b7424abfab933b63b5584376b147b64309d41d2633 |