Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Eliminating overnight trading

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

    Eliminating overnight trading

    I have been searching around and have not been able to figure out how to eliminate after hours trading.

    I know that I can set the times for entry and exit, but the problem is, my calculations are still being done on overnight data, which doesn't seem to work with my model.

    I am looking at futures and only have 4 variables. Any assistance would be appreciated.

    #2
    Originally posted by cfp462 View Post
    I have been searching around and have not been able to figure out how to eliminate after hours trading.

    I know that I can set the times for entry and exit, but the problem is, my calculations are still being done on overnight data, which doesn't seem to work with my model.

    I am looking at futures and only have 4 variables. Any assistance would be appreciated.
    You are talking about a strategy that you wrote or can modify?

    Put the time check on your strategies order entries, and not the rest of it?

    Comment


      #3
      I did that but it still wont help, because when the market opens the order entries will be calculated off of the overnight data.

      Comment


        #4
        Just filter for the times you don't want to calculate on, and return before your values calculate:

        if (noCalcTime == true) return;

        //value calculations down here

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Started by samish18, 04-17-2024, 08:57 AM
        16 responses
        61 views
        0 likes
        Last Post samish18  
        Started by jordanq2, Today, 03:10 PM
        2 responses
        9 views
        0 likes
        Last Post jordanq2  
        Started by traderqz, Today, 12:06 AM
        10 responses
        18 views
        0 likes
        Last Post traderqz  
        Started by algospoke, 04-17-2024, 06:40 PM
        5 responses
        48 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X