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
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)?
.................