Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time of Day

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

    #16
    Yes, I have not seen any new trades taken outside your filter, so the rules worked - but in the original version trades were held outside those times of course until they ran into stop / target or ExitOnClose.

    Comment


      #17
      Hi Bertrand,

      trades should be held open after the time window, until they are stopped out or take profit.
      What I am trying to accomplish is to open trades *only* during the time window.

      In my test (I have tried your script) I still see trades taken outside that range (example: 13.02.2008 @ 00:15).

      Could you please help me?

      thank you,

      John.

      Comment


        #18
        Sure, please post what data provider / broker you're using here, so I can test on this data as well.

        Comment


          #19
          Hi Bertrand,

          I have sent a reply via e-mail, attaching 6 months of 1 min historical data taht you can upload into NT to test the script on it,

          thank you,

          John.

          Comment


            #20
            Hi Bertrand,

            thank you for your e-mail.

            Please find a picture attached.
            The column indicated does show the opening time of the trades, the closing time, or what else?
            I would like to eliminate those losing trades (listed from 00.00 AM to 9.00 AM).

            Thank you,

            John.
            Attached Files

            Comment


              #21
              Here's what I see on your provided data for $EURUSD backtesting your strategy - the trades would range from 9 AM to 7 PM as set by the time-filter. This is my changed script that does not hold any trades, so you see the pure trade entry logic working out here.
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              596 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              343 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              556 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              554 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X