fxDreema

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

    Help Request on complex signal overlapping

    Questions & Answers
    2
    5
    711
    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.
    • G
      gabrielebrignoli last edited by gabrielebrignoli

      Dear Users,

      I need help on a "simple" task which I can't make it work properly

      I have an overlapping of different signals, those create "trade zone" and "no trade zone", each interposed, now, due to nature of indicator involved I can't create a single tick buy/sell signal.

      What I need is something that open the trade and the beginning (1 tick) of trade zones, but avoid to open at each candles in the same trade zone, and it's not limited by (if trade/no trade) block to open a position in the next trade zone, even if there are positions still open.

      The actual problem is:

      • If I have a trade zone of 6 candle, then a no trade zone of 9 followed by a trade zone of 10 = 16 trades (wrong)
      • If I have a trade zone of 6 candle, then a no trade zone of 9 followed by a trade zone of 10 = 1 trade since the first is not yet closed

      I need 1 trade for trade zone regardless time, Trade zone lenght in bar, and number of position open

      Thanks for your help

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @gabrielebrignoli last edited by

        @gabrielebrignoli I think it would help if you could share your indicator in order to understand how the signals work. You probably need to find a way to identify the moment when it changes from no trade zone to trade zone. Then you'd only open a trade if that change condition is met.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • G
          gabrielebrignoli last edited by

          I clean the mess and I'll share it..it's a bit messy at the moment, thanks

          1 Reply Last reply Reply Quote 0
          • G
            gabrielebrignoli last edited by

            https://fxdreema.com/shared/zLiVA0OYd

            this is the semplified version to understand the concept

            Plain Hull Supertrend, signal is binary: 1:sell 0:buy

            What I need is EA to open one single trade at each buy/sell signal, without closing the other before they his TPs or SLs, indipedently by trade number

            T 1 Reply Last reply Reply Quote 0
            • T
              trader.philipps @gabrielebrignoli last edited by trader.philipps

              @gabrielebrignoli First the Block 211 yellow dot may not be your intention.
              If you want to open a trade on each change of the indicator only, you'd have a condition block where you compare indicator value of candle ID2 with candle ID1 for instance.

              If buy signal is "0", you'd check if ID2 was "1" and ID1 is "0" .. If it's really binary you could do like ID2 > ID1 for long trades. And vice-versa for short trades ID2 < ID1

              Does that make sense?

              I like to share my knowledge, but expect the others to contribute as well.

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

              Online Users

              R
              D
              S
              M
              A

              12
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors