hello guys
i hope all of you are ok
I am not good on coding and just use Chatgpt4 to help me making codes, when I was trying to test one I have problem with one mistake that I could not fix it about Macd indicator
the mistake on this line (MACDLine = MACD[12,26,9](close))
anyone has experience to help me to fix that?
thank you all
Hello,
MACDLINE is a reserved word (indicator). It cannot be used as variable.
You can change your code like this, for example :
myMACD = MACD[12,26,9](close)