NexusFi: Find Your Edge


Home Menu

 





Coding Standards


Discussion in NinjaTrader

Updated
    1. trending_up 3,891 views
    2. thumb_up 2 thanks given
    3. group 0 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

Coding Standards

  #1 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 485 since Jun 2009
Thanks Given: 232
Thanks Received: 415

I'm going to be writing up some coding standards over the weekend.. to help us avoid the chaos and immense aggrevation that we all experienced over the DMA/ADXVMA flat line and other issues we painfully endured in June... things like:
  1. Renaming an indicator or strategy in the Gui.Design.DisplayName and public class xxxxx : Indicator lines and, of course, the file name itself.
  2. Using version numbers: v1.0, v1.1, v1.2, v2.0... etc. resulting in nnnnnn {space} v1.1.zip where the first number is a major change and the second number is a tweak
  3. Entry into log at beginning of code file saying what was changed; by whom and when
  4. Providing a description including any backward references as are warranted (what it is based on, or what applet was the source, etc.
  5. Entering comments to explain code added, changed or deleted.
I would also like to see rudimentary installation instructions as an entry into the thread that "introduces" it or in the Download entry... you will ALL be happy that someone took the time to do this... such as where to put the sound file; what input settings do or imply; anything not totally obvious.

Please add your thoughts and comments as replies to this post.

Started this thread Reply With Quote
Thanked by:




Last Updated on July 9, 2009


© 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
no new posts