fxDreema

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

    Opening Range Breakout: something wrong, but how to find it?

    Questions & Answers
    3
    5
    2570
    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.
    • M
      malfy last edited by

      Hi There!

      I'm trying to build a very basic London Opening Breakout EA.
      I think the logic is right and there are no errors when compiling but... when i test it nothing happens; i can't see any pending order. Here's the project:
      https://fxdreema.com/shared/l2Q6QwUHd

      I decided to insert a comment block just to understand something more.
      The Hour Filter is working because the comment is shown on the graph... so probably there's an error in the "check trading conditions" block...

      In this block i'm comparing the variable "NR", that is a price difference (maximum-minimum price of the last 40 candles on a 15min chart), with an input constant "Max_NR" considered as "pip value" and "price fraction". I'm checking if NR <= Max_NR.
      What can be wrong here?

      Thanks!
      Malfy

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        you are working wrong with variables ... terminal variables is something else ...
        this is wrong:
        0_1489158489856_upload-df7cece4-1915-493b-9923-13ff33272618

        this is correct:
        0_1489158501244_upload-f6944484-0e9e-4f85-aac1-2963db43d5cc

        Between trading and gambling is a very small gap, be careful.

        C 1 Reply Last reply Reply Quote 0
        • M
          malfy last edited by

          Thanks! I understood and solved the problem 🙂 I also changed the trade managing using an "on trade" condition.
          Now the strategy is working fine, even if i'm still in trouble understanding the trailing stop configuration.
          I'm going to look if i can find some discussions about it in the forum.

          1 Reply Last reply Reply Quote 0
          • C
            cavery23 @miro1360 last edited by

            @miro1360 Hi How did you get the box below value and numeric as a blue NR ? Thanks so much

            M 1 Reply Last reply Reply Quote -1
            • M
              miro1360 @cavery23 last edited by

              @cavery23 said in Opening Range Breakout: something wrong, but how to find it?:

              @miro1360 Hi How did you get the box below value and numeric as a blue NR ? Thanks so much

              read this help, here it is well explained:
              https://fxdreema.com/help/working-with/constants-and-variables

              Between trading and gambling is a very small gap, be careful.

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

              Online Users

              A
              N
              S
              E
              A
              M
              T
              M
              A
              E
              K

              30
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors