[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 581
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why is the profit taken, not the one that should be..... when the lot is closed, but when the profit should be 30pp in profit is written in a completely different way....
What is this nonsense: "essentially calculate the difference between opening an order and closing it) and summarise?????? ...
And on what volumes? Don't you need to know? The price of a point will be different...
Profit is not calculated in points, but in currency, depending on the volume of traded positions.
For some reason the profit is taken, not the one that should be..... when the lot is closed, inversely when the profit should be 30pp in profit it is written completely different....
The profit of the order is not in points, but in the deposit currency.
Correct - here the total loss (loss) is calculated from the history of closed LOCAL orders at a loss.
This is a little different for you, but the principle is the same.
The profit of the order is not in pips, but in the currency of deposit.
i need it in pips, the lot is fixed at 1.... but the profit or loss does not correspond to the real one..... and i want to calculate the number of pips in profit and drawdown easier and sum it up and get the result=)
Correct - here the total loss (loss) is calculated from the history of closed LOCAL orders at a loss.
This is a little different for you, but the principle is the same.
Thank you, I'll deal with it now=)
I need it in pips, the lot is fixed at 1.... but the profit or loss does not correspond to the real one..... and I want to calculate the number of pips in profit and drawdown easier and sum it up and get the result=)
Once again:
The profit of the order is not in pips, but in the currency of the deposit.
I need it in points, the lot is constant 1.... but for some reason the profit or loss does not correspond to the real one.....to me I want to calculate the number of points of profit and drawdown easier to sum up and get the result =)
Well, if the lot is constant, divide the tester profit by the point. You will get the profit in pips.
Kim's latest published function GetPotentialLossInCurrency (https://forum.mql4.com/ru/11287/page107) only counts open orders:
I tried to extend it a bit to include pending orders (by simply adding other types): but pending orders are not considered. Are they counted differently? The documentation doesn't say anything about this....Display all flags on the chart with Comment` and you will see why the trade opens.
put it in, now the trades don't open at all.
I put it in, now it doesn't make any sdeks at all.
Why would you do that? Output all the flags in one Comment at once.
Here: