The nice thing is to, upon further use chatGPT will understand what syntax we want it to use when repeating the same functions. We still need to make a few changes to make this work properly. Namely, we need to enclose the macd variables that are seperated by commas with [].