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 cre8able, Today, 03:20 PM
            1 response
            9 views
            0 likes
            Last Post cre8able  
            Started by fiddich, Today, 05:25 PM
            0 responses
            3 views
            0 likes
            Last Post fiddich
            by fiddich
             
            Started by gemify, 11-11-2022, 11:52 AM
            6 responses
            804 views
            2 likes
            Last Post ultls
            by ultls
             
            Started by ScottWalsh, Today, 04:52 PM
            0 responses
            4 views
            0 likes
            Last Post ScottWalsh  
            Started by ScottWalsh, Today, 04:29 PM
            0 responses
            9 views
            0 likes
            Last Post ScottWalsh  
            Working...
            X