NexusFi: Find Your Edge


Home Menu

 





NinjaTrader custom indicator problem with multiple data series - freezing


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one TraderOfFortune with 7 posts (1 thanks)
    2. looks_two Fat Tails with 6 posts (0 thanks)
    3. looks_3 vegasfoster with 2 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
    1. trending_up 10,970 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 17 posts
    2. attach_file 5 attachments




 
Search this Thread

NinjaTrader custom indicator problem with multiple data series - freezing

  #11 (permalink)
TraderOfFortune
Rostov-on-Don, Russia
 
Posts: 7 since Dec 2011
Thanks Given: 0
Thanks Received: 1

Yes, indeed - why?
Voila - attached.

@Fat Tails: Btw, do you run 64-bit version or 32? Mine is 32-bit NT running on XP.

Attached Files
Elite Membership required to download: ACustomInd.cs
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Are there any eval firms that allow you to sink to your …
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #12 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


TraderOfFortune View Post
Yes, indeed - why?
Voila - attached.

@ Fat Tails: Btw, do you run 64-bit version or 32? Mine is 32-bit NT running on XP.


Your indicator works here as expected, and there is no freeze. I use XP 32-bit.

Reply With Quote
  #13 (permalink)
TraderOfFortune
Rostov-on-Don, Russia
 
Posts: 7 since Dec 2011
Thanks Given: 0
Thanks Received: 1


All right, folks - seems the mystery is resolved (at least I hope so). A friend of mine who owns a NinjaTrader license contacted them in my behalf describing the problem. They didn't give a solution, but suggested that the problem is supposedly because of intensive logging. In fact, NinjaTrader documentation has a mentioning of this issue, as it turned out.

I'd hardly call once a sec logging too intensive, so I did some tests and found out that the system rapidly slows down when there are many logs in the Log window. I suppose, when the .NET grid used in the Log window has too many lines it doesn't perform well. So, it's not the frequency that matters, but the quantity.
The lesson I leaned for myself - clean your logs periodically, if you're using log messages and running the system for a prolonged period of time.

Thanks to everybody for helping me out!

Reply With Quote
Thanked by:
  #14 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

Oh yes, lather up and clean your logs you dirty, dirty...oh wait, wrong forum, sorry nm.

Reply With Quote
  #15 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


TraderOfFortune View Post
All right, folks - seems the mystery is resolved (at least I hope so). A friend of mine who owns a NinjaTrader license contacted them in my behalf describing the problem. They didn't give a solution, but suggested that the problem is supposedly because of intensive logging. In fact, NinjaTrader documentation has a mentioning of this issue, as it turned out.

I'd hardly call once a sec logging too intensive, so I did some tests and found out that the system rapidly slows down when there are many logs in the Log window. I suppose, when the .NET greed used in the Log window has too many lines it doesn't perform well. So, it's not the frequency that matters, but the quantity.
The lesson I leaned for myself - clean your logs periodically, if you're using log messages and running the system for a prolonged period of time.

Thanks to everybody for helping me out!

This a direct consequence of the Heisenberg Uncertainty Principle.

Reply With Quote
  #16 (permalink)
TraderOfFortune
Rostov-on-Don, Russia
 
Posts: 7 since Dec 2011
Thanks Given: 0
Thanks Received: 1


Fat Tails View Post
This a direct consequence of the Heisenberg Uncertainty Principle.

Damn, I knew I shouldn't have missed my quantum physics classes!

Reply With Quote
  #17 (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,399 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,539


Fat Tails View Post
Heisenberg Uncertainty Principle


TraderOfFortune View Post
Damn, I knew I shouldn't have missed my quantum physics classes!

That's ok, the only thing I think of when I hear Heisenberg is Breaking Bad.






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 Reply With Quote
  #18 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Big Mike View Post
That's ok, the only thing I think of when I hear Heisenberg is Breaking Bad.
Mike

That is one of the reasons that the days of US leadership in the world can be counted.

Reply With Quote




Last Updated on December 22, 2011


© 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