fxDreema

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

    Close losable trades

    Questions & Answers
    2
    10
    2128
    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.
    • E
      ergin09 last edited by

      I have an expert advisor which I do not want to use any close order. Therefore; I want to use close losable trades or modify trades to close orders which cannot reach at the takeprofit level how can i succeed that?

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

        There is a block "Close trades" and another one - "Close losable trades". Additionaly, to close trades by more complex rules, a loop can be created (pink blocks) - read the description of "For each Trade" in this case.

        1 Reply Last reply Reply Quote 0
        • E
          ergin09 last edited by

          can you give an example ?

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

            In the EA, at the point where trades needs to be closed, have "Close each trade" and it will do exactly this - it will close each trade, as it's name says. Additionaly, it has options inside to choose which trades to close.

            1 Reply Last reply Reply Quote 0
            • E
              ergin09 last edited by

              can you give an example on fxdreema? I am suffering with understanding. (sorry I am new at fxdreema)

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

                http://fxdreema.com/shared/9V6ldZNVc

                1 Reply Last reply Reply Quote 0
                • E
                  ergin09 last edited by

                  I am so sory but i think it is not what i wanted to do. I just want to make trades without close any order and i want them close with takeprofit but if there is trades which will not be closed with takeprofit, i want them to close with single loss or profit(isn't that close losable trades? did i misunderstood?)

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

                    Close losable trades, as it's name says, closes trades with negative profits when that block is executed. There are options to choose which trades to work with (filters) and what loss to wait for.

                    1 Reply Last reply Reply Quote 0
                    • E
                      ergin09 last edited by

                      problem is i do not know how to connect them, therefore i ask you to help with fxdreema example. Can you help me please.

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

                        Blocks placed under "on Tick" are executed on every tick - again and again and again, maybe few times per second. At least first ones above others. A block, when executed, does what it has to do and it can pass or not depending on what it does (see it's description for information about that).

                        Some blocks are conditions, others are filters (like "No trade is running")... and filters are conditions on steroids.
                        Other blocks are actions, like "Buy now", "Sell now", "Close trades" and all the others that do changes somewhere. "Draw arrow" can be also called action block, but it is more for debugging (seeing what is going on).

                        Connect blocks like this: Conditions, Filters => Actions

                        If you don't know what some block does, there is an information about it. Hold your mouse over the block in the list, or if you have it as a block - right click and hit "Information".

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

                        Online Users

                        J
                        H
                        E

                        8
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors