Forex arbitrage triangular calculator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Forex arbitrage triangular calculator

Postby Alexander.Gettinger » Tue Mar 20, 2012 1:46 pm

The indicator calculates the deviation of the ratio of currency pairs.

For example:
for pairs EUR/USD, GBP/USD and EUR/GBP must be correlation: (EUR/USD)/((GBP/USD)*(EUR/GBP))=1.
But this relationship does not always happen. This provides possibility for arbitrage.
The indicator detects such possibilities.

Arbitrage_Triangular_Calculator.PNG


Download:
Arbitrage_Triangular_Calculator.lua
(7.91 KiB) Downloaded 1394 times

MT4/MQ4 version.
viewtopic.php?f=38&t=67025
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Forex arbitrage triangular calculator

Postby rose123 » Wed Mar 21, 2012 3:02 am

how we have to use this indicator
User avatar
rose123
FXCodeBase: Initiate
 
Posts: 141
Joined: Mon Oct 17, 2011 6:01 am

Re: Forex arbitrage triangular calculator

Postby Alexander.Gettinger » Wed Mar 21, 2012 8:51 am

Any deviation must disappear and the system returns to equilibrium.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Forex arbitrage triangular calculator

Postby ababsammma » Mon Dec 08, 2014 4:05 pm

hello

why don't we make a strategy using this indicator,
as number 1 is our datum so we can make an order to buy and sell pairs at 1.00010 and close them when it reaches 1.00050 as example

thank you
ababsammma
 
Posts: 7
Joined: Wed Oct 22, 2014 1:35 pm

Re: Forex arbitrage triangular calculator

Postby Apprentice » Tue Dec 09, 2014 5:24 am

Strategy is an independent entity, should be written based on this indicator.
Can you specify the complete strategy Entry / Exit rules.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Forex arbitrage triangular calculator

Postby ababsammma » Tue Dec 09, 2014 5:39 am

ok
as example
strategy Entry : when the indicator is lower than 1.00025
Exit rules : when the indicator reach 1.00050 "it can be close all"
or can be exit only
ababsammma
 
Posts: 7
Joined: Wed Oct 22, 2014 1:35 pm

Re: Forex arbitrage triangular calculator

Postby Apprentice » Fri Dec 12, 2014 4:32 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Forex arbitrage triangular calculator

Postby oisin12 » Thu Jan 01, 2015 7:21 pm

Alexander.Gettinger wrote:The indicator calculates the deviation of the ratio of currency pairs.

For example:
for pairs EUR/USD, GBP/USD and EUR/GBP must be correlation: (EUR/USD)/((GBP/USD)*(EUR/GBP))=1.
But this relationship does not always happen. This provides possibility for arbitrage.
The indicator detects such possibilities.

Arbitrage_Triangular_Calculator.PNG


Download:
Arbitrage_Triangular_Calculator.lua



Hi, do you know if there is a strategy version of this indicator?
oisin12
 
Posts: 15
Joined: Thu Feb 28, 2013 4:54 pm

Re: Forex arbitrage triangular calculator

Postby Apprentice » Fri Jan 02, 2015 2:27 am

It does not exist.
Can you define the strategy rules.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Forex arbitrage triangular calculator

Postby oisin12 » Fri Jan 02, 2015 6:43 am

Apprentice wrote:It does not exist.
Can you define the strategy rules.


Unfortunately I do not know enough about triangular arbitrage to be able to define strategy rules. Maybe someone reading this has a greater understanding
oisin12
 
Posts: 15
Joined: Thu Feb 28, 2013 4:54 pm

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 52 guests