Calling R from C#

September 3, 2012 Leave a comment

Using a handy C# interface for 7Bit’s tool, it is possible to add R statistical capabilities to the C# development environment.  Included is a sample project showing how to use the interface to access R.

Calling R From CSharp Dot Net

 

 

 

Categories: C# DLL, R Project Tags: ,

Sample Code to Export C# DLL to Metatrader

September 3, 2012 Leave a comment

Have you ever wanted to write a C# DLL for Metatrader? Sample code shows how to create the DLL in C# and how to call that DLL from within Metatrader 4.

Sample code is included in a downloadable Visual Studio project for writing a C# DLL that can be called from Metatrader, just as a C DLL. Check it out.

Code to Export C# DLL to Metatrader

 

Close All Open Orders Script All Symbols in Profit

If you’re looking for a way to close all open orders in MT4 script for open profits, check this out.

Close All Open Orders Script All Symbols in Profit

Pairs Trading MT4 Indicator – Market Formula = Forex Trader + Metatrader

Pairs Trading MT4 Indicator – Market Formula = Forex Trader + Metatrader.

Simple pairs trading indicator for Metatrader 4 named Pairs with Beta for analyzing currency pair spreads. Allows custom multipliers (beta) to be used with the two pairs being analyzed, then plots the spread in a sub window.

For instance if EURUSD and GBPUSD are the two pairs being studied, and the beta for GBPUSD is 1.4, then the following formula would be plotted:

EURUSD * 1.0 – GBPUSD * 1.4 (shown below in dodger blue).

Pairs Trading MT4 Indicator - Market Formula = Forex Trader + Metatrader

Close All Open Orders Script – All Symbols In Loss

Close all open loss orders in MT4 with this script.

Close All Open Orders Script All Symbols in Loss

Close All Open Orders Script All Symbols in Profit

If you’re looking for a way to close all open orders in MT4 script for open profits, check this out.

Close All Open Orders Script All Symbols in Profit

Triangular Arbitrage 101

December 13, 2011 Leave a comment

Triangular arbitrage, also known as tri arb, exploits price inefficiency by trading in three currency pairs to produce a risk-free transaction in theory.  This article explores the basics of triangular arbitrage as they relate to retail forex traders, how to work out synthetic pairs for each currency pair, as well as some of the practicalities of applying the tri arb concept in the currency markets.

Triangular Arbitrage 101