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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66d5afc0b2d2776b1b2c09df7d753f7a49768612e5125cd2fa7d727eeb855f7f |
|
MD5 | 3536af64f852486723e0b78eb49848e7 |
|
BLAKE2b-256 | 6a8def284a3730708ae77a69be82c01c6d0adc903be8cd6a443d7b226e53c076 |
Hashes for smartmoneyconcepts-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25163a1dd12063cbf669140ab05c578b4ee46793de8ad2f2605edfcab59b7d71 |
|
MD5 | e2fb41a6035dcdb083111f4b3c154129 |
|
BLAKE2b-256 | af402f8d0433619312437e49b5e9e1594ca00348288f256f2a7c2ffeb49cbb1d |