NexusFi: Find Your Edge


Home Menu

 





Ninja 6.5 largeaddressaware hack


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 9 posts (4 thanks)
    2. looks_two sam028 with 9 posts (9 thanks)
    3. looks_3 trumpy with 4 posts (0 thanks)
    4. looks_4 gv1150 with 3 posts (0 thanks)
      Best Posters
    1. looks_one roonius with 1.5 thanks per post
    2. looks_two sam028 with 1 thanks per post
    3. looks_3 445NDO with 1 thanks per post
    4. looks_4 Big Mike with 0.4 thanks per post
    1. trending_up 25,385 views
    2. thumb_up 18 thanks given
    3. group 22 followers
    1. forum 50 posts
    2. attach_file 7 attachments




Closed Thread
 
Search this Thread

Ninja 6.5 largeaddressaware hack

  #21 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,603


alex123 View Post
my NT keeps freezing especially when I trade ES, but I don't know if I can use this hack version, my system is AMD Athlon 64X2 Dual, Core Pressor 5000+, 2.61 GHz, 1.75 GB of RAM, and windows XP, is it OK for my computer to use this hack version?

if I can use it, will it replace my current NT? do I need to do back up on all my indicators and template? I mean I don't need to re-import all the indicators and template?

sorry, too many question.

thanks in advance

alex

Hi Alex,

No, do not use the hack, it will hurt more than help for your system. You must have 4GB of ram or more, and must run x64 OS. Athlon 64 X2 does not equal a 64-bit OS.

If you want help on troubleshooting why ninja locks all the time create a different thread for that please.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #22 (permalink)
 dandxg 
Denver, Colorado
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, CL, anything that makes $$
Posts: 178 since Nov 2009
Thanks Given: 164
Thanks Received: 77

Thanks for posting the large address fix. I was getting disgusted with NT. I even went out and bought a quad core, Win 7, with 8 gigs or RAM and still getting chart lock ups when there is a news event and burst of volume. Still waiting for my beta 7. Anyway I am no technology guru, but I can figure stuff out and not afraid to pioneer at times if the R is worth the R.

I downloaded the version for .14 and downloaded 7 zip. It gave the option to extract to Ninja 6.5xxxx.14. I presume this is correct. I know it's not supported just wondering if I could get a helpful suggestion. Thanks much. This is great forum.

  #23 (permalink)
 trumpy 
Minneapolis
 
Experience: Beginner
Platform: NinjaTrader
Broker: TBD
Trading: ES
Posts: 27 since Jul 2009
Thanks Given: 2
Thanks Received: 11


Guys - just wanted to report back in that this hack has been working well for me. I was at the stage of throwing out NT even though I own a lifetime license as it was unusable on ES when the market was moving fast. Now however there will be a momentary pause during fast moving times but no lockups or crashes. Just wanted to extend a big thanks to everyone on the forum that helped out on this topic.


Cheers

  #24 (permalink)
 
cclsys's Avatar
 cclsys 
Sydney, NS
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: TF,S,GC
Posts: 605 since Nov 2009
Thanks Given: 248
Thanks Received: 393

I have 32 bit XP so no hack for me. Great that you have such thing here on this forum.

I recently have been having crashes and slowdowns when I run for many hours and do not close down re-open. I am not running any strategies during these periods, just testing indicators, although my indicators tend to be quite long with multiple options because I am writing them to visually test out various ideas (because cannot program strategies yet in Ninja and have found nothing on their forum that helps with strategies other than particular snippets here and there).

Could someone explain why Ninja is accumulating so much memory usage over time? This happens even when I am not connected to live data and just writing, verifying and reloading indicators onto a chart. It goes up to about 1.5 gigs and also about a Gig is being used in Ram. What's being stored and why? Is there anywhere you can go in your system to 'clear it' or is closing down the only solution.

I have one theory about the lagging during live action because I ran into this when testing out satellite feed last year. Zenfire data transmits unpacketed tick-by-tick data, is my understanding. For example with Tradestation it is packeted into chunks which are compressed and then sent out. In order to coordinate more complex charts like tick charts, there is almost as much uploading as downloading going on if you monitor that carefully as I did for a while (with Bitmeter utility). My little theory is that the synchronisation aspect of building the tick charts gets out of whack with any uploading - downloading latency. Most broadband is about 3-400 ms which is getting close to half a second. So when the market flies, it is unsynchronised so the system has to both keep processing live data as it is transmitted and also try to catch up with the stuff that has not yet been properly synchronised so the charts are drawn correctly.

I am in the somewhat absurd position of still having dialup so I have to restrict myself to certain markets with lower volume. But I have noticed something of late: because I was studying market profile and knew such things require much more processing, especially Jstats type info that updates tick by tick, I turned to minute charts.

Even though I am on dialup (26kps only!), I have not had any lag since moving to the minute charts - which I was also inspired to do by the 5-minute crowd here. It has made a huge difference to my system.

Now of course most people are not on dialup so this is not a concern. However, precisely BECAUSE I have such limitations of bandwidth, my setup is very sensitive to certain changes given that I have such little wriggle room to find workable markets etc. Changing to minute charts for me (when live) has been like night and day. So I suspect that even for those without my bandwidth problems, there might be something in my little theory above that is jamming up the works.

