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

File of input parameters as argument

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

    File of input parameters as argument

    Hi,

    I have a large strategy that is employing some bespoke indicators. As a result, I have a vast list of input parameters required. If I use the Strategy Analyzer for instance I have to scroll the list making the same changes over and over for different scenarios. Is it possible to store the parameters in an input text file that I could refer to as a single input parameter. That way I could save my different set-ups in different files and only have to change one input parameter each time.

    Thanks,
    darmbk.

    #2
    Hi darmbk, that is an item considered on our enhancement list, however at present that would not be a supported option. You should be able to read-in settings for your properties though via custom coding in C# for example in the OnStartUp, where you overwrite any default paramters with the ones from your file. Another option would be of course to persist parameters in the strategy default settings xml file that NT would offer, however as you could have only one default per script, you could need to make copies of your strategies to be able to reflect multiple scenarios you want to cover.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Here you go.
      Its not a NT zip.
      You need to extract the cs to strategies folder and csv to NT root.
      Enjoy.

      Baruch
      p.s. I maid a zip because its not allowed to upload csv.
      Why?
      Attached Files

      Comment


        #4
        Thanks for share Baruch. We have just enabled the CSV as extension for the forums as well.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Kaledus, Today, 01:29 PM
        5 responses
        13 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Waxavi, Today, 02:00 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by alifarahani, Today, 09:40 AM
        5 responses
        23 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by gentlebenthebear, Today, 01:30 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X