Margin ratio = net value/used margin
Used margin = 100000* price/leverage.
Net value = used margin+available margin
Available margin = balance+floating profit and loss-used margin
When the margin ratio is about the point value, the algorithm:
Direct inventory value = 100000* hands * jumping points
Reverse count value = 100000* hands * hops/current quotation
Cross-count value = 100000* hands * hops * current price/current price of base foreign exchange.
Why is 100000 multiplied here? Because the standard hand is 100000.