fxDreema

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

    Why is this EA not taking trades when it is supposed to

    Questions & Answers
    3
    42
    5251
    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.
    • A
      ambrogio @OD last edited by

      @od from the forum

      https://fxdreema.com/forum/topic/4183/partial-close-only-once

      OD 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @OD last edited by

        @od said in Why is this EA not taking trades when it is supposed to:

        @ambrogio Did you use every tick to backtest?

        yes, always

        1 Reply Last reply Reply Quote 0
        • OD
          OD @ambrogio last edited by

          @ambrogio https://fxdreema.com/shared/6l20hEhSb This is the same EA with the close partially strategy blocks. When back testing this strategy I find that after closing partially no new partial trade opens. With the same block arrangements, once closed partially it is totally closed. What could be the reason for the partial trade not to open after closing partially ?

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @OD last edited by

            @od check the "close partially" block, you are closing 100% of volume

            OD 2 Replies Last reply Reply Quote 0
            • OD
              OD @ambrogio last edited by

              @ambrogio Yes with the intention to open another similar trade.

              1 Reply Last reply Reply Quote 0
              • OD
                OD @ambrogio last edited by

                @ambrogio I want if a trade is in profit it has to close partially every 20 pips while the stop loss level of the parent trade remains the same for all partial trades.

                A 1 Reply Last reply Reply Quote 0
                • A
                  ambrogio @OD last edited by

                  @od said in Why is this EA not taking trades when it is supposed to:

                  @ambrogio I want if a trade is in profit it has to close partially every 20 pips while the stop loss level of the parent trade remains the same for all partial trades.

                  let me explain better, if you want to close "partially" a trade, in the block "close partially" you do not have to choose 100% otherwise it closes it all. You have to put for example 50%, or 25%

                  OD 2 Replies Last reply Reply Quote 0
                  • OD
                    OD @ambrogio last edited by

                    @ambrogio I've tried both ways it is not solved plus still the OCO is not deleting some trades . I wish you could share with me your full backtest results for a pair for a substantial amount of time like a year or two to find out if it is my system of back testing that is really wrong.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ambrogio @OD last edited by

                      @od i can't do backtest service, anyway the minimum lot size = 0.01 cannot be divided further, put a higher lot size like 0.1
                      Close partially 50%
                      Change pips away value, because 20 pips is the same level of the stop loss, it's wrong. Put a lower value like 10 pips

                      0_1651075388944_sgabello2.PNG

                      1 Reply Last reply Reply Quote 0
                      • OD
                        OD @ambrogio last edited by

                        @ambrogio What if you want the new partial trade to have the same lot size as the previous one, so that with the same stop loss the strategy is sort of taking partial profits. If 50% is put the lot size keeps reducing with each close partially.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          ambrogio @OD last edited by

                          @od said in Why is this EA not taking trades when it is supposed to:

                          @ambrogio What if you want the new partial trade to have the same lot size as the previous one, <<< don't get me wrong but this doesn't make sense >>>

                          so that with the same stop loss the strategy is sort of taking partial profits <<< maybe i don't understand your strategy, better if you take a picture with some line drawn >>>.

                          If 50% is put the lot size keeps reducing with each close partially. <<< yes, sure, this way the "close partially" block works

                          OD 1 Reply Last reply Reply Quote 0
                          • OD
                            OD @ambrogio last edited by

                            @ambrogio What the strategy is is if a trade is 20 pips in profit it should take profits and open a trade similar to the one just closed. Lot size should be the same and also the stop loss level and take profit. In this case there is no take profit so if a trade is profiting, at every 20 pip interval it should "close partially" and the new trade should have the same volume not reduced.

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              ambrogio @OD last edited by

                              @od like this ? check inside each block, it's for buys trade only

                              https://fxdreema.com/shared/0Qx3j1qlc

                              OD 1 Reply Last reply Reply Quote 0
                              • OD
                                OD @ambrogio last edited by

                                @ambrogio Not really . Cant the close partially block close 100% volume and open new one with same settings?

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  ambrogio @OD last edited by

                                  @od yes , sure. You have to change the percentage in the "close partially" block

                                  OD 1 Reply Last reply Reply Quote 0
                                  • OD
                                    OD @ambrogio last edited by

                                    @ambrogio But with 100% the close partially block is not closing partially and opening another trade as it is supposed to

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      ambrogio @OD last edited by ambrogio

                                      @od Please, this is an opened buys trade, can you draw few lines of what you would like to happen when the price goes up?

                                      0_1651248560845_sgabello2.PNG

                                      sometimes two lines is better of hundred of words

                                      OD 1 Reply Last reply Reply Quote 0
                                      • OD
                                        OD @ambrogio last edited by

                                        @ambrogio 0_1651340552286_db33beb2-a27a-4626-88c8-738a02c0dbcb-image.png

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          ambrogio @OD last edited by

                                          @od I'm afraid you don't have a clear idea of what it means to partially close the trade. There are no children or relatives trades, instead the size of the initial lot is reduced. See below: initial lot = 1 , partial closing 50% every 20 pips.

                                          0_1651345466005_sgabello2.PNG

                                          OD 1 Reply Last reply Reply Quote 0
                                          • OD
                                            OD @ambrogio last edited by

                                            @ambrogio So is there no way to possibly do that in fxdreema

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

                                            Online Users

                                            R
                                            F
                                            S
                                            D

                                            16
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors