• 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 Johnny Santiago, Today, 12:20 PM
        0 responses
        4 views
        0 likes
        Last Post Johnny Santiago  
        Started by NinjaTrader_Brandon, Today, 10:24 AM
        0 responses
        31 views
        0 likes
        Last Post NinjaTrader_Brandon  
        Started by ptertich, Today, 07:56 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by aslane, Today, 08:24 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by Capablanca, Yesterday, 05:51 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X