Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sync with existing positions

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

    Sync with existing positions

    Hi everybody!

    First of all, sorry about my english! ;-)

    I´m trying to develope a strategy that only close existing positions... I mean... I´m trading with de DOM, or the Basic Entry, and the strategy closes the position when it reaches a condition (that involves various instruments, so the ATM could not do it), so the strategy doesn´t open any positions, it only works closing existing positions.

    Is there any way to sync the strategy, to recognize previous opened positions?

    Thanks a lot!

    #2
    Hello Santi,

    Using the managed order system, all exits must be paired with an entry. If you submit an exit and the strategy can't identify an entry opened by the strategy, then the exit statement is ignored.

    You can use the unmanaged approach, and with this you just use SubmitOrder() to place the orders you want, without any internal management of the order. There's no way for the strategy to read positions that were opened outside of the strategy.

    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      @Santi,

      I have already done what you want to do using managed approach . Basically I attach my strategies LongFollowUp or ShortFollowUp to exiting positions which I entered manually.

      Best would be to buy this technolgy from me, but if you are short of funds you can try yourself:

      Here some tip :

      1. It can be done!
      2. Read all my older posts on the topic sync
      3. Takes you at least a week if you are proficicient with C# and Ninja.

      Good luck
      andreas
      www.zweisteintrading.eu

      Comment


        #4
        Thanks

        It seems to open a new field to explore... the unmanaged mode. Thanks a lot for your explanations, I hope I will "manage" this issue.

        I´m also reading your post about sync, very clarify... it happens to me this week, it was a pity not to read it 5 days ago.

        Thanks! ;-)

        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