fxDreema

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

    Trades in a Grid with the same stop as the oldest trade?

    Questions & Answers
    2
    6
    1361
    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.
    • D
      Dieter last edited by

      Hello good guy,

      the first trade of a grid is open. The trade have the stopvalue for example of 1.3000.
      A second trade is opened. The second trade must have the stopvalue of the first trade of 1.3000.
      Then the next trades will be opened. All trades must have the stopvaoue of 1.3000.
      How can I make this?

      regards,
      Dieter

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

        I missed this tipic for some reason 😮

        There is a block to place pending orders in grid, do you mean pending orders or normal orders?

        1 Reply Last reply Reply Quote 0
        • D
          Dieter last edited by

          I mean both kind of orders (buy now, sell now, sell pending order, buy pending order).
          I do not use the block 'place pending orders in a grid because it needs a lot of power during the optimizations.

          Example:
          I start the grid with a buy order. This is the first order. This buy order has a stopp-loss of , for example, 1000 pips in the block. If this buy order start at 1.3000 the stopp-loss will be 1.2000.
          Evers next buy now or buy pending order must have the same stopp-loss 1.2000.

          Can you give an example, please?

          regards,
          Dieter

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

            You can save this in a variable and then use it in every block. Or you can get SL from the last trade, and use that.

            In "Buy pending orders in grid" look at the "Stop-Loss mode" options, there is something that says "the same for all orders".

            1 Reply Last reply Reply Quote 0
            • D
              Dieter last edited by

              How can the ea get the stop from the last trade or from the oldest trade? ❓

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

                "For each Trade", "For each Closed Trade" with value of 1 for "Not more than...". Then get SL, TP, Lots or whatever attribute in Condition -> (in loop)... (the pink dot icon)

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

                Online Users

                Q
                N
                E
                S
                L
                N
                A
                F

                16
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors