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

UI glitch

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

    UI glitch

    Hello,

    I've had this happen a few times and each time it cleared itself with a recompile, or reload ninjascript.

    This time it is stuck. The old label was "No Trade", the new label is intended to be "Enable Reentry".

    I have removed the strategy, then added it back, ran around the block a couple of times, and it is stuck this time.

    Help me change the label ...

    Many Thanks, Caesar.

    #2
    Hello Caesar,

    Thank you for your post.

    Can you please send a screenshot of which label you are referring to? What are the steps you took to change the label?
    • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.

    I look forward to your reply.
    Last edited by NinjaTrader_Emily; 10-06-2022, 07:48 AM.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I apologize, I missed the picture.

      Many Tanks, Caesar. Click image for larger version

Name:	Screen Shot 2022-10-05 at 1.25.04 PM.jpg
Views:	55
Size:	78.3 KB
ID:	1218225

      Comment


        #4
        Hello Caesar,

        Thank you for that screenshot.

        Please double-check the properties for the plots at the bottom of your script. For example, you may have something that appears like the following example:

        [Browsable(false)]
        [XmlIgnore]
        public Series<double> NoTrade
        {
        get { return Values[6]; }
        }

        Although you have changed the name where your strategy calls AddPlot, you may also need to change the name of the plot in the properties. After double-checking/changing the plot properties, in order to update the label for the strategy, please follow these steps:
        • Remove your strategy that still shows "NoTrade" from the Configured list of strategies
        • Compile your NinjaScript Editor
        • Close NinjaTrader, then reload NinjaTrader
        • Re-add an instance of your cmsEMACrossOver strategy
        Some items require more than just a reload of NinjaScript and may require a full reboot of the platform. Following these steps should ensure that all changes are picked up in the new strategy instance.

        Please let us know if we may be of further assistance.
        Emily C.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by funk10101, Today, 09:43 PM
        0 responses
        6 views
        0 likes
        Last Post funk10101  
        Started by pkefal, 04-11-2024, 07:39 AM
        11 responses
        37 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        44 views
        0 likes
        Last Post bill2023  
        Started by yertle, Today, 08:38 AM
        6 responses
        26 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        24 views
        0 likes
        Last Post algospoke  
        Working...
        X