fxDreema

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

    Making a EA base on a picture

    Questions & Answers
    3
    14
    3900
    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.
    • S
      Setsuna last edited by

      Hello experts

      I am trying to make a EA base on a picture.0_1548539698761_Candle difference.png

      The first block i use are bull and bear candle after that I gave the bear a Candle ID 1 and bull Candle ID 2. Under "bear candle I use the block "condition" to program Candle ID 1 is higher then Candle ID 2 on the upper candlestick. The same with under part of the candle stick. I use The block "indicator appears" to program the have atleast higher then 1 pip. On the bull side its empty because its the same.

      Here is what I have build:
      0_1548540809057_31cde24c-f1b0-4eab-9131-ee8899b491ce-image.png

      The properties looks like this:
      0_1548541020066_b52cc2da-3f2e-4444-9d9b-b795ba21c65d-image.png

      For some reason It does only sell some of the pattern. Could some one help me?

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        Hello @Setsuna

        I think that it is better if you explain your trading rules in order to help you.

        As far as I understand, you are looking for a kind of candle pattern where

        Candle (ID = 2) is bullish
        && Candle (ID = 1) is bearish
        && Open [1] > Close [2] + 1pip
        && Close [1] > Open [2] + 1pip

        Then, what do you want to do when those conditions are true?

        1 Reply Last reply Reply Quote 0
        • S
          Setsuna last edited by Setsuna

          @josecortesllobat if these conditioner are true im going to sell. question is how can i make a condition with sub property. how can i make a "candle ID 1" "open candle" greater then "candle ID 2" with 1pip greater

          1 Reply Last reply Reply Quote 0
          • S
            Setsuna last edited by

            May I should ask. How can I make a condition with a extra property.

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

              You want to use the "adjust" field there. Check the example picture:
              0_1548610029691_fe7edce2-9b8b-4933-a9e2-118b01a2a4b0-image.png

              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

              1 Reply Last reply Reply Quote 0
              • J
                josecortesllobat last edited by

                This might be an approach

                0_1548611459419_20f72cb8-490a-4cad-b666-607cde15ff51-image.png

                @Setsuna I don´t understand what is the meaning of "sub property".

                S 3 Replies Last reply Reply Quote 0
                • S
                  Setsuna last edited by

                  @roar This is It. Thank you so much for your reply. So if I put +1pips that means: Atleast 1 pips greater then the other.

                  0_1548620289578_fafab739-5ecd-49a9-af68-035d170ca9d8-image.png

                  If I under this corretly the lower part of the candle stick of Candle ID 1 is atleast 1pips Higher then Candlestick ID 2

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

                    @setsuna
                    Almost right, just put the adjust to the other side, with the candle 2 open.

                    I think the adjustment as "candle ID 1 close is above candle ID 2 open even though we lifted it by 1 pips"

                    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

                    S 2 Replies Last reply Reply Quote 0
                    • S
                      Setsuna @josecortesllobat last edited by

                      @josecortesllobat . I like to work with candle sticks.
                      0_1548620593037_32bf2128-612e-49ea-a552-034052db48e7-image.png

                      So when i see this pattern im going to sell. The bearish candle must atleast 1pips higher then then bullish candle. If so: it wil sell automatic

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

                        @roar Candle ID 1 must atleast 1pips above Candle ID 2 (the upper and lower part of the candle stick) On the description there is no "atleast" option. Because the bearish candle need atleast 1pips higer then the bullish candle.

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

                          @roar do you know how setting 1 pips or more (candle id 1 --> candle id 2)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Setsuna @josecortesllobat last edited by

                            @josecortesllobat. I have your EA closely and i think its heading the way i mean. But does IT works on more the 1 conditioner? Does => means greater then 1 pips?

                            1 Reply Last reply Reply Quote 0
                            • J
                              josecortesllobat last edited by

                              @Setsuna

                              Yes, it does.

                              You hust have to change the value in the Adjust "field"

                              0_1548718768925_6b3d54ff-99b5-43ce-99f2-62e0071ac4ce-image.png

                              Sorry, I did a mistake. You have to type "pips" instead of "pip"

                              +1pips will add the value of 1 pip to the operand value -> 1.00000 + 1pips = 1.00010 (5 digits broker)

                              1 Reply Last reply Reply Quote 0
                              • S
                                Setsuna @josecortesllobat last edited by

                                @josecortesllobat for some reason it doesnt work

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

                                Online Users

                                S
                                A
                                M
                                R
                                G
                                T
                                G
                                Y
                                C
                                S
                                S
                                S
                                A

                                26
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors