fxDreema

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

    time filter with onceperbar pending orders

    Questions & Answers
    2
    6
    1467
    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.
    • O
      oci last edited by

      Hello everybody, and fxdreema fr sure

      I'm still not a paid subscriber and i've just started to learn (although i registered a long time ago 🙂

      I have a simple system that had been working for me. But since i didn't have a news filter, i lost some serious percentage (thank god it was a small account but the lost percentage was very high)..

      Some people make news filters using ff calendar but it's too difficult for me to apply. Now i'm trying to build an ea with a time filter, so i'm trying to make the ea out a little bit before the news and continue some time after the news..

      The problem is; i'm using "once per bar" and pending orders. I have three time filters at the moment (I'll add two more), if it passes any of them, it will close all trades and delete pending orders. I want to trade out of those times. So how can it reopen the pending orders while it's "once per bar" after the dangerous time passes? (i've already added condition to the ea not to add orders if it's broken so i just need it to reopen). Since I use 4h and daily timeframes, most of the time it's the same bar after the filtered time..

      I hope this is possible, all my other strategies are also based on pending orders 🙂 is it ok just to put the "once per bar" block after the last time filter?

      Thanks

      ......
      Screenshot 2013-12-23 15.48.42.png

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Recently I updated "Hours filter" to allow string format times( like HH:MM) and you can define 4 hours periods within a day... if this can help. Check it out.

        1 Reply Last reply Reply Quote 0
        • O
          oci last edited by

          Thanks a lot for your answer, hours filter looks better/easier for my needs. I've learned something while asking something else 🙂

          Sorry I think I failed to explain my problem because of my english. The problem is; these filters can filter the times well with instant orders, but with pending orders, it's a little bit confusing (for me at least :)).

          When I use time filter (or hours filter), if it cannot pass, i set it to delete the pending orders and close open trades. When the time comes (when it can pass), i want it to reopen "pending orders" if conditions are still there. But it was onceperbar, can it still reopen pending orders?

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            My idea about "Hours filter" was that you can probably use 1 block instead of 3. What if you place "Once per bar" after the time filters? Then time filters can be used also for something else.

            1 Reply Last reply Reply Quote 0
            • O
              oci last edited by

              Actually hours filter is very very nice, i could filter periodic us news times in one block. and i can just edit one block for different currencies..

              I've put the OncePerBar after the filters. But isn't it still once per bar on the same day? I mean it did its job and put the orders in the morning before the news break in that same bar. So I'm in doubt if it's going to reopen after closed. I cannot also see with tester, Looks like I have to wait realtime to see?

              For now I've just replaced onceperbar with "if no trade/order". Now it reopens on the next tick even if I close the pending orders manually :):)

              BTW thanks a lot for such a good work and help, I see that you even give other similar services, free and even paid ones. Wonderful attitude!!! I'll subscribe for full account ASAP even if I think the limited is enough for me for now..

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                Yes, the limited one can be enough, it is possible even to export whole EA by making it as shared copy. I'm too lazy to check if someone is subscribed or not 😄 I don't know, I don't feel good if I miss someone 🙂

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

                Online Users

                A
                M
                E
                A
                E
                N
                S
                K

                15
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors