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

[issue] Order labels are sliding along every new formed bar

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

    [issue] Order labels are sliding along every new formed bar

    What can be explanation for such behavior? I cant understand what does this behavior mean.

    https://drive.google.com/file/d/1otO...ew?usp=sharing
    ----
    update2: worse with multiple executed orders. Every new order is sliding too, combined as time goes: https://drive.google.com/file/d/1f7o...ew?usp=sharing
    Last edited by ttodua; 10-15-2020, 09:56 AM.

    #2
    Hello ttodua,

    Thank you for your post.

    That does seem to be unusual behavior. Does it occur if you run the Sample MA Crossover on the Sim101 account, or is it specific to a particular strategy?

    Please delete your cache and test again - do you get the same results?

    To delete the cache, follow the steps below.
    • Shut down NinjaTrader.
    • Open the Documents > NinjaTrader 8 > db folder.
    • Delete the sub-folder named 'cache'.
    • Restart NinjaTrader and test.
    If you're still seeing the issue after clearing the cache, please try temporarily renaming your database so we can rule out an issue with that.
    • Shutdown NinjaTrader and Go to the Start Menu
    • Select My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sdf" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
    • Right click on NinjaTrader.sdf and select "Rename" *Name it "OLDNinjaTrader.sdf"
    • Then restart the software and NinjaTrader will create a fresh database file to use
    • Test with the strategy
    If this resolves the issue, you'll need to keep the new database. Unfortunately the following items stored in the old database will be lost - Trading Hours templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results.

    If not, you may shut down NinjaTrader and delete the new NinjaTrader.sdf file in Documents > NinjaTrader 8 > db, and rename OLDNinjaTrader.sdf back to just NinjaTrader.sdf, then restart NinjaTrader to restore your original database.

    Please let us know the results of this testing.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Tim-c, Today, 02:10 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    50 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    10 responses
    400 views
    1 like
    Last Post beobast
    by beobast
     
    Started by lorem, Yesterday, 09:18 AM
    5 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X