fxDreema

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

    Why is this trade closing here?

    Questions & Answers
    2
    7
    806
    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.
    • 4
      4xFatigue last edited by

      This is the CCI 40 SMA EMA 21.exe

      Why is this SHORT closing here? I can't see any conditions that would make it close here?

      It should be closing after the CCI goes down further.

      By the way, I did have all the cross conditions set up using the X< or X> blocks but I did them the long way to test if there was some bug there but of course the mysterious close is still happening.

      Any ideas?

      ......
      usdchf-h1-fx-choice-limited.png

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

        I will suggest to reorder blocks a little bit. There is no reason to have different "Close trades" at all places. Only 2 are enough - one for the Buy side and one for the Sell side.

        Can you detect from which closing group was that Sell closed, so we can focus on the problematic one? I mean, there are 5 ways to close that Sell, but one of them was closing it... which one? To understand this, disable 4 of them and leave 1 enabled. Do this for each group and in 1-2 minutes the answer will appear 🙂

        Also always expect weird looking results when you are working with the current candle. Because you know, it's values are temporary and at the end of the test on the chart you can only see the latest state of each candle. Work with "Visual mode" on the tester to catch those in-candle moments. And here is the moment to suggest little trick - try that block named "Delay" and for it turn on the delay for visualization. While the visualization is running you can use this block to pause at certain moments and observe what is going on more carefully.

        1 Reply Last reply Reply Quote 0
        • 4
          4xFatigue last edited by

          I have different conditions running to close, depending on which arises first.

          In other words, if it crosses below 100, close. If it keeps going, then cross below 150, etc.

          Should I use OR between these groups of conditions?

          1 Reply Last reply Reply Quote 0
          • 4
            4xFatigue last edited by

            Also, where to I put the "delay" block? What do I connect it to?

            1 Reply Last reply Reply Quote 0
            • 4
              4xFatigue last edited by

              This one is weird.

              I actually ended up disabling ALL of the closing blocks for the sell and it still closed in the same spot.

              I checked my close conditions for BUY and all of those are filtered for BUY.

              Also, I understand that during a candle conditions could be met and then they don't show anymore by the end of the candle, but the CCI doesn't come anywhere near the closing conditions in this example. Is there any visual mode where I can see the indicators running during the backtest?

              1 Reply Last reply Reply Quote 0
              • 4
                4xFatigue last edited by

                Could my BUY conditions to enter a trade be interfering and cancelling out the sell?

                I wouldn't think so because this particular broker allows hedging.

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

                  Put "Delay" where you want to pause. I am doing this sometimes when I want to pause somewhere.

                  If you don't use stops and blocks to stop a trade and the EA is working live, then probably you also have another EA working in background that does that. I have no reports for problems in these blocks. I updated some other stuff, but not these functions, I just don't expect something to be wrong with Condition or Close Trades

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

                  Online Users

                  J
                  2
                  C
                  R
                  Q
                  N
                  E
                  S

                  17
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors