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
Posts made by khalids222
-
what is The way to transition between the close ?posted in Questions & Answers
-
manual closing order for each position on the chart,posted in Questions & Answers
How do I place a manual closing order for each position on the chart, so that the mouse click on the order and the specified position is closed
-
RE: How I can closeposted in Questions & Answers
@l-andorrà @FXDREEMA-0 Yes, but how do I find the code on this site? Work will depend on this code
-
RE: How I can closeposted in Questions & Answers
@fxdream I am trying to find a method, but unfortunately I did not find and I did not find anyone who can solve it. Is there a way to do this properly?
Or is there a custom code that every time a certain profit is closed, the latest deal from the other party is closed directly -
RE: How I can closeposted in Questions & Answers
@khalids222 In every trade, a buy and sell position will be closed, one profitable and the second losing
Old gainers with new losers -
How I can closeposted in Questions & Answers
How I can every trade -open price -close minimum buy with maximum sell together at same time please?
-
RE: How can I reverse the condition for each candle ?posted in Questions & Answers
@l-andorrà said in How can I reverse the condition for each candle ?:
Then you should use a 'No trade' block for buys only on top of the left tree and an 'if trade' blocks for buys on top of the right one.
thank you very much
-
RE: How can I reverse the condition for each candle ?posted in Questions & Answers
@l-andorrà said in How can I reverse the condition for each candle ?:
@khalids222 Not sure I fully understand. Aren't they the exact conditions you are requesting?
https://fxdreema.com/shared/s7k6exFCd
In this condition when the moving average(5>20) bar one =buy & same condition bar two i want reverse condition to be moving average (5>20)=sell
So that it is once buy and time sell, but not at the same time same bar. -
How can I reverse the condition for each candle ?posted in Questions & Answers
How can I reverse the condition for each candle?
Example :
BAR1 ) CLOSE > OPEN (ONE PER BAR) =BUY
BAR2) CLOSE >OPEN (ONE PERBAR)=SELL
And so on -
RE: How can I after every buy close, close the last direct sell dealposted in Questions & Answers
@l-andorrà said in How can I after every buy close, close the last direct sell deal:
It is obvuous that a loop is required here, more specifically an array storing the value of all open trades right now. That means you need some custom code I cannot provide, sorry. Maybe some programmer here?
in general, I thank you always You are the shining flame of this forum.
We are just closing simple, we haven't found a solution, are we gonna find a solution to an array.
I wish -
RE: How can I after every buy close, close the last direct sell dealposted in Questions & Answers
@l-andorrà Surprised by this advice, I think it has a big mistake.
Because if it is separated, it will close any position as soon as it open it .
and this is not what is required.
the required after closing the winning buy position, is the closing of the newest sell position .I think the closest correct example is this but it doesn't work well I don't know why
https://fxdreema.com/shared/mUZNTCWCc -
RE: How can I after every buy close, close the last direct sell dealposted in Questions & Answers
@l-andorrà After closing a profitable trade, I want to close only one position from the second party, and it is only the newest one .
-
RE: How can I after every buy close, close the last direct sell dealposted in Questions & Answers
@l-andorrà
This example is the closest thing, but it doesn't work very well
When closing a profitable position, I want to close the most NEWEST position of the other party
https://fxdreema.com/shared/CS2RO4ofb -
How can I after every buy close, close the last direct sell dealposted in Questions & Answers
How can I after every buy close, close the last direct sale deal? please
-
RE: How can I close two or three deals out of ten or more deals?posted in Questions & Answers
@l-andorrà said in How can I close two or three deals out of ten or more deals?:
I understand, but you will have manu open trades at the same time. The problem is which one to select from eahc side (buy and sell) to make your condition true. Thare can be several combinations that can match your requested result. How can they be filtered?
Simply the method is as follows:
Every time minimum buy , or maximuam sell = + A certain number, whatever (3 or 5 .10 etc)
close minimuam buy + close maximuam sellin other words, when the minimum buy amount reached to win five points for example, close the winning position here ( minimum buy + close maximmuam sell) regardless of winning or losing .
The opposite is true when the maximum selling reached to win five points close maximuam sell + minimuam buy regardless of winning or losing .
-
RE: How can I close two or three deals out of ten or more deals?posted in Questions & Answers
@l-andorrà Let me explain the example
https://fxdreema.com/shared/kdjMLA89c

In the beginning the sell condition will be the same as the buy condition .
The second point will be to determine theMAXIMUM buy and the MAXIMUM selling, the minimum buy and the minimum sell .
Then I will collect minimum buy+ maximum sell /2 =
We will see the blue line in the image
What I Want Now: I want in every buy or sell to collect value (miuimum buy + maximum sell) if = > +1 close minimum buy & close maximum sell
I don’t want to buy together, or sell together -
RE: How can I close two or three deals out of ten or more deals?posted in Questions & Answers
@l-andorrà Thank you again. I appreciate your time and effort, however his words - * roar * are incorrect, or he did not understand the idea well.
The subject has only one possibility
Buy + Sell = Positive Simply close the two transactions.
In general, my problem is not that I have solved this problem, but my problem is how to determine which deals to close. -
RE: How can I close two or three deals out of ten or more deals?posted in Questions & Answers
@khalids222 said in How can I close two or three deals out of ten or more deals?:
@roar
This is a simple example, but as you can see when opening, he closes only one trade and does not close the second, I need logic to define both deals together.
https://fxdreema.com/shared/d7bb2S8UbWho has an answer or suggestion for this method
Simply any buy + sell equals = (+)positive .
I want to close the buy + sell exactly

