
LATEST VERSION V1.4 uploaded on May 30 at 5:06 PM ET !
This version of Ninja's Double Stochastics should work with NT6.5 as well as NT7.
This is an experiment to see how far I can push the optimization. If you encounter any problems, please let me know. Seems to work OK here....
https://nexusfi.com/platforms-indicators/3565-anyone-have-any-hints-optimizing-c-code-6.html#post42556
Instances of all external MA's that are used by this indicator are pre-instantiated and the instances are defined before use.
Calls to the external MIN and MAX indicators have been replaced by calls to new internal private functions that give the minimum and maximum values.
The calls to those functions can only be made on the first tick of each new bar, and then ONLY when the maximum or minimum value of the applicable series is known to have changed. This eliminates a great deal of unnecessary loop processing.
Special thanks to Richard of MoveTheMarkets.com for the optimization strategies, at least SOME of which should be used whenever an external indicator is called from a Ninjacript INDICATOR or STRATEGY... it's a Paradigm Shifter.
This version should work on NT6.5 or NT7, but I have not tested it on NT6.5.
Category The Elite Circle
|
|
|