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

Question About a strategy

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

    Question About a strategy

    Hello,

    I am trying to build a strategy with the following feature:

    1. Once the signal is triggered, it will submit few orders.
    2. It will not have limit or stops per position. Instead, it will have a SetProfitTarget and SetStopLoss in currency mode (it will work for all the positions and orders).
    3. THIS IS THE PART IN WHICH I GOT LOST:
    • I need the strategy to continue submitting signals while there are open positions.
    • I need the strategy to continue submitting signals while there are submitted orders.
    I have been trying to find documentation to do it but I cannot find it. Would you please guide me in the right direction?

    #2
    Hello Jorge.andres.o,

    Thanks for your post.

    I suspect that you are being limited by the Entries per direction. This is part of the managed approach which helps to protect against unwanted positions. You would need to set the Entries Per direction to the maximum number of entries (in the same direction) that you would expect to have at any one moment. Once the value is reached further entries in the same direction are ignored until the entries are reduced.

    Please see the help guide sections here:


    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul,

      Thank you very much. I was overthinking the solution.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Kaledus, Today, 01:29 PM
      2 responses
      7 views
      0 likes
      Last Post Kaledus
      by Kaledus
       
      Started by frankthearm, Yesterday, 09:08 AM
      13 responses
      45 views
      0 likes
      Last Post frankthearm  
      Started by PaulMohn, Today, 12:36 PM
      2 responses
      16 views
      0 likes
      Last Post PaulMohn  
      Started by Conceptzx, 10-11-2022, 06:38 AM
      2 responses
      55 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Started by yertle, Yesterday, 08:38 AM
      8 responses
      37 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Working...
      X