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:	12
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 satoyama, Yesterday, 01:28 AM
        2 responses
        25 views
        0 likes
        Last Post satoyama  
        Started by borxhils, Yesterday, 11:27 PM
        0 responses
        1 view
        0 likes
        Last Post borxhils  
        Started by bmaltz, 12-01-2022, 07:15 PM
        2 responses
        15 views
        0 likes
        Last Post bmaltz
        by bmaltz
         
        Started by iceman600, 12-01-2022, 01:51 PM
        4 responses
        25 views
        0 likes
        Last Post iceman600  
        Started by NinjaTrader_ChelseaB, 01-08-2017, 06:59 PM
        55 responses
        13,426 views
        3 likes
        Last Post grimes12  
        Working...
        X