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 charlesugo_1, 05-26-2026, 05:03 PM
                    0 responses
                    60 views
                    0 likes
                    Last Post charlesugo_1  
                    Started by DannyP96, 05-18-2026, 02:38 PM
                    1 response
                    148 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by CarlTrading, 05-11-2026, 05:56 AM
                    0 responses
                    162 views
                    0 likes
                    Last Post CarlTrading  
                    Started by CarlTrading, 05-10-2026, 08:12 PM
                    0 responses
                    97 views
                    0 likes
                    Last Post CarlTrading  
                    Started by Hwop38, 05-04-2026, 07:02 PM
                    0 responses
                    284 views
                    0 likes
                    Last Post Hwop38
                    by Hwop38
                     
                    Working...
                    X