NexusFi: Find Your Edge


Home Menu

 



Categories Help    






The Elite Circle
File sharing for Elite Members only, includes any and all platforms and file types


Entries
Dev Stop from Ninjatrader Forum 5 *
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 
 
Suggest other entries I might like
Details: Dev Stop from Ninjatrader Forum
Category: The Elite Circle 


October 26th, 2011
Size: 16.48 KB
Downloaded: 484 times
 


 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top