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 cmoran13, Yesterday, 01:02 PM
                    0 responses
                    29 views
                    0 likes
                    Last Post cmoran13  
                    Started by PaulMohn, 04-10-2026, 11:11 AM
                    0 responses
                    21 views
                    0 likes
                    Last Post PaulMohn  
                    Started by CarlTrading, 03-31-2026, 09:41 PM
                    1 response
                    160 views
                    1 like
                    Last Post NinjaTrader_ChelseaB  
                    Started by CarlTrading, 04-01-2026, 02:41 AM
                    0 responses
                    95 views
                    1 like
                    Last Post CarlTrading  
                    Started by CaptainJack, 03-31-2026, 11:44 PM
                    0 responses
                    148 views
                    2 likes
                    Last Post CaptainJack  
                    Working...
                    X