I don't think it's a perfect idea though the thought's sound good.
As the author said "I decided to mark the EUR/JPY as my base pair and hedge GBP/JPY",no matter you buy/sell EUR/JPY and sell/buy GBP/JPY, it's the same effect as you buy or sell EUR/GBR in fact.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
how could we find out what exactly H317.csv and B317.csv are?
i didn't see the author mentioned it elsewhere.
how could we find out what exactly H317.csv and B317.csv are?
i didn't see the author mentioned it elsewhere.
The csv files record the used margin for each of the hedged pairs; the system will create the files.
BlockOpening=false allows orders to be placed, if true orders sending will be blocked.
Anyway, this EA is not useable as it is: errors in firing orders, acceptable loss is computed wrongly,
too many files opened error, and sometimes divide by zero error
I don't think it's a perfect idea though the thought's sound good.
As the author said "I decided to mark the EUR/JPY as my base pair and hedge GBP/JPY",no matter you buy/sell EUR/JPY and sell/buy GBP/JPY, it's the same effect as you buy or sell EUR/GBR in fact.
better use buy audjpy short cadjpy,
we can get swap too.
Thanks Chayutra. I updated the code to be able to read and understand it better, and updated the used margin calculation to account for leverage.
Looking forward to testing this now.