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 Brevo, Today, 01:45 AM
        0 responses
        6 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X