I am new to MT4 and trying to get some code working. I am not sure what I am doing wrong. I am gettting the error iMACD - wrong parameter count.
Attached is the screenshot of the code.
Install MT4 if you want to write MT4 code. Your screenshot shows that you are using MT5. iMACD() has different parameters in MQL5 than MQL4.