fxDreema

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

    reverse sent order

    Questions & Answers
    4
    10
    2030
    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.
    • W
      wx555 last edited by

      HI,

      I have idea but can't come true.

      open new Order (EX: Buy), If the order t/p then sent a new Buy order.
      If the order s/l then sent a new Sell order.
      loops...

      Anyone can help me?

      Thanks

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

        There is an event called "on Trade" that can detect when TP or SL is placed. Otherwise you can always check if some trade has SL:

        For each Trade (set the last parameter to 1 to work with the last trade only) -> once per trade/order -> Condition (somewhere in the pink category there is Stop loss and Take profit)

        In that Condition check if SL or TP is > 0 and then do what it has to be done. If I don't miss something...

        1 Reply Last reply Reply Quote 0
        • W
          wx555 last edited by

          Hi

          Thans for you reply.

          Try to understand, but are still confused. 😕

          Could you please give me an example ? not only part of detect tp or sl. need all process. I'm fool.

          Thank a lot.

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

            http://fxdreema.com/demo/using-trade-event-tick

            1 Reply Last reply Reply Quote 0
            • I
              itmango last edited by

              I have same problem, but when reverse sent order, Lot will be double, untill last trade reach T/P, Lot will be reset to firts value.
              Anyone help please, Thank!

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

                Martingale?
                There are blocks able to control lot size by themselves (search for martingale in the search field). To control type of trades - sell, buy, sell, buy - it depends, you can check what was the last trade (category "Checkup") and open the opposite.

                1 Reply Last reply Reply Quote 0
                • I
                  Itmango2 last edited by

                  I still do not really understand your mean, Does it mean, i will use blocks "Buy now(Martigale)" and "Sell now(Martingale)", instead "Buy now" and "Sell now" block?

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

                    By definition Martingale (this is betting system) is when you double after loss and set to initial after win. I plan to add this MM in Buy now, Sell now, but at the moment it is in independent block. Well, using some variables it can be acheived with Buy now, Sell now. But if you really need Martingale, I think these block will be enough... until you get tired of trying to make Martingale to work without blowing the whole account 🙂

                    1 Reply Last reply Reply Quote 0
                    • I
                      itmango last edited by

                      Hi Fxdreema,
                      I know this strategy is not the best. I feel excited, when using Fxdreema. The below strategy just an exercises,
                      I have tried to build this strategy many days but not success.

                      • open new Order (EX: Buy), If the order t/p then sent a new Buy order.
                        If the order s/l then sent a new Sell order.

                      Please help me ! Thank you! 😢

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

                        There are at least 2 ways to do that. In "on Tick" only or using "on Trade". In "on Trade" you can detect when a trade hit SL or TP (and then do what's needed). But "on Tick" is always better, where you can check the profit and the type of the last trade... if that fits the idea. Well, here is a little problem, a trade can hit SL and still be profitable (if SL was moved on profit). Maybe I should think for a block to check how exactly the last trade was closed (by SL, by TP) 😕

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

                        Online Users

                        E
                        C
                        A
                        M
                        T
                        E
                        C
                        N
                        P
                        K
                        K
                        W

                        21
                        Online

                        146.8k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors