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 funk10101, Today, 08:14 AM
        3 responses
        4 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frankthearm, Today, 09:08 AM
        0 responses
        1 view
        0 likes
        Last Post frankthearm  
        Started by samish18, Yesterday, 08:57 AM
        11 responses
        28 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by yertle, Today, 08:38 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by love2code2trade, Yesterday, 01:45 PM
        3 responses
        22 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X