Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Resistance and Support Strategy

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

    #16
    Correct, you would need to custom code from the NinjaScript editor for this suggested approach - a full working code sample is preinstalled with NT: it's the 'SampleAtmStrategy' script.

    Comment


      #17
      Thanks, I'll check it out. You never answered one of my questions. "Is the code with the double the right way to accomplish getting out at a resistance point?"

      Comment


        #18
        Sorry : yes that should work, however you would need to keep in mind when running on CalculateOnBarClose = true it would not exit intrabar then as the level is breached.

        Comment


          #19
          Is it possible to have entries set to CalculateOnBarClose = true and exits to CalculateOnBarClose = false?

          Comment


            #20
            Unfortunately not, but you can use the techniques discussed in the following sample to achieve a mix of settings in one script - http://www.ninjatrader.com/support/f...ad.php?t=19387

            Comment


              #21
              I have many StrategyWizardActions and StrategyWizardConditions. Can they be used in the Ninja Script Editor?

              Comment


                #22
                Yes, you can unlock the wizard code and then edit / amend the source code already created by it.

                Comment


                  #23
                  I noticed that Ninja stores the StrategyWizardActions and StrategyWizardConditions as .xml format in 2 folders in the Templates folder. Can these be converted to .snippet format so they can be inserted in the Script Editor like the other snippets?

                  Comment


                    #24
                    Hello kenb2004,

                    This is unfortunately not supported, but you can see this thread for a recent discussion on custom code snippets:
                    Ryan M.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    558 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    324 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    101 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    545 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    547 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X