Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Freezes after opening a position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Freezes after opening a position

    Hi. I have a few indicators, which are showing some grafs based on price. But when I open a position by 1 contract, graf can stop for 2-3 secs and after that resume. When I'm holding a pos and tyoe and sales begin to flash, graf sometimes can freeze. But when I close a pos - eth is ok. When I want to open a pos 5 or more contracts, graf are stopping for 5-7 secs and than proceed. I have opened just main window and L2 which shows my trading stats. Any suggestions how to miss this freezes? Thx

    #2
    Hello mafiaofcodes,

    I recommend first determining if this is a performance issue or an issue with the specific script.

    Close all open workspaces.

    In a new blank workspace open a new blank chart with no template applied.

    Restart NinjaTrader (to clear the memory).

    Add the SMA indicator (optionally use Calculate.OnPriceChange). Do not add any other indicators or run any other scripts or open any other windows.

    Manually place a market order.

    Does the chart or indicator freeze?

    What is the single threaded performance of the CPU of this computer?
    Benchmarks of the single thread performance of CPUs. This chart comparing CPUs single thread performance is made using thousands of PerformanceTest benchmark results and is updated daily.


    What is the total memory usage and total memory available of the computer?
    https://geekflare.com/how-to-open-th...er-in-windows/
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post

      Does the chart or indicator freeze?[/URL]
      no. i think it is because of my indicators.

      Comment


        #4
        Hello mafiaofcodes,

        If you are not able to reproduce on a blank chart, this might indicate there are scripts such as indicators causing a performance impact.

        Below is a link to a forum post that discusses performance.
        Hello All, I am using NT8 8.0.17.2. My workspace has been essentially static for more then six months, meaning no new indicators or growth in windows open or
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kempotrader, Today, 08:56 AM
        0 responses
        6 views
        0 likes
        Last Post kempotrader  
        Started by kempotrader, Today, 08:54 AM
        0 responses
        4 views
        0 likes
        Last Post kempotrader  
        Started by mmenigma, Today, 08:54 AM
        0 responses
        2 views
        0 likes
        Last Post mmenigma  
        Started by halgo_boulder, Today, 08:44 AM
        0 responses
        1 view
        0 likes
        Last Post halgo_boulder  
        Started by drewski1980, Today, 08:24 AM
        0 responses
        4 views
        0 likes
        Last Post drewski1980  
        Working...
        X