---
title: "Vimal Modi (@Vimalmodi) | Hashnode"
description: "Jay Shri Krushna. Read the latest articles by Vimal Modi on Hashnode."
url: "https://hashnode.com/@Vimalmodi"
---

@Vimalmodi

# Vimal Modi

@Vimalmodi · India · Joined November 2022

Jay Shri Krushna

## Comments

[Solved the error this way....Correct way? def MACD\_color(data): MACD\_color = \[\] #for i in range(0, len(data)): for i in range(0, len(data)): if i==0: MACD\_color.append(False) if i>0: if data\['MACDh\_12\_26\_9'\]\[i\] > data\['MACDh\_12\_26\_9'\]\[i - 1\]: MACD\_color.append(True) else: MACD\_color.append(False) return MACD\_color](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26/comment/6379c27eb1e7ce95894549fa)

Comment · Article · Nov 20, 2022 · [Generating Buy and Sell Signals for SMA, MACD, and Bollinger-Bands with Python](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26)

[Got same error as Jing Li Utkarsh singhal Same error as above Platform is not allowing me to share screenshot](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26/comment/6379bc2d8864d49c7d40cf9a)

Comment · Article · Nov 20, 2022 · [Generating Buy and Sell Signals for SMA, MACD, and Bollinger-Bands with Python](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26)

[very well written. cover all basic ideas. Can you plz share your other blogs which can help me to form multi time frame data from ticks? Thank you so much. I am an elderly. You may plz also guide me to Buy you a cofee.](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26/comment/6379b29eb1e7ce958945481a)

Comment · Article · Nov 20, 2022 · [Generating Buy and Sell Signals for SMA, MACD, and Bollinger-Bands with Python](https://hashnode.com/posts/generating-buy-sell-signals-using-python/61241129663d427e19ff8e26)
