what is The way to transition between the close ?
-
Away from the deal opening the way, I want it when I close a buy position, it does not close the buy position again until a sell position is closed.
So that it becomes buy close, sell close, buy close, sell close, and so on -
@khalids222 I'm afraid I don't fully understand what you mean. Some more details would be appreciated.
-
@l-andorrà The idea is very simple, when each close, look at the closing type, if the last buy close - the next close will be a sell.
Each time it will be close buy , close sell , close buy, close sell , close buy -
@khalids222 You can use the 'trade closed' block on the 'on trade' tab to do it, for example. Do you need it to open instantly? If so that would be the most efficient option.
-
@l-andorrà Thank you for your response, but I also didn't understand how to do it
Possible example please -
-
@max-c Thank you very much, you are really creative, this makes me ask you to know how I can close the last trade with only several winning deals of the same type.
Example: I have five long positions that are all profitable. I want to close the biggest profit only, and then close the sell of the biggest profit. -
-
@max-c Thank you very much, I appreciate your efforts and your response, I think I did not explain the requirement well.
Let me explain more clearly:
Suppose that every ten pips, there will be a deal, whether buy or sell.
After fifty pips, there will be buying or selling operations in the market, suppose there are 3 buy and 2 sell deals.
I want to close the one that is more profitable by buy - only one trade + close the least one loss from the sell .example : The price has arrived =50
1: buy opened =20 20 to price 50 = +30
2:sell opened = 10 10 to price 50 = -40
3:buy opened = 30 30 to price 50 = +20
4: sell opened = 40 40 to price 50 = -10
5:buy opened = 50 - 50 to price 50 = 0
the biggest buy :number 1 = +30 & the least sell number 4= -10
every trade i want close biggest profitable buy with least sell -Only one deal per party -
with those blocks you can only close trade with a specific value over or under, alot trickier to individualize not sure.
-
@max-c said in what is The way to transition between the close ?:
with those blocks you can only close trade with a specific value over or under, alot trickier to individualize not sure.
Let's assume a fixed value until the deals are closed
Let me change the terms
Suppose that for every ten pips there will be two transactions: buy and sell
every ten pips, there will be a close of buying and selling
example :
1: buy = 52 & sell = 50
2: sell= 62 & sell = 60
i want close old buy + new sell with same time
Or let me put the question again
How can I close an old buy order and a new sell order at the same time? So that the closing is one trade for each direction -
@khalids222 Thank you for your response, I have benefited from your responses from members
, I wish you success