I want to create a variable, but I can't find a possible way to do that
X>1= R1
X<1=R2
How do I put the name or value of a variable to use?
I want to create a variable, but I can't find a possible way to do that
X>1= R1
X<1=R2
How do I put the name or value of a variable to use?
@siggi12345 If you calculate the balance + loss and profit, they are not equal
Which means that the blocks give incorrect information
balance = 10000
equity = 9994
profit+loss = Less than a dollar
@khalids222 As you can see the equity 9994.38
and total sell , total buy Do not exceed only one $ There is error
@l-andorrà said in Determine the profits and losses for buying and selling independently؟:
Not sure I fully understand you. Do you mean you want to see all individual profits/losses for all your open trades right now on your screen?

As you can see in the picture there are a lot of buy and sell deals.
Some long positions profit, some losers, and so is selling
I want to know the size of the loss in the purchase and the size of the profit in the purchase independently
As well as the size of the loss in selling and the size of the profit in selling
It means 4 types of open positions
I try to get independent longs and short deals.
Unfortunately, all the results that I see on the chart when they are combined with the balance are not completely identical. I tried every way possible, but it seemed to be a bug.
Where I want to know the winning and losing buy trades.
As well as knowing the winning deals in selling and losing deals in selling
https://fxdreema.com/shared/cU4eimXsc
Is there a specific suggestion or possible help؟ PLEASE
Can anyone explain to me how these icons work and what is their purpose?PLEASE

2

3

@roar I understood after the effort
You are really creative. Thank you, we always learn from you Deserve

@roar I like your method, and I'm trying to understand this formula?
Can you explain it please? 
@roar As long as the bullish candle is buying and directly behind it, I will close every profitable buy if a dime is.
With every new deal opened, the previous deal is checked, if it is greater than the new one, it is not a problem.
If it was smaller than the one before it - meaning that the price fell, the purchase would be stopped. vice versa
@roar Suppose that the basic condition for the work ea close0> open0
Suppose close0>close1 = 100
Will start buying from here = 100.01 Suppose the price has reached = 120 at this point the price starts to go down again to =100
Under =100 Will start sell .
I'm talking about the distance between 100 to 120 In the case buy .
The last buy deal will be opened on 120 And the price started going down At this moment, a buy will be opened as well .
I want to loop every time the price is lower than the last position opened the deals are stopped.
So as not to open a buy and the price goes down.
@roar 
If it cannot be stopped, can it be transferred from buying to selling.
The last question: Can I even if I approximate the number of ticks, so that the buying or selling is made when the ticks reach 100 ticks, for example?
@roar But how can I stop trading in the event of buying when the price goes down from the top to the bottom?
IF zero line 100 & The price reached 120 and then returned to 100
In this case, I want to stop trading when the price exceeds the last open position down, if buying
As well as stopping trading in the event the price exceeds the top in the event of selling
@roar Thank you for your efforts, your ideas are always creative.
@l-andorrà Overall thank you very much for your efforts, I tried to get a response from @roar
, but he did not answer, and I think that he gets a lot of questions from the forum, and this puts the person under great pressure in responding to everyone.
However, I benefited greatly from him in all his responses, for me or for others, and I think that it is a benefit for any software forum.
I hope to find an answer, and I'll try several solutions.
And I thank you again for your efforts on this forum
It is true that, in this picture, if you look at it, you will find that the points move more than seven points, and that the profit closes on more than zero.
However, the closure was negative
However, the closure was negative
I want to convert the pip value to a tick or a rounded off
@l-andorrà It seems that I have not been able to explain the strategy correctly, but I find it an excellent way to trade, as the lot size gives a clear expression in the direction of the price very well, so every time a buying takes place and a fake is a selling pressure that covers the entire value of the previous purchase, and vice versa Of course, with some modifications
@l-andorrà 
This profit for the day is only for the demo account, but some steps need to be adjusted
@l-andorrà
How do I make the position open after four pips from the price move, so that at the same time the previous position closes after three pips (depending on the spread)
