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 swestendorf, Today, 11:14 AM
            0 responses
            1 view
            0 likes
            Last Post swestendorf  
            Started by Sparkyboy, Today, 10:57 AM
            0 responses
            3 views
            0 likes
            Last Post Sparkyboy  
            Started by TheMarlin801, 10-13-2020, 01:40 AM
            21 responses
            3,917 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by timmbbo, 07-05-2023, 10:21 PM
            3 responses
            155 views
            0 likes
            Last Post grayfrog  
            Started by Lumbeezl, 01-11-2022, 06:50 PM
            30 responses
            812 views
            1 like
            Last Post grayfrog  
            Working...
            X