adv = GetRTDataForeign("bid","AD-NYSE-NYSE-IND");
dec = GetRTDataForeign("ask","AD-NYSE-NYSE-IND");
AddToComposite( adv-dec, "~ADD","C", atcFlagDefaults | atcFlagEnableInIndicator
);
Plot(Foreign("~ADD","C",1),"AD",1);
The above code plots the ONLY last value of AD-NYSE. However, I wanted to
accumulate values in real-time in the composite - any hints on how to do it?
Thanks
Kevin
