fxDreema

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

    Problem : Use "Once a day" but open many trades a day

    Questions & Answers
    2
    10
    1963
    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
      biztet last edited by

      Hi Experts!
      I need help to chase the candle.
      I use Once a day option instead it open many trades.
      Please check my EA attached. Thanks.

      0_1577493703413_Chasing Candle.mq4

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @biztet last edited by

        @biztet First check your conditions a they appear always to be true - hence an opened trade gets closed immediately.

        0_1577497798845_da0561bb-bff4-4c5c-92c5-66a5d75cfe01-image.png

        I like to share my knowledge, but expect the others to contribute as well.

        B 1 Reply Last reply Reply Quote 0
        • B
          biztet @trader.philipps last edited by

          @trader-philipps is it the correct way is to set the Candle ID to 0 also for close trade?

          T 1 Reply Last reply Reply Quote 0
          • T
            trader.philipps @biztet last edited by

            @biztet Well, I prefer to use candle ID1, but you can use candle ID0 espcially for the candle open. However, your conditions don't make much sense as they are always true! Maybe you can formulate what you try to achieve and we might find a solution for it. At the moment you compare if the open price of candle ID0 is equal to the open price of candle ID0. This is always the case as well as the value of 1 equals 1.

            I like to share my knowledge, but expect the others to contribute as well.

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

              Thanks. I'll try.

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

                Basically, this is what i'm trying to achieve.

                0_1577556206152_Untitled-2-01.jpg

                Open BUY & SELL on Open Price.
                Close BUY if Open Price of new candle higher than the trade open price.
                Close SELL if Open Price of new candle lower than the trade open price.

                That is all.

                T 2 Replies Last reply Reply Quote -1
                • T
                  trader.philipps @biztet last edited by

                  @biztet But that is differnent to the project description in the mq4 file in first post, right?

                  I like to share my knowledge, but expect the others to contribute as well.

                  1 Reply Last reply Reply Quote 0
                  • T
                    trader.philipps @biztet last edited by

                    @biztet So you mean like that?

                    0_1577582110480_b8373277-bd18-4946-8e97-56d67f91fd8e-image.png

                    https://fxdreema.com/shared/TugdFJDpd

                    Looks a bit dangerous!

                    I like to share my knowledge, but expect the others to contribute as well.

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

                      SUPERB!
                      yes, its kind of dangerous. will consider SL for it and change to Once per bar to use H4 instead.
                      Or change to Pending order with distance pips.

                      my first attempt should be safer because it will close all trades on Daily candle close and use trailing. will also test for H4. that's the logic that i can think of for now without using indicator.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        trader.philipps @biztet last edited by

                        @biztet Take profit is not the issue with that strategy. I let run it on a daily chart on GU for 2019.

                        0_1577619124854_20e6fb26-c0ab-4a60-88a8-963dfd3362de-image.png

                        It's like how many people fail with their heding strategy with a number of open trades on the edges of the trading range. Furthermore if trades are open for a longer time, swap will be probably against you either,

                        I like to share my knowledge, but expect the others to contribute as well.

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

                        Online Users

                        K
                        M
                        L
                        E
                        H
                        M
                        M

                        12
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors