NexusFi: Find Your Edge


Home Menu

 





Does anyone esle find Ninja problematic for optimizing strategies?


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 rsi77 
Chicago
 
Experience: Intermediate
Platform: Ninja Trader & TradeStation
Broker: Amp Futures/Zen-Fire
Trading: ES
Posts: 56 since Jun 2009
Thanks Given: 17
Thanks Received: 48

I was a long-time user of Trade Station and became fairly proficient at coding "Easy" language. I switched to Ninja because I liked the look of their charts and I was frustrated with TradeStation's way of back testing, where a touch at a price counted as a definite fill. This is very unrealistic for a scalping strategy.

Anyway I've finally gotten fairly decent at programming strategies in Ninja, but I find that Ninja hangs up very easily if I'm back testing over more than 2 or 3 weeks. TradeStation was much more stable in this regard IMO.

Anybody have similar experience? Is there a way to improve Ninja's performance?

rsi77


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
 
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Administrator
 
Posts: 3,779 since Jun 2009
Thanks Given: 3,840
Thanks Received: 4,709

2 or 3 weeks, but with which time frame, how many bars ?
I've backtested some strategies with more than 1.000k without stability issues (it's just quite long ).


Reply With Quote
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 R.I.P. 1977-2026 
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,599



rsi77 View Post
I was a long-time user of Trade Station and became fairly proficient at coding "Easy" language. I switched to Ninja because I liked the look of their charts and I was frustrated with TradeStation's way of back testing, where a touch at a price counted as a definite fill. This is very unrealistic for a scalping strategy.

Anyway I've finally gotten fairly decent at programming strategies in Ninja, but I find that Ninja hangs up very easily if I'm back testing over more than 2 or 3 weeks. TradeStation was much more stable in this regard IMO.

Anybody have similar experience? Is there a way to improve Ninja's performance?

rsi77

rsi77,

If you are using anything other than minute data, then almost always the issue is the .NET memory limits of Ninja 6.5. There is a hack (here) but won't work for most people due to the complexity.

You'll probably just need to wait for NT7 if this is what you're seeing. You can know for sure by checking taskmgr and seeing if it is exceeding about 1.3-1.5GB. If so, it's the memory cap issue.

You also need to keep very close eyes on the Log tab inside control panel.

Mike


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 rsi77 
Chicago
 
Experience: Intermediate
Platform: Ninja Trader & TradeStation
Broker: Amp Futures/Zen-Fire
Trading: ES
Posts: 56 since Jun 2009
Thanks Given: 17
Thanks Received: 48

Yep, I use tick and volume charts for most of my testing. Josh at Ninja also said the NT 7.0 has better memory handling capability than the present version and that this should help with the choking I so often experience. I would use your hack but am not running XP64. Thanks for the info anyway. Oh well. I hope 7 is out soon.


Started this thread Reply With Quote




Last Updated on June 17, 2009


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