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

Too many inputs!

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

    Too many inputs!

    Say I have an indicator that plots 10 horizontal lines and I have to enter new figures for every plot every morning. Now multiply that by three or four charts of different time frames using the same indicator. Is there an easier way to input the data without entering the same data into all three or four charts individually? Same numbers, same indicator, different charts!
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    If the numbers are always the same you can open the ninja script and hard code the default values under the "variables" area at the top of the code.

    take a look and let me know.
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    Comment


      #3
      The reason for the question is because the numbers would change on a daily basis, but are the same for every chart. Makes my fingers hurt!
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        I think what MrLogik is saying is that instead of inputting the variables into each chart individually, if you view the NinjaScript Indicator, and change the variables at the top of the indicator code every morning and recompile it, then all the charts that use the indicator will get the new inputs.

        That way you are just updating once per morning.

        If you send me your indicator code, I can put comments in there of where you need to change the variables.


        Matt

        Comment


          #5
          Guess I don't see a way around, since even coding something in NinjaScript would not make a difference: the values applied to the indicators instances on chart will remain active, since they are copied as you e.g. go right click->reload NinjaScript in order to activate the recompiled indicator.

          Comment


            #6
            Too bad the indicators could not be linked and unlinked, to share the data. Then just reactivating in each chart would make the change. Recompiling all the time would defeat the purpose of having an easy to use interface.
            eDanny
            NinjaTrader Ecosystem Vendor - Integrity Traders

            Comment


              #7
              oops, wrong thread
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Option Whisperer, Today, 09:55 AM
              1 response
              11 views
              0 likes
              Last Post bltdavid  
              Started by port119, Today, 02:43 PM
              0 responses
              1 view
              0 likes
              Last Post port119
              by port119
               
              Started by Philippe56140, Today, 02:35 PM
              0 responses
              3 views
              0 likes
              Last Post Philippe56140  
              Started by 00nevest, Today, 02:27 PM
              0 responses
              2 views
              0 likes
              Last Post 00nevest  
              Started by Jonafare, 12-06-2012, 03:48 PM
              5 responses
              3,987 views
              0 likes
              Last Post rene69851  
              Working...
              X