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.
pip install smartmoneyconcepts
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.
- FVG - Fair Value Gap
- Highs and Lows
- BOS and CHoCH
- OB - Order Block
- Liquidity
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.bos_choch(ohlc, close_break=True, filter_liquidity=False) # Detect BOS and CHoCH
smc.ob(ohlc) # Order Block
smc.liquidity(ohlc) # Liquidity
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.