I've almost finished my custom indicator, all I need is to add an SMA.
My question is, how do I define an SMA as a variable at the beginning of the code?
I tried: int SMA(50) but it generated an error message.
Could somebody help me out here?
Thanks a lot.
Comment