fxDreema

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

    Avarage of indicator signals to place buy/sell

    Questions & Answers
    2
    6
    1380
    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
      migen last edited by

      Example: I have set up conditionn (buy/sell) of 6 indicators.
      Total buy conditions (of 6 indicators) > Total sell conditions : Buy
      Total sell conditions > Total buy conditions : Sell

      Example: 4 Buy conditions, 2 Sell conditions, then place Buy trading order.

      How can I get EA work like this ?

      Thanks.

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @migen last edited by

        @migen
        https://fxdreema.com/shared/BNcQoJLzb
        This is how I would do it.. Hope you are comfortable with variables 😄

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        M 2 Replies Last reply Reply Quote 1
        • M
          migen @roar last edited by

          @roar
          Thanks for your help, I will try it with my EAs to see how it works 🙂

          1 Reply Last reply Reply Quote 0
          • M
            migen @roar last edited by

            @roar
            Do you have any ideas to combine Trend Conditions of multiple time-frames for EA to trade.

            Example: I use 4 Indicators.

            Daily time-frame : 3 Buy Signals, 1 Sell Signals
            -> Up Trend

            4 Hour time frame : 4 Buy Signals, 0 Sell Signals
            -> Up Trend

            => Condition to trade:
            Daily (Up Trend) + 4 Hour (Up Trend) -> place Buy order
            Daily (Down Trend) + 4 Hour (Down Trend) -> place Sell order
            Daily (Up) + 4 Hour (Down) -> NO trade.
            Daily (Down) + 4 Hour (Up) -> NO trade.

            roar 1 Reply Last reply Reply Quote 0
            • roar
              roar @migen last edited by roar

              @migen
              To build on my previous example, I would do it like this:
              0_1527604810371_3964858e-5c95-4e94-b248-3675ad70ce93-image.png
              The 4 conditions now pass twice (for 2 timeframes) so the total "score" for buy and sell can be 8. I also added a block after the buy > sell comparison, where you can define how big the bigger "score" should be.
              This doesn't exactly separate between timeframes, but I think it's close enought to your needs and you surely can modify it from there.
              https://fxdreema.com/shared/h52NKD4te

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              M 1 Reply Last reply Reply Quote 1
              • M
                migen @roar last edited by

                @roar
                Thanks for your great help 🙂

                The problem here is the seperate time frames.
                The system I'm using is Trend Following. And it will consider Up or Down Trend of each time frame to make sure the same Up/Down Trend in both 4H & Daily time frames before placing an order.

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

                Online Users

                A
                H
                H
                O
                R
                S
                Z
                M
                J
                M
                H
                S
                C
                T

                27
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors