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

Change default value

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

    Change default value

    Hello, I downloaded a free ninajtarder 7 indicator.
    I want to change its default settings (for example sound alert is set to false and I want to set it to true so every time I load it. I must not change the value)
    I opened the .cs file. I found the value,set it to "True", but It don't work.Must I recompile it?
    I opened the indicator with the Ninjatrader editor, but I don't find the value.
    Another question. I also want to change ninjatrader indicator name.
    The file .zip is composed by 4 .cs files. When I install the indicator, it install 4 indicators.

    #2
    Hello pioilbello,

    Yes, for any changes to a script to be to available you must compile.
    Any script can be compiled as all scripts compile at the same time.

    Below is a link to a forum post with helpful information about getting started with NinjaScript.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      hello,I found teh value into ninjatrader editor and I can change it.
      Now I must change ninjatarder indicator name.
      If the .zip file is composed by 1 only .cs file, I save it with another name , and all work.
      If the .zip file is composed by 2-3 .cs files, if I change name only one of them , it don't work.

      Comment


        #4
        Hello pioilbello,

        Below is a link to a video that demonstrates saving a file with a new name.
        Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by gravdigaz6, Today, 11:40 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by MarianApalaghiei, Today, 10:49 PM
        3 responses
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by XXtrader, Today, 11:30 PM
        0 responses
        4 views
        0 likes
        Last Post XXtrader  
        Started by love2code2trade, Yesterday, 01:45 PM
        4 responses
        28 views
        0 likes
        Last Post love2code2trade  
        Started by funk10101, Today, 09:43 PM
        0 responses
        9 views
        0 likes
        Last Post funk10101  
        Working...
        X