Close losable trades
-
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?
-
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.
-
can you give an example ?
-
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.
-
can you give an example on fxdreema? I am suffering with understanding. (sorry I am new at fxdreema)
-
-
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?)
-
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.
-
problem is i do not know how to connect them, therefore i ask you to help with fxdreema example. Can you help me please.
-
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".