NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
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
Comments/ratings
5 * Sad Planet October 27th, 2011 11:21 AM
Excellent!
5 * tigertrader October 27th, 2011 11:37 AM
As always, your work is greatly appreciated!
5 * Fat Tails October 27th, 2011 12:26 PM
Learned a lot from your code!
5 * eleven October 27th, 2011 11:43 PM
Nice work!
4 * Zipper Ripper October 28th, 2011 09:20 AM
Good work! Thanks!!!
5 * devdas October 28th, 2011 03:49 PM
Thanx
5 * ejtrader October 28th, 2011 11:33 PM
Nice! Thanks a lot Zondor!!

 
Sort by

 




© 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