Navigation:Home > Content >

donchian-scalper-1.0.mq4

Time: 2010-01-04 | Download file:donchian-scalper-1.0.mq4

// GetMySources: ex4-to-mq4 ver 4.224.8 on 25.07.2009
// demo license
//  ex4 file id: DBB4CBE8
//  to order one file license visit: https://secure.plimus.com/jsp/buynow.jsp?contractId=2006270&enableCustom=Y&custom1=DBB4CBE8
//  unlimited license: https://secure.plimus.com/jsp/buynow.jsp?contractId=2006268

#property copyright "Copyright © 2009, TradingSystemForex"
#property link "http://www.tradingsystemforex.com/"


extern string comment = "TDS";
extern int magic = 1234;
extern string moneymanagement = "Money Management";
extern double lots = 0.01;
extern bool lotsoptimized = true;
extern double risk = 1.0;
extern double minlot = 0.01;
extern double maxlot = 10.0;
extern double lotdigits = 2.0;
extern bool basketpercent = false;
extern double profit = 10.0;
extern double loss = 30.0;
extern string ordersmanagement = "Order Management";
extern bool oppositeclose = true;
extern bool reversesignals = false;
extern int maxtrades = 100;
extern int tradesperbar = 1;
extern bool hidestop = false;
extern bool hidetarget = true;
extern int buystop = 0;
extern int buytarget = 11;
extern int sellstop = 0;
extern int selltarget = 11;
extern int trailingstart = 0;
extern int trailingstop = 0;
extern int trailingstep = 1;
extern int breakevengain = 0;
extern int breakeven = 0;
extern int slippage = 5;
extern string entrylogics = "Entry Logics";
extern int shift = 1;
extern bool timeframe1 = true;
extern int timeframe1period = 3;
extern bool timeframe5 = false;
extern int timeframe5period = 12;
extern bool timeframe15 = false;
extern int timeframe15period = 12;
extern bool timeframe30 = false;
extern int timeframe30period = 12;
extern bool timeframe60 = false;
extern int timeframe60period = 12;
extern bool timeframe240 = true;
extern int timeframe240period = 12;
extern bool timeframe1440 = true;
extern int timeframe1440period = 10;
extern bool timeframe10080 = false;
extern int timeframe10080period = 12;
extern string timefilter = "Time Filter";
extern int gmtshift = 1;
extern bool tradesunday = false;
extern bool mondayfilter = true;
extern int mondaystart = 14;
extern bool fridayfilter = false;
extern int fridayend = 24;
extern string volatilityfilters = "Volatility Filter";
extern bool timeframe1vfilter = false;
extern bool timeframe5vfilter = false;
extern bool timeframe15vfilter = false;
extern bool timeframe30vfilter = false;
extern bool timeframe60vfilter = false;
extern bool timeframe240vfilter = true;
extern bool timeframe1440vfilter = true;
extern bool timeframe10080vfilter = false;
extern string otherfilters = "Other Filters";
extern bool pricefilter = true;
extern bool patternsfilter = true;
double gd4 = 0.0;
double gd5 = 0.0;
double gd6 = 0.0;
int gi12 = -1;
int gi13 = 0;
int gi16 = 0;
int gi17 = 0;
int gi18 = 0;
int gi19 = 0;
int gi20 = 0;
int gi21 = 0;
int gi3, gi4, gi5, gi6, gi7, gi8, gi9, gi10, gi11, gi14, gi15;
double gd7, gd8, gd9, gd10, gd11, gd12;


int init()
{

/* !!! block begin */
gi3 = Time[0];
gi4 = Time[0];
gi11 = Digits;
if (((gi11 == 3) || (gi11 == 5)) == 1)
{
  gd9 = (Point * 10.0);
  gd10 = 10;
  return( 0 );
}
gd9 = Point;
gd10 = 1;
return( 0 );
}

int start()
{
int li1, li2, li3, li4, li5, li6, li7, li8, li9, li10, li11, li12;
double ld1, ld2, ld3, ld4, ld5, ld6, ld7, ld8, ld9, ld10, ld11, ld12, ld13, ld14, ld15, ld16, 
  ld17, ld18, ld19, ld20, ld21, ld22, ld23, ld24, ld25, ld26, ld27, ld28, ld29, ld30, 
  ld31, ld32, ld33, ld34, ld35, ld36, ld37, ld38, ld39, ld40, ld41, ld42, ld43, ld44, 
  ld45, ld46, ld47, ld48, ld49, ld50, ld51, ld52, ld53, ld54, ld55, ld56, ld57, ld58, 
  ld59, ld60, ld61, ld62, ld63, ld64, ld65, ld66, ld67, ld68, ld69, ld70, ld71, ld72, 
  ld73, ld74, ld75, ld76, ld77, ld78, ld79, ld80, ld81, ld82, ld83, ld84, ld85, ld86, 
  ld87, ld88, ld89, ld90, ld91, ld92, ld93, ld94, ld95;
string ls1, ls2, ls3, ls4;

// demo limitation, visit www.getmysources.com to get FULL decompiler version
}

int count(int Pi1, int Pi2)
{
int li3, li4;

// demo limitation, visit www.getmysources.com to get FULL decompiler version
}

string errordescription(int Pi1)
{
int li2;
string ls1;

// demo limitation, visit www.getmysources.com to get FULL decompiler version
}

Recommend