But what if I want to bundle a bunch of indicators into a single indicator and then add that to a chart without adding each one individually? Is that possible?
Say I want to create a custom indicator called EMABundle that contains EMA(5), EMA(20) and EMA(50). How would I do this? I know if I call EMA(5)[0] it just returns the value at the particular bar I'm looking at but I'd like the whole moving average drawn on the chart. Any help appreciated. Thanks,Peter
Comment