Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator does not show on ninjascript editor

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

    indicator does not show on ninjascript editor

    I had an custom indicator that was installed and worked fine but wanted to delete and reinstall...
    So I manually deleted this indicator directly from on NinjaScript Editor (under indicators) and reinstalled again
    but this time this indicator does not show up on the NinjaScript Editor under indicators folder like before but I see the indicator on a chart and load it without any problem.

    Attached the image as a reference.

    You can see the indicator named Period Separator under JN folder but this indicator does not show up on the indicators on NinjaScript Editor.
    I can load this indicator on the chart and it works fine.

    What seems to be a problem?
    I looked through all of indicators list on NinjaScript Editor (even look at indicators that start with letter P in case) but nothing was there.

    I would appreciate any advice and support.

    Thank you
    Attached Files

    #2
    Hello jjanguda,

    In the importable .zip file is there a dll? Or do you see a folder named Indicators?

    If the script is a closed source assembly dll the file cannot be edited. If the script is an open source script it can be edited.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Chelsea,

      Thanks for your quick response.
      You're right. I looked into the .zip file and it has 3 files (info.xml, PeriodSeparator_new.cs and PeriodSeparator_new.dll)

      The original .zip file has info.xml and Indicators folder and inside the folder it has another folder JN and PeriodSepatrator.cs is inside JN folder.

      I installed the original .zip file and and modified some settings with NinjaScript Editor then complied and exported from Tools - Export - NinjaScript Add-on.. I thought I would get the same files and folder structure when exporting from the platform but I just found out that it didn't... it created dll file somehow.

      Then, how can I remove this indicator from my indicator list on chart? I can't find this indicator at tools - remove ninjascript assembly either.
      and is there a way to export custom indicators without dll file?

      thanks you so much for your support



      Comment


        #4
        Hello jjanguda,

        If there is a dll and a cs file with the same name, the cs file is the loading wrapper for the dll. Dlls are closed source assemblies that cannot be edited.

        To remove a third party assembly package:
        • Click Tools -> Remove NinjaScript Assembly...
        • Select the assembly to remove -> click the Remove button
        To remove open source indicators:
        • Click New -> NinjaScript Editor -> select to expand the Indicator folder
        • Right-click the indicator by name -> select Remove
        To remove an open source strategy:
        • Click New -> NinjaScript Editor -> select to expand the Strategies folder
        • Right-click the strategy by name -> select Remove

        When exporting do not check the option labelled 'Export as compiled assembly'.
        https://ninjatrader.com/es/support/f...43#post1106143
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X