fxDreema

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

    Problem with Check Last closed type block

    Questions & Answers
    2
    3
    916
    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.
    • R
      rocker699 last edited by

      Hi fxdreema,

      Can you check my current project and see why this block is not executing properly. It's very simple:

      1. If No Trade/order exists (from a certain group.. lets say 1)
      2. Check last closed type (from group 1)
      3. Execute a buy/sell order depending what type it was

      Please. Any help would be really appreciated!! fyi I also tried to use check last winner type block as well.. but with no luck.

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

        I will skip your project, it has indicators that I don't have and you also use custom input parameters. Also "not executing properly" means nothing to me, it's the same as "I have a problem" without actually explaining the problem.

        The block is working otherwise, here is an example: https://fxdreema.com/shared/jxpoSVVze
        and the result it this:
        http://img.prntscr.com/img?url=http://i.imgur.com/KgHE7CF.png

        So I don't know, maybe something with Group numbers. If possible, don't use multiple groups. Everything that makes things more complex is not a good idea 🙂

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

          I found a problem in the block (when using group numbers > 0) and I fixed it 🙂 But there are some other things as well...

          Here is an example that I think it works the way you want it to work, but without your indicators: https://fxdreema.com/shared/ObCwcbazb

          Note that I used two "Check..." blocks. It seems that I make this block so the yellow output is "otherwise" to the orange output and works every time when the orange output is not active, including the times when the orange output is inactive because of the "Pass once per trade" parameter. Maybe I should make is work like the EA that I'm showing now, like 2 blocks in 1, I don't know.

          In block 3 I used two group numbers, you will see this value - 0,1

          It's important that block 2 has lower ID number than block 3 here, because I want block 3 to run after block 2.

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

          Online Users

          A
          L
          S

          16
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors