On Calling Ninjascript Indicators Efficiently
Posted on August 18th, 2009
Written by Richard
Posted in: N/A (old archives)
I’ve put out RWT-004 on the best-of page. This one is about how slow and redundant the typical Ninjatrader idiom for referencing indicators can be:
SMA(Close,5)[0] > SMA(Close,5)[1]
In one case, an apparent bug in ninja’s magical “don’t touch this” area broke code I had written in this fashion. The paper describes the issue, and tells how I now do all of my indicator references in ninjascript.
Here’s a direct link to the paper if you are too lazy to look in the list: RWT-004
Comments
© 2010 Richard Todd. I am not a financial advisor, and nothing on the site should be considered investment advice or actionable recommendations. I'm just an individual, saying what I think, and sharing my experiences.