Correct calculation of the lot from the % of the deposit - page 10

 
_new-rena:

I first think of profits before I measure losses, otherwise what do I need?

Whoever does not invest (spends, in other words, suffers a loss) does not make a profit...
 
keekkenen:

Whoever does not invest (spends, in other words, suffers a loss), does not make a profit...

that is true, but not about money, but about production. money likes to count - a kopeck saves a kopeck
 
wenay:
This one is much better, there is no leverage calculation. I really like the calculation of the lot on the % of the depo for a given distance of pps. I.e. "to drain 20% of the deposit in 10 pips = you need ?lot" is the function that calculates this question.
Hi. What is the "int type" parameter?
 
Ermak1243:
Hello, what is the "int type" parameter?
Apparently, the type of trade operation ( OP_BUY, or OP_SELL).