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
- Swing Tops and Bottoms
- BOS and CHoCH
- OB - Order Block
- VOB - Volumized Order Blocks
- 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) # Highs and Lows
smc.swing_tops_bottoms(ohlc, swing_length=10) # Swing Tops and Bottoms
smc.bos_choch(ohlc, close_break=True, filter_liquidity=False) # Detect BOS and CHoCH
smc.ob(ohlc) # Order Block
smc.vob(ohlc) # Volumized Order Blocks
smc.liquidity(ohlc) # 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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf1ab9485a4b0cf76820093cb3b6abb1b90635d119b9a78aaf934cc57fb01bb |
|
MD5 | 5ba77682c21fe8e7ac927843d67a5ea9 |
|
BLAKE2b-256 | 856e0011ce25fb0436057af16f7d161c47d810b109e8597aea082519a134e289 |
Hashes for smartmoneyconcepts-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7e51a662f629c2eab6fb6d259f6a9c1bff907c9fa8e99bea26174c9f9733383 |
|
MD5 | 2e3ae34c4c292e105978f31520d54a9c |
|
BLAKE2b-256 | c50989de8ecd7412d85b3d277283e336f36e434a4c8b91d4f40ae67edfb3ca58 |