fxDreema

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

    Hammer EA no sell positions backtesting

    Questions & Answers
    2
    14
    107
    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.
    • B
      botman last edited by botman

      hammersfilteredsells(1).mq4

      Attached is the mq4 file.

      Simple eat that takes short positions when there is an inverted hammer and candle 1 high is higher than 2-5.

      On backtesting with mt4 ea takes no positions.

      I disconnected the buy hammer condition from buy now so it only does sells.

      Edit: Also the buys included version only seems to execute only on jpyusd (1660 trades all longs), 3 trades on eurusd and none on usdchf all from 2020-2024.

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

        Add a shared link: project screen - projects - open in web browser - copy link and place here

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 1
        • B
          botman last edited by

          https://fxdreema.com/shared/xvQHbRM9c

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

            They both look the same to me, and all candle 1 so looks like it should work

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 1
            • B
              botman last edited by

              left hand side is hammer for buys and right hand side is inverted hammer for sells they have opposite conditions but sells never execute and buys only seem to work for usdjpy

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

                I cant see a problem, try replacing blocks, or unlinking blocks 1 at a time until you find where the problem is

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                1 Reply Last reply Reply Quote 1
                • B
                  botman last edited by

                  The problem was using custom price fraction not level for sell now . could you check to see if first condition makes sense for sell side?

                  https://fxdreema.com/shared/Y8FZhNGnb

                  If I change candle range from 2-5 to 2-20 I would expect less trades but I am getting the same amount of trades. The condition should be if candle 1 high is higher than candle 2-5 high then pass, changing this to 2-20 makes no difference so I don't think its filtering.

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

                    2-5 vs 5-20 would be the same if high/low were in the lower range. In your latest project have you got your block connected?

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

                    1 Reply Last reply Reply Quote 0
                    • B
                      botman last edited by

                      I connected only the blocks for sell signals. My first block filtering for the high of candle 1 must be greater than the high of candle 2-10 is not working because if I disconnect the block I get 1323 trades vs 1328 trades with the block attached so it isn't really doing anything. Tested in xauusd 2020 until now. Adjusting the candle range doesn't do anything e.g 2-5 vs 2-20.

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

                        Put this one condition If you do this and test, you will see how this range works

                        Learn fxDreema Without the Wait!

                        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                        Don’t miss out

                        Click here➡️ https://mybook.to/fxDreema to get your copy today!

                        Enjoy! 😊

                        1 Reply Last reply Reply Quote 1
                        • B
                          botman last edited by

                          I isolated the first condition, starting with candle 1 high greater than candles 2-10 highest price and then candle 1 high greater than candles 2-100 highest price and got 2100 vs 1600 trades and watching the strategy tester it was taking too many trades I don't think the filter is working properly.

                          https://fxdreema.com/shared/ep3HPoBFd

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

                            It is just the set up, turn things off that are not needed, this should give you a new trade every bar if conditions are met:
                            image.png

                            Learn fxDreema Without the Wait!

                            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                            Don’t miss out

                            Click here➡️ https://mybook.to/fxDreema to get your copy today!

                            Enjoy! 😊

                            1 Reply Last reply Reply Quote 0
                            • B
                              botman last edited by

                              I think it is working but it is more trades than I expected.

                              For range of 2-10 is 4732 trades out of 27000 bars
                              For range 2-100 is 1600 trades
                              For range 2-1000 is 700 trades

                              I don't know if this sounds right

                              https://fxdreema.com/shared/C1Bme5gPb

                              This was results with all blocks switched off it was the same when they were on

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

                                To work out if this is right, run on visual backtest, and check if once every candle when the condition is true you get a trade, otherwise, you get none.

                                Learn fxDreema Without the Wait!

                                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                                Don’t miss out

                                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                                Enjoy! 😊

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

                                Online Users

                                H

                                7
                                Online

                                146.9k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors