# Hızlı ve yavaş hareketli ortalamaları hesaplama df['FastMA'] = df['Close'].rolling(window=12).mean() df['SlowMA'] = df['Close'].rolling(window=26).mean()
# MACD ve Sinyal hattını hesaplama df['MACD'] = df['FastMA'] - df['SlowMA'] df['Signal'] = df['MACD'].rolling(window=9).mean()
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.