fxDreema

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

    How to open new trade in the same direction when hit SL

    Questions & Answers
    3
    10
    1392
    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.
    • M
      markmc last edited by

      Hi,

      Love FXDREEMA - Huge thanks

      I am using an indicator level to open trades and this is working well, What I want to do is open a new trade in the same direction once the stop loss has been hit at a higher lot size - can you please advise?

      Many thanks

      Mark

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

        You can try Buy now (Martingale), or the one for Custom Martingale. I have ideas to add all those betting systems as MM in Buy now/Sell now, but for now they are blocks.
        Otherwise you can define some variable for the lot size and control it somehow.
        Or if you ask for lot size that depends on the profit.... take a look at the available MM.

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

          Thanks - I have been looking at custom Martingale but cannot work the following logic

          If trade closes due to stop loss

          Open new order in same direction with same stop loss at 2 times the lot size of the original trade

          Can you refer to the EA Hunter in my account?

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

            About this project, I can't see how lot size depends on the trades, it depends on indicators. And in this scenarion I think you also have to use the "OR" block... check http://fxdreema.com/examples about this block to understand why.
            Maybe you want to do this: http://prntscr.com/3nnjy3 - this is getting the lot size of the last closed trade (notice the parameter that is "1") and then use that lot size in Buy now. You can also use the yellow output of this pink block.

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

              Many thanks

              I cannot work how to only set new trade when the last chart trade was closed in a loss - I don't want to open a new trade if closed in profit

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

                There are another pink blocks that you can put right after "For each Trade", for example "check profit", "check loss". Also, you can use Condition here with all the option in "in loop" (also in pink color).
                Also, there is a block named "Check last closed trade profit" if you don't like those pink blocks.

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

                  Hi - I have changed strategy to overcome the above obstacles - Huge thanks

                  I now need to work out how to assign different Magic numbers to different time frames so that I can track what profit / loss is happening on the 1 hour, 4 hour, 1 day time frame so that I can track these to tweek strategy - Any ideas

                  1 Reply Last reply Reply Quote 0
                  • A
                    AMITKK last edited by

                    i want reopen a ticket as a pending order if trade close on be

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

                      There is a parameter "Group" on the top of all trading blocks. This parameter can be any number like 1, 2, 3... the default is 0 (empty is 0).
                      Magic number = Group + MagicStart
                      where MagicStart is input parameter for the EA. So when Group is 0, the magic number is the same as MagicStart.

                      I can't understant the question about ticket. But you can detect when a trade is gone... depending on the strategy. You can check for how many trades there are at the moment and react on that, this is the best method. Or work with "on Trade" event.

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

                        Huge thanks for your reply - As I could not work out how to do this I realised that all I want is a reporting outlet so rather than creating different Magic Numbers for each time frame trade - I figured that all I needed to do was to add to "On Trade" a file write to excel that has one of the properties as Market Properties > Time Frame

                        I have now added this to my EA and have added to charts so will see how this runs next week when the marker re opens

                        Cheers

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

                        Online Users

                        N
                        S
                        E
                        S
                        N
                        O

                        26
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors