It is possible to print one sheet, but how can I set it to start printing sheets from a certain date to a certain date? So that one sheet at a time is not printed.
+ You rearrange the loop yourself, i.e. you go from the last to the first one, summing up the profit of buy orders and adding the counter of calculated buy positions. As soon as it reaches 2, you exit the loop and that is it.
+ You re-do the loop yourself, i.e. you go from the last to the first one, summing up the profit of buy orders and add the counter of counted buy positions. As soon as it reaches 2, you exit the loop and that is it.
Please advise!
It is possible to print one sheet, but how can I set it to start printing sheets from a certain date to a certain date? So that one sheet at a time is not printed.
Thank you!
ignore)
After normalisation the number changes, e.g:
Another thing is when you print it out, with DoubleToStr, e.g.:
And if you print it out after normalisation, it goes like this:
Thank you.
Good afternoon.
I need to calculate the total profit of only the last two buy positions. How do I rewrite the code?
Good afternoon.
I need to calculate the total profit of only the last two buy positions. How do I rewrite the code?
Function from Kim IV.
The GetProfitOpenPosInCurrency() function. - To help.
+ You rearrange the loop yourself, i.e. you go from the last to the first one, summing up the profit of buy orders and adding the counter of calculated buy positions. As soon as it reaches 2, you exit the loop and that is it.
How do I set a Take Profit in Metatrader4 by clicking on a chart? The context menu -> "modify order" is very inconvenient.
Function from Kim IV.
GetProfitOpenPosInCurrency() function. - help.
+ You re-do the loop yourself, i.e. you go from the last to the first one, summing up the profit of buy orders and add the counter of counted buy positions. As soon as it reaches 2, you exit the loop and that is it.
Thank you!