This indicator caught my attention on the Ninjatrader Forum. The idea is good.. REALLY good!- but the coding left a lot to be desired.
I predefined instances of 13 external indicators to slash the resource load while running on the new default setting of COBC=false. Some of the calls to the MIN and MAX functions were moved to an area where they only need to executed on FirstTickOfBar, not on every tick. Also changed the moving average type from EMA to LLMA.
Some of the old code was commented out, with the replacement code immediately following. Use this as a guide for the correct and efficient way to invoke external indicators. It's frustrating to see other coders continuing to handle this so poorly.
The plots look similar to those generated by the indicator on the Ninjatrader forum. Aside from the optimization the program logic is the same. However, some well founded questions have been raised about the validity of that underlying program logic.
There is also a different, very well coded version of this indicator by Fat Tails which appears to give superior results. https://nexusfi.com/ninjatrader-programming/10725-devstop-indicator-need-fixed-2.html
So, this should be considered to be a work in progress.
Category The Elite Circle
|
|
|