Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Catch Up

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

    Strategy Catch Up

    ok trading strategy is written and runs on charts etc. when first invoked it is usually in the middle of a trade. how can i catch up? should i use the system.io to check for a file named instrument.fullname and trigger the trade by the strategy that way? it works.
    thanks for any help

    #2
    The following "Tip" might be of value.

    RayNinjaTrader Customer Service

    Comment


      #3
      if the strategy opens long 1 and then uses the exitlong function and not a sell order would the account and strategy both be flat at that point? or would the account be short 1? Thanks Ray

      Comment


        #4
        We cannot say for certain if your account position will be flat, but your strategy position will.

        If you had a long position in your account before you started your strategy your account will still be long after your strategy has done ExitLong() because of the prior long position.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          assuming the account is flat. the strategy opens long 1 then exits long. account still flat right? then next trade triggered by the strategy i.e. long 1 will be in sync with account. yes?

          Comment


            #6
            Correct. Assuming you start a strategy when it is in sync with your account position they will remain synced.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jclose, Today, 09:37 PM
            0 responses
            4 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,413 views
            0 likes
            Last Post Traderontheroad  
            Started by firefoxforum12, Today, 08:53 PM
            0 responses
            10 views
            0 likes
            Last Post firefoxforum12  
            Started by stafe, Today, 08:34 PM
            0 responses
            10 views
            0 likes
            Last Post stafe
            by stafe
             
            Started by sastrades, 01-31-2024, 10:19 PM
            11 responses
            169 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X