Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to reset the parameters in a chart loaded strategy to the C# strategy source?

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

    How to reset the parameters in a chart loaded strategy to the C# strategy source?

    Hi,

    I really must not be understanding something very fundamental with very serious implications regarding running automated trading strategies.
    I'm looking at the source for a strategy and see on set of values, there is no template defined for the strategy, and I see different values then what is in the source?

    Which would not be troubling given that's what templates are for, but when I reset the template setting, the farthest lower right field on the strategy parameter panel, I am not seeing the values change to what is contained in the source.

    Can someone please either explain what I've misunderstood and/or give me a link to read. I thought I understood how it works.

    thanks very much,

    glen

    #2
    Hello glen,

    You see different default values when first adding a new instance of the script?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelses,

      Sorry I missed this. Yes it seemed as if when I hit - template reset the values in the source code where not appearing in the parameters.

      There were other time when that also appeared to be the case but I'm not certain.

      In any even with that one strategy reset brings the source based parameters.

      Thank you,

      glen

      Comment


        #4
        Hello glen,

        The SampleMACrossover included with NinjaTrader has two inputs Fast and Slow which are coded in the script to default to 10 and 15.

        I've tested saving a template for these, even as Default, and then resetting.

        Below is a link to a video of the test.


        Using the steps in the video are you experiencing different behavior?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Chelsea,


          Thank you very much for verifying.

          glen

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,605 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          8 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          4 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          13 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X