Another little factoid about this: not only is TS data packeted, which means more delay, but also they do not enter your stops and profit targets into the queue until the price is hit at which point the order is sent in. That is a rather important little point that TS doesn't really like to highlight.

Finally, I suspect there is already a thread on the forum about writing indicators and strategies in such a way as to reduce processing. Clearly I am not doing it because of my recent experiences with memory getting maxed out. What are the main issues there, or can someone direct me to a thread that deals with this?

Visit my NexusFi Trade Journal
  #25 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,603

NT 6.5 has major memory leaks, and the 1.5GB limitation is due to architecture and .NET code.

NT 7 will improve things dramatically by having the 256-bar dataseries limit option, which will work fine for majority of users. Currently the more historical data you backtest, the worse the memory problem. Many of my backtests have hundreds of thousands of bars, and when you calculate say an EMA or something it has to do it for hundreds of thousands of bars. With NT7 it will do it just 256 bars back, saving gobs of memory. Since most people don't need to reference a DataSeries more than [256] bars back, it works to solve the limitation.

Still, with x64 here and the hack, I very very rarely have any problems any more, where as I used to have multiple crashes every day, all because of tick-level backtesting. Now I can backtest months of tick level data without a crash, before I couldn't do more than 2 weeks at a time.

So depending on your priorities etc, it is worth building a new system or installing Windows 7 x64 if you have more than 4GB of memory, and use the NT 6.5 hack.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
  #26 (permalink)
 dandxg 
Denver, Colorado
 
Experience: Intermediate
Platform: Ninja Trader
Trading: ES, CL, anything that makes $$
Posts: 178 since Nov 2009
Thanks Given: 164
Thanks Received: 77

I was just wondering if anyone would be so nice as to comment/suggest on my above post

"I downloaded the version for .14 and downloaded 7 zip. It gave the option to extract to Ninja 6.5xxxx.14. I presume this is correct. I know it's not supported just wondering if I could get a helpful suggestion. Thanks much. This is great forum. "

I understand if things go sideways I am fully responsible. TIA. Good trading to all.

  #27 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


dandxg View Post
I was just wondering if anyone would be so nice as to comment/suggest on my above post

"I downloaded the version for .14 and downloaded 7 zip. It gave the option to extract to Ninja 6.5xxxx.14. I presume this is correct. I know it's not supported just wondering if I could get a helpful suggestion. Thanks much. This is great forum. "

I understand if things go sideways I am fully responsible. TIA. Good trading to all.

Do you have Ninja 6.5.1000.14 already installed ?
So, if your Windows 7 is x64 (not x86), you just need to:
- rename the NinjaTrader.exe (NinjaTrader.ori for ex.)
- extract the NinjaTrader.exe included in the .rar
- move this NinjaTrader.exe in your NT directory (C:\Program Files (x86)\NinjaTrader 6.5\bin I presume).

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter
Thanked by:
  #28 (permalink)
 
cclsys's Avatar
 cclsys 
Sydney, NS
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: TF,S,GC
Posts: 605 since Nov 2009
Thanks Given: 248
Thanks Received: 393

Thanks for yr reply, Mike.

I am getting the feeling I should get into 64. Was not really an issue before because running XP SP2 on a dual core is pretty darn good for most things.

But not, it seems, for Ninja!

Since I mainly work with vol and price I think once I learn to code Ninja strategies I'll mainly test on minute bars which fly. I don't like the 256 data series. That's nothing. If I wanted to test a short term system, I'd want to do a year if possible, but at least 90 days, which is thousands of bars.

Another reason I don't yet write strats in Ninja apart from beginner level coding difficulties is that I totally hate the strategy interface. If you run some simple parameter tests, the results window is the single most badly designed trading interface I have seen in over twenty years going back to systems that ran in Dos 5. Personally, I'd rather get text files and test in TS2000. At least you can work with it easily. Then if you have something good, code it into Ninja to trade or test live, but not for backtesting. It's a thoroughly clunky backtesting interface imho.

Visit my NexusFi Trade Journal
  #29 (permalink)
adrfonseca
Lisboa
 
Posts: 3 since Aug 2009
Thanks Given: 0
Thanks Received: 0

Hi Mike,

This worked pretty well !!!
win7 64 bits

Thanks!

  #30 (permalink)
 gv1150 
Florida
 
Experience: Advanced
Platform: Ninja
Broker: Zen-Fire
Trading: ES
Posts: 5 since Nov 2009
Thanks Given: 2
Thanks Received: 1


Hey All,

I have tested this on a Vista and 7 box, both 8GB ram 64bit... so I know thats not the issue.

When I try to optimize my strategy with the hack, I do not get any results. If I put back the old .exe, I get results fine.

I have spent the last 24 hours, almost without interruption, trying to figure out why it won't work. Can any of you try an optimize and see if you get results? If I choose optimize, but leave all of my variables untouched... I do get a result, but as soon as I change a variable, boom, nothing.

Its definitely not data, I can backtest just fine... I can pull up charts, and like I said, if I replace the hack with the original, everything works fine.

Thanks for your input!


Closed Thread



Last Updated on June 30, 2012


© 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