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

How to add new limit order to current market position?

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

    How to add new limit order to current market position?

    Hi, could you show me the sample of strategy, where I can add to current position new entry?
    For example, I think the price will go up and send long limit order by price 100.00 1 lot
    But the price goes down and I want to add one more 1 lot by sending one more long limit by price 80.00

    As a result I want to see long market position with 2 lots

    When I try add the secont limit order using Managed approach - doing nothing, order not sended
    Handlar
    NinjaTrader Ecosystem Vendor - Handlar

    #2
    Hello handlar,

    To add to a position you would just submit another order. I am not aware of a specific sample strategy that does that but the concept of increasing the position simply requires submitting another order. You could add another condition to your strategy to submit another order.

    JesseNinjaTrader Customer Service

    Comment


      #3
      I found my mistake!
      By default strategy has EntriesPerDirection = 1;
      And this property didn't allow me enter more than 1 position!
      Handlar
      NinjaTrader Ecosystem Vendor - Handlar

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alpurik, Today, 05:38 PM
      0 responses
      25 views
      0 likes
      Last Post alpurik
      by alpurik
       
      Started by yertle, Today, 04:42 PM
      0 responses
      8 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by lucyb, Today, 03:07 PM
      0 responses
      7 views
      0 likes
      Last Post lucyb
      by lucyb
       
      Started by FloorPlan, Today, 02:52 PM
      0 responses
      19 views
      0 likes
      Last Post FloorPlan  
      Started by tchen7, 10-13-2022, 10:02 PM
      2 responses
      548 views
      0 likes
      Last Post ttodua
      by ttodua
       
      Working...
      X