Post

Christopher Cain
Christopher Cain@PythonTrader·
2/ Suppose we have a DataFrame (df) of open, high, low, close data We would have to: 1. Use pandas broadcasting to create a new column containing our rolling MA values. 2. Use pandas .rolling() function and chain .mean() to calculate a simple MA 3. Pick columns and use .plot()
English
1
0
0
0
Paylaş