Professional MM function - page 2

 
edgar_p:
Thank for this very useful code. Can you explain how to use variables "ratio"?

typically in hedging EA's there will be a ratio of lots. In this function it does not need to be reduced so you can pass in any value such as:

EURUSD = 1

USDCHF = 1.3

or

EURUSD = 30

USDCHF = 39

When it's all said and done the lots ratio will come out to be 1:1.3

This answer your question?

 

Ratios

Am I understood right - this is for currencies investment ratios (for every 1 lot of EURUSD will trade 1.3 lots of USDJPY)?

 

.................