simply use datas for monthly sma.
Thanks @rajanprabu and @ab_trader for your assistance and knowledge .
Oh thank you so much! Obvious mistake haha
Could you format the code and output, please?
Hard to understand what is going on there.