Trading Systems: What about Hedging Daily? - page 3

 

how could we find out what exactly H317.csv and B317.csv are?

i didn't see the author mentioned it elsewhere.

 
charvo:

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.