JL
Hello Thank you! It is well written! I want a bit more information on the two points below: When I run the code to To visualize the MACD histogram we create a simple function to insert a boolean column. It showed me -1 is not in range. I don't know how to fix it. Is it possible to set your own short-term and long-term range, for example, 3 days and 7 days? I want to use it for my research project. Would be interesting to check how it works. Thank you! Jing L
CommentArticleMar 31, 2022Generating Buy and Sell Signals for SMA, MACD, and Bollinger-Bands with Python