MacroMuppet / Demark_trading_indicator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tom-Demark-Indicator

Financial charting with Tom DeMark indicator overlay

alt text

Updated Readme @ 4/11/2023 from JonathanSheets517

Chances are you're a smart buyside PM/Quant/Analyst that already knows how to analyze the TD countdown. Otherwise, you wouldn't have gone through the trouble to search this repo out.

If you're a Student/New Investor kudos for finding this repo - but you will need to DYR on TD. It is worth your time.

alt text

Step 1 - I recommend sourcing free historical crypto data from CoinGeckoAPI combined with OHLC data from Alpha Vantage API Key Generator. You'll need a free API key from alphaVantage.

Step 2 - Place all files in this repo into a common directory on your pc, set it as your current working directory

Step 3 - navigate in terminal and run the NEW create_price_data_csv.py file

  • choose BTC or ETH for historical data

Step 4 - in terminal run updated other_indicators.py

  • choose the CSV file created from new py function.

Step 5 - in terminal run updated TD_plotter.py file

  • removes other indicators as starting view
  • updates candlestick code to use mplfinance.original_flavor since matplotlib.finance is deprecated
  • reverses the x-axis of the chart so its not plotting backwards
  • adjusts DeMark 9 and 13 day signal arrows so they're more visible
  • prompts user to choose different CSV files in directory

The updated TD_plotter.py still looks at Bitcoin. There's a new sample btc_price.csv in the repo if you just want to run it quick for yourself.

By default TD_plotter.py will NOT show 10 and 30 day exponential moving averages, MACD, volume, and a 28 day moving average for volume. These can be changed by commenting/uncommenting clearly marked sections of the code.

Note that TD_plotter.py uses Python modules outside the standard library. Specifically, requests, matplotlib, numpy, and pandas. And a bunch of other ones outlined in the respective .py files

About


Languages

Language:Python 100.0%