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

multiple entries and reversals.

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

    multiple entries and reversals.

    Just started strategy builder on ninja 8. Couple simple questions.

    1.) Right now I enter the same strategy twice in order to set up two different targets. works sometimes and sometimes doesn't.. What are correct settings when putting strategy into chart? (i.e., entries per direction, entry handling, other???)

    2.) I have a strategy that will short or long but once in a trade I don't want the trade to be reversed by an opposing signal. I want to let it ride out. Correct settings?

    Thank you.

    #2
    Hello swaggerjim,

    Thank you for your note.

    To control how many times your strategy is allowed to enter the same direction, you would want to read the following link in the Helpguide,




    When the strategy does not work, are you seeing errors in the log tab?

    To prevent your strategy from going from long to short, meaning reversing, you would want to add logic to the short conditions which checked that the strategy was flat in addition to your regular logic. I have attached a screen shot of how this could be done. You could also see the attached screen shot,



    I look forward to your reply.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Can someone tell me how to incorporate an existing ATM into an automated strategy either by importing existing ATM (easiest) or creating the code. I simply want to be able to tighten the trailing stop when I get near target while running automated strategy. Thank you.

      Comment


        #4
        Hello swaggerjim,

        If you want to enter a method using an existing Atm Strategy Template, you would need to use Atm Strategy Methods. Included with NinjaTrader 8 is the SampleAtmStrategy strategy that demonstrates and you can view the code for in the NinjaScript Editor.

        Also below is public link to the help guide.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Lumbeezl, 01-11-2022, 06:50 PM
        31 responses
        816 views
        1 like
        Last Post NinjaTrader_Adrian  
        Started by xiinteractive, 04-09-2024, 08:08 AM
        5 responses
        13 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by swestendorf, Today, 11:14 AM
        2 responses
        6 views
        0 likes
        Last Post NinjaTrader_Kimberly  
        Started by Mupulen, Today, 11:26 AM
        0 responses
        6 views
        0 likes
        Last Post Mupulen
        by Mupulen
         
        Started by Sparkyboy, Today, 10:57 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X