fxDreema

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

    The perfect hammer candle

    Questions & Answers
    3
    24
    5655
    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.
    • E
      extrabroker last edited by

      How can I create an opening position on a selected candle or after it. Should look the same as the picture without the lower wick. Should be defined in the pips length of the upper wick. Her body should also be the right amount in pips.
      I create EA, but it opens positions on various candles not just hammers.
      0_1491478856717_pro.png

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        I think, you need find this hammer on % based sizes ... it is not easiest ... using custom code block you can find here inspiration:

        https://fxdreema.com/forum/topic/4321/tutorial-08-candle-formations/2 (at bottom)

        Between trading and gambling is a very small gap, be careful.

        E 2 Replies Last reply Reply Quote 0
        • E
          extrabroker @miro1360 last edited by

          This is great. Thank you! That helped me a lot. 🙂

          1 Reply Last reply Reply Quote 0
          • E
            extrabroker @miro1360 last edited by extrabroker

            @miro1360 I did everything just like in the tutorial about hammer.
            The hammer candle is not detected. There is no signal. What could I do wrong? I tested all on the M1 chart because H1 and H4 is a high interval for me.Here is a link to the project can you check it please? https://fxdreema.com/shared/OzKaEHI0d

            1 Reply Last reply Reply Quote 0
            • M
              miro1360 last edited by

              was not easy find your bug, but I found it 😄 ...
              0_1491832879984_upload-852e0be5-c915-475d-b24c-a399f674b053

              Between trading and gambling is a very small gap, be careful.

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                variables Open Close High Low you can also rename for something else, like Open1 Close1 High1 Low1, but it is not must, it was testing as example shows and was working ...

                Between trading and gambling is a very small gap, be careful.

                E 1 Reply Last reply Reply Quote 0
                • E
                  extrabroker @miro1360 last edited by extrabroker

                  @miro1360 Thank you very much.I do not know how it happened but in some fields I had -1 too.Now after the change everything works 🙂 but to find perfect hammer the wick size in pips is missing and sometimes the upper part candle show the wick. I can not distinguish bull hammer and bearish hammer .
                  0_1491851133662_1491842255905-hammer-1.png

                  1 Reply Last reply Reply Quote 0
                  • M
                    miro1360 last edited by

                    yes, because the code which I provided is not complete for "perfect" hammer .... when you specify here (with picture) how it looks like and when we set math conditions (as % for each part of this candle) than we are able create something better 🙂

                    Between trading and gambling is a very small gap, be careful.

                    1 Reply Last reply Reply Quote 0
                    • E
                      extrabroker last edited by extrabroker

                      0_1491848670468_hammer.png
                      I think this looks good.Wick only on one side, quite long and about 1/4 candle is the body.
                      The candle was bullish so the signal should be sell. When the candle will be wicked from the bottom and will be bearish then should be the Buy signal.I created something like that but there is still a problem with wicks on both sides.0_1491849643015_hammer b1.png

                      That's how it looks with settings 1.5 and 1.0 in Value.
                      0_1491850130853_my-ea.png

                      1 Reply Last reply Reply Quote 0
                      • M
                        miro1360 last edited by

                        take this as standard bullish candle example:
                        0_1491864815044_upload-62980b34-386c-4aac-9b3a-78d6ccaa4e05

                        now we need to do math, how are these candle parts aligned with some tolerances ...

                        lets say, "nice hammer" must have:
                        (a > 7%L) && (a < 30%L) >>> body size is in 7-30% of whole candle size

                        next:
                        (a < 10%c) >>> upper wick must be fewer than 10% length of lower wick c (this align body upper mid candle)

                        next can be:
                        (L > 10pips) >>> take only candlew which size is more than 10pips

                        .... etc. ...

                        and when you define these limits or tolerances, than you can create conditions for nice hammer 😄

                        Between trading and gambling is a very small gap, be careful.

                        E 1 Reply Last reply Reply Quote 0
                        • P
                          panzer4183 last edited by

                          I was trying to make ea based on candle vicks but i couldn't move anywhere . This is something which i was looking at. MIro are you interesting to share ea when you finish it?

                          1 Reply Last reply Reply Quote 0
                          • E
                            extrabroker @miro1360 last edited by extrabroker

                            @miro1360
                            I understand general principles, but how to do it in Fxdreema? Can you help?

                            1 Reply Last reply Reply Quote 0
                            • M
                              miro1360 last edited by

                              sure I make it, but are you knowing about more conditions or specifications/limits for this "perfect" hammer? because we want only nice hammers in result and these needs be specified 🙂

                              Between trading and gambling is a very small gap, be careful.

                              1 Reply Last reply Reply Quote 0
                              • E
                                extrabroker last edited by

                                I can only say that it has about 15-30% candle is the body and wick maybe more than 10pips.I do not know exactly how to check this.I attached photo with hammer earlier

                                1 Reply Last reply Reply Quote 0
                                • M
                                  miro1360 last edited by

                                  super .... and what si position of this body related to whole candle?

                                  Between trading and gambling is a very small gap, be careful.

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    extrabroker @miro1360 last edited by

                                    @miro1360 When is a bull candle this body is at the bottom of the candle - sell signal and when there is a bear candle, the body of the candle is at the top - buy signal

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      miro1360 last edited by miro1360

                                      now we know this:

                                      • body size is in 15-30% of whole candle size
                                      • upper wick is more than 10pips
                                      • lower wick must be fewer than 10% length of upper wick
                                      • take only candle which total size is more than 10pips

                                      I think we need here last comparison and it is body size to upper wick size, how much is min and max % body size of upper wick size?

                                      Between trading and gambling is a very small gap, be careful.

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        extrabroker @miro1360 last edited by

                                        @miro1360 I think 10-25%

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          miro1360 last edited by

                                          ok, here is something based on conditions above, try it with default settings on H1 chart ... than you can modify and find best parameters (try for different timeframes) ... and be sure you measure all candles which are not "ok" or are not found, measure their pips (total pips, body pips, upper wick pips and lower wick pips) and than we check conditions for errors ...
                                          this is only for bull hammer, bear hammer we find when we completize bull (because it is the same, only few conditions are opposite) ...
                                          https://fxdreema.com/shared/Vsb2bTWec
                                          0_1492019003972_upload-84827c8a-e8e4-4b23-adf0-f2d55178a8a8

                                          Between trading and gambling is a very small gap, be careful.

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            extrabroker last edited by

                                            I really appreciate your work. I'm going to test it and I will report here 🙂 Thank you!

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

                                            Online Users

                                            B
                                            A
                                            J
                                            D
                                            E

                                            16
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors