• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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.
    http://ninjatrader.com/support/forum...678#post493678
    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.
        https://www.youtube.com/watch?v=K8v_...utu.be&t=5m33s
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by akuntysh, Yesterday, 09:21 PM
        0 responses
        4 views
        0 likes
        Last Post akuntysh  
        Started by i2w8am9ii2, Today, 06:57 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by buzzripper, Today, 06:14 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Ray  
        Started by sidviciousX, Today, 06:47 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by TazoTodua, Today, 07:17 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_JoshG  
        Working...
        X