Discussion of article "Triangular arbitrage" - page 8

 
Very nice job, thx for sharing.
 

Awesome work, kudos!

 
FXreedom :

great article!!!

do you have the MQL4 version of it?

thansk and best regards.

By the end of the month, I plan to put in the code base mql4 version.
 
New platform features by topic

Forum on trading, automated trading systems and testing trading strategies.

Libraries: MT4Orders

fxsaber, 2017.12.04 11:42 AM.

It is possible to write trading functions on formula synthetics.

Let's take triangular arbitrage as an example. We create such a symbol in a minute by hand through GUI or in a second by a script


And run arbitrage TS on it.

// Arbitrage Advisor on formula synetics
#include <MT4Orders.mqh>

#define Bid SymbolInfoDouble(_Symbol, SYMBOL_BID)
#define Ask SymbolInfoDouble(_Symbol, SYMBOL_ASK)

void OnTick()
{
  if (Bid > 1)
    OrderSend(_Symbol, OP_SELL, 1, Bid, 0, 0, 0);
  else if (Ask < 1)
    OrderSend(_Symbol, OP_BUY, 1, Ask, 0, 0, 0);    
}
 
Alexey Oreshkin:
By the end of the month, I plan to put in the code base mql4 version.

thanks a lot Alexey, it will be a great contribution.

best regards

 

super interesting this article, congratulations!!

 

Alexey,

Thank you very much for this article.

Not only was this an excellent article but a great MT5 example EA and an multicurrency example.

I'm looking forward to the MT4 version 

 
fxsaber:
New platform features by topic

Thanks for this post

 
The fact that it is now possible to create synthetics so easily is a huge step forward in terms of convenience and clarity.
 
fxsaber:
New platform features on the topic

What is it for? As an example of creation only

By the way, is it possible to change the formula of a cast symbol, or is it created once?