fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Need help with Hour Filter and Once a Day filter

    Questions & Answers
    2
    4
    550
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sajjade last edited by

      The strategy is to buy 6 lots once every hour and then close all the open trades at a specific time. Say start buying at 0:00 till 6:00. Close the trades if profit is 50 pips. Any open trades should be closed at 23:00. Attaching my project here.
      https://fxdreema.com/shared/9KeURAnH
      If I run it for H1 timeframe for a month, it only creates 2 buy order and doesn't close the trades at 23:00. Please let me know what I'm doing wrong.
      Thanks.

      1 Reply Last reply Reply Quote 0
      • B
        biztet last edited by biztet

        Hi @sajjade . For the opening part, use time filter, once per bar and buy now block. The closing part you just use time filter and close trade block only. That should do it.

        1 Reply Last reply Reply Quote 0
        • S
          sajjade last edited by

          Thanks a lot for your help @biztet. It worked perfectly.

          1 Reply Last reply Reply Quote 0
          • B
            biztet last edited by

            Good luck.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            F
            R
            S
            D
            V
            O

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors