Arbitrage - page 2

 

how to use ATR

In your document how are you using the ATR ?

What setting and what time frame chart for ATR ?

Are you using the ATR of the Cross pair for entry and the overlay chart

of the two hedge pairs

 

The first two trades went to a combined $25 and only the chf was closed by the EA. No errors in the expert or journal tabs, and after about 10 minutes, the jpy is still open.

 
robp:
The first two trades went to a combined $25 and only the chf was closed by the EA. No errors in the expert or journal tabs, and after about 10 minutes, the jpy is still open.

how really odd

mine r still open

bothe trades and im down 50$ so far

demo

 

I can see why it would only close that side

changed now

 
toddanderson:
In your document how are you using the ATR ?

What setting and what time frame chart for ATR ?

Are you using the ATR of the Cross pair for entry and the overlay chart

of the two hedge pairs

ATR is not used at all

all it uses is the difference between the difference of

overlaychart -point indicator and ima period 1

if the difference is greater than +0.0060 then it (means chf is below jpy)

buys chf sells jpy

if the difference is greater less than -0.0060 then it (means chf is above jpy)

sells chf buys jpy

 

also changed the profit/loss figure displayed to include the swap after market close

ill post that version later

if this thing holds water lol

 

this is my current chart

sometimes because the jpy is involved the profit/loss figure is delayed until there is a tick movement on the jpy

 

ooops and now for the chart lol

Files:
arb_1.gif  57 kb
 
robp:
The first two trades went to a combined $25 and only the chf was closed by the EA. No errors in the expert or journal tabs, and after about 10 minutes, the jpy is still open.

thanks for reporting that robp

 

fixed the swap calculation

tydied up the Magic (Magic number) stuff

Reason: