fxDreema

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

    EA to Trigger within Specific Bar Times (In Seconds)

    Questions & Answers
    2
    3
    590
    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
      oseiwe last edited by

      Hi,

      I have noticed that my EA does not trigger as quickly as I would like (It does not enter the trade immediately the previous bar closes. So sometimes I loose a fraction of a pip). This matters because it is a scalping EA.

      So to work around this issue, I want to enter the trade on the signal bar (rather than on the next bar). However I want to enter the trade in the last 9 seconds of the signal bar (that is, when the candle time is between :50 and :59). How can I achieve this?

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

        There is a block "Seconds filter", but the problem is that you may not receive ticks in the last 10 seconds, or even more => you will miss some signal at sme point. If you care of course.

        What would work is to place blocks under "on Timer" and set the timer to 1 second. For that, click on the bench icon for the project's settings. But this will not work in the Tester, it doesn't run that "on Timer" event, because its ticks are not based on time.

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

          Thanks Fxdreema, I will give your suggestion a go

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

          Online Users

          A
          M
          E
          A

          19
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors