MistigriFX Functions Library


You will have access to the DLL functions to create your own strategies. Makes sure that you have the MistigriFX Functions Library.mqh file in your ./experts/includes folder. Simply add at the top of your code:

#include < MistigriFX Functions Library.mqh >


Current DLL Functions


//+------------------------------------------------------------------+
//| MistigriFX Functions Library.mq4 |
//| Copyright c 2008, MistigriFX.com |
//| http://www.MistigriFX.com |
//+------------------------------------------------------------------+
#property copyright "Copyright c 2008, MistigriFX.com"
#property link "http://www.MistigriFX.com"
//+------------------------------------------------------------------+
//| DLL imports |
//+------------------------------------------------------------------+
#import "MistigriFX Functions Library.dll"
int Auth( int AccNum );
int DivA( int AccNum, double r[][6], int MaxRecords, int Fast, int Slow, int Signal, double& Result[] );
double GeneticPatterns( int AccNum, double r[][6], int MaxRecords, int SampleSize, int Projection, int Pattern, int MinMatch, int Dimensions, int Mode, int OffSet );
double ChartPoint( int AccNum, double r[][6], int MaxRecords, int z );
void OpenBrowser( string URL );
#import

//+------------------------------------------------------------------+
//| ERROR CODES |
//+------------------------------------------------------------------+
#define INVALID_MAXRECORDS -2010 // No Data was passed to the DLL.
#define INVALID_SHIFT -2020 // OffSet is not within data range.
#define INVALID_DIMENSION -2030 // Dimension input is not valid.
//+------------------------------------------------------------------+

//+------------------------------------------------------------------+
//| GPR MODE CODES |
//+------------------------------------------------------------------+
#define MODE_COUNT 1 // Return Pattern Count Value.
#define MODE_MAXUP 2 // Return Max Up pips based on projection input.
#define MODE_MAXDN 3 // Return Max Dn pips based on projection input.
#define MODE_AVGUP 4 // Return Avg Up pips based on projection input.
#define MODE_AVGDN 5 // Return Avg Dn pips based on projection input.
#define MODE_PERWN 6 // Return % Win trades based of suggested trade.
//+------------------------------------------------------------------+