There is seldom any need to use it by itself, but the SUM indicator is important because it is often called upon by other indicators, which might be set to CalculateOnBarClose = false.
It is also inefficiently coded. Two logic tests that are performed on every tick only need to be performed once per bar.
Correcting this reduces the CPU load when CalculateOnBarClose is false. For COBC true, it does not make any difference.
Therefore consider REPLACING the existing file, @SUM, with this one, using Windows Explorer.. NOT the Ninjascript installation utility.
I don't think a screen shot is necessary for this one.
WRONG FILE had been uploaded. Corrected file uploaded at 2:45 PM ET January 3 2012. Thanks for bringing this to my attention, and please accept my apologies.
Category The Elite Circle
|
|
|