fxDreema

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

    PRICE CROSSOVER RECTANGLE OBJECT FAILED, ANYONE CAN FIX MY PROJECT?

    Questions & Answers
    4
    16
    1843
    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.
    • L
      lukydwisaputra last edited by lukydwisaputra

      I decided to open a new thread. I dropped a comment on the original forum where the idea comes. It sounds like this:
      link: http://fxdreema.com/forum/topic/4209/tutorial-07-read-prices-from-indicator-objects?page=1

      Helo @miro1360 , @AlphaOmega , @roar , @fxDreema , @ambrogio , @l-andorrà or everyone who familiar with this topic, I need a hand please.

      I want to modify it become -> when price cross above support and price cross below resistance then the order immediately open. I’m not gonna wait the candle ID 1 to close. So if current candle entered the zone and bounce back crossing the support_hi or resist_lo. There, the order must be placed.
      0_1611836986963_C3B3A5BB-3470-45A8-9AE6-D891CB3ED090.jpeg

      I tried it with current candle cross or bid price cross with price level object it seems doesn’t work. This is my project:
      https://fxdreema.com/shared/WzXg8uQye

      This is the rules:
      Buy:

      • Price cross above up_support
        when:
      • Price < Lower BB
      • up_support < Lower BB

      Sell:

      • Price cross below dn_resist
        when:
      • Price > Upper BB
      • dn_resist > Upper BB

      I need the rules like that, but maybe there was a problem somewhere in my block..

      Thank you guys!!!

      Anyone can help me?? Pleasee?? 😞

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

        your logic doesnt look like you spend time on structuring it.
        maybe blook 220/221 should be restructered...

        L 1 Reply Last reply Reply Quote 0
        • L
          lukydwisaputra @bk7 last edited by

          Bro, I almost spend all my day learning to operate it, but this is just the beginning. Lol
          hmm .. so, is that the only block that's wrong? or is the overall logic in my project not quite right?
          And I have a question, is it better to use the bid price (tick Id 0) or candle id 0 as a comparison to this condition? and can you explain the difference please? @bk7

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

            i would restructure it and also think about a tp which is known before you enter a trade

            L TipsyWisdom 2 Replies Last reply Reply Quote 0
            • L
              lukydwisaputra @bk7 last edited by

              Thank you so much, appreciate it! @bk7 , and if you don't mind would you give me some explanation about how that "logic things" works, so I can learn from it..

              bk7 1 Reply Last reply Reply Quote 0
              • bk7
                bk7 @lukydwisaputra last edited by

                @lukydwisaputra
                you should start with the question:
                what happens less often, that is going to be checked first, test it once it works get to the next step...

                L 1 Reply Last reply Reply Quote 0
                • TipsyWisdom
                  TipsyWisdom @bk7 last edited by

                  @bk7 Sometimes, TP is known before you enter. I don't know it, my EA knows it. hahaha

                  bk7 1 Reply Last reply Reply Quote 0
                  • bk7
                    bk7 @TipsyWisdom last edited by

                    @jsauter86
                    the systems which actually bring profits for me are those which have a fixed sl and tp before going into it^^
                    the other things dont work that great for me, or maybe i am missing something... wanna share your wisdom?

                    TipsyWisdom 1 Reply Last reply Reply Quote 0
                    • L
                      lukydwisaputra @bk7 last edited by

                      @bk7 okay let me breakdown the block since started and make sure that's work step by step. And also have to test the fixed risk reward ratio for this strategy.
                      But how was my previous questions about candle ID and bid price ? which one is works for this case? are both the same?

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

                        i would start with the regular candle price once you tested it and think it is profitable you can move to bid ask prices for tp sl and entry prices and choose which price which is of course a better fit but also more complicated if you are not so familiar with bid ask prices and when to use which...

                        1 Reply Last reply Reply Quote 0
                        • TipsyWisdom
                          TipsyWisdom @bk7 last edited by

                          @bk7

                          sometimes ill use a sl of 2.5 atr, depending on time frame im trading in. So technically i have no clue what it is.

                          but yes, id say if im manually entering trades im reaching for a specific target. so specific though that none of what im doing at that time will be in an EA. Who are you mentoring under?

                          bk7 1 Reply Last reply Reply Quote 0
                          • bk7
                            bk7 @TipsyWisdom last edited by

                            @jsauter86
                            i didn't use atr that much yet to be honest..
                            what do you mean with " Who are you mentoring under"?

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

                              Hi @lukydwisaputra . Try use these block for your early question.

                              0_1611996344912_Screenshot_20210130_164424.jpg

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                lukydwisaputra @biztet last edited by

                                @biztet
                                0_1612012120236_855E5300-EFC1-48C7-933E-D2606CB8554C.jpeg

                                I've tried it, but strategy tester can't execute all of them. It happened because of my expert advisor? or is it the poor quality of historical data presented 'as tick'? I have downloaded some historical data but the results are still the same.

                                Any suggestions?
                                @bk7 @jsauter86

                                bk7 1 Reply Last reply Reply Quote 0
                                • B
                                  biztet last edited by

                                  @lukydwisaputra , i can see 3 winning trades in your screenshot. Maybe you should try forward test it to see if its really working like what you programmed it to do.

                                  1 Reply Last reply Reply Quote 0
                                  • bk7
                                    bk7 @lukydwisaputra last edited by

                                    @lukydwisaputra

                                    can you share your project?

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

                                    Online Users

                                    N
                                    S
                                    T
                                    A
                                    Y

                                    30
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors