/*
   Generated by EX4-TO-MQ4 decompiler ONE FILE V4.0.217.1
   only first function is recovered,
   visit website to get FULL decompiler version
   EX4 ID : B8F3A679D95A395D60E583C55EC963C9
   Website: http://purebeam.biz
   E-mail : purebeam@gmail.com
*/
#property copyright "Copyright © 2008, Caesar для Останин Дмитрий Александрович <ostanin@glazure.ru>"
#property link      "asd-01@bk.ru"

extern string separator0 = "Торговать по рынку или отложенными лимит ордерами";
extern bool TradeByMarketOrders = FALSE;
extern string separator1 = "Алгоритм закрытия позиций IR или WQ";
extern bool IR_ili_WQ = FALSE;
extern string separator2 = "Ждать ли закрытия бара перед началом торгов";
extern bool NeedWaitNewBar = FALSE;
extern string separator3 = "Меджик номер ордера";
extern int MAGIC = 123456;
extern double TakeProfit = 40.0;
extern double Lots = 0.01;
extern double InitialStop = 0.0;
extern double TrailingStop = 20.0;
extern int MaxTrades = 10;
extern int Pips = 15;
extern int Revers = 0;
extern double Doble = 2.0;
extern int ProfitIndex = 10;
extern string separator4 = "Alfa=3 Beta=2 Gamma=1";
extern int ABG_Algoritm = 3;
extern string separator5 = "Номер анализ индикатора";
extern string separator6 = "0=MACD2,1=OSMA,2=AO,3=AC,4=DigitalMACD,5=ZeroLag MACD";
extern string separator7 = "6=5_34_5,7=ElliottWaveOscillator,8=Ergodic,9=MACD";
extern string separator8 = "10=CoeffoLine_Hist,11=AO_Adaptive,12=FiboFan";
extern string separator9 = "13=OSMA недельный график,14=MAMA_NK,15=MAMAXX_NK";
extern string separator10 = "16=NDuet";
extern int AnaliseIndicator = 0;
extern string separator11 = "Параметры индикатора AO_Adaptive";
extern int PriceMA1 = 5;
extern int MinPeriod1 = 5;
extern int MaxPeriod1 = 10;
extern int LevelStdDevPoint1 = 8;
extern int Smooth1 = 1;
extern int PriceMA2 = 5;
extern int MinPeriod2 = 34;
extern int MaxPeriod2 = 68;
extern int LevelStdDevPoint2 = 8;
extern int Smooth2 = 1;
extern string separator12 = "Параметры индикатора CoeffoLine_Hist";
extern int ndot = 30;
extern string separator13 = "Параметры индикатора Ergodic";
extern int r = 2;
extern int s = 5;
extern int u = 8;
extern int smooth = 2;
extern string separator14 = "Параметры индикатора MACD,OSMA,ZeroLag MACD,";
extern int FastEMA = 12;
extern int SlowEMA = 26;
extern int SignalSMA = 9;
extern string separator15 = "Параметры индикатора #MACD";
extern int FastEMAMACD2 = 9;
extern int SlowEMAMACD2 = 64;
extern int SignalEMAMACD2 = 112;
extern string separator16 = "Параметры индикатора FiboFan";
extern int Period_Q = 24;
extern int Period_R = 12;
extern int Period_S = 6;
extern string separator17 = "Параметры индикатора MAMA_NK и MAMAXX_NK";
extern double FastLimit = 0.5;
extern double SlowLimit = 0.05;
extern int IPC = 4;
extern string separator18 = "Параметры индикатора NDuet";
extern int sper = 55;
extern int fper = 21;
int gi_432 = 1;
int gi_436 = 0;
int g_slippage_440 = 3;
int gi_444 = 2;
int g_count_448;
int g_pos_452;
int gi_460;
int gi_464;
int g_ticket_468;
bool gi_472;
int gi_476;
double g_price_488;
double g_price_496;
double g_maxlot_504;
double g_minlot_512;
double g_lotstep_520;
double g_ask_528;
double g_bid_536;
double gd_544;
double g_lots_552;
double g_ord_open_price_560;
double gd_568;
double g_price_576;
double g_ord_lots_584;
double g_tickvalue_600;
bool gi_608 = TRUE;
bool gi_612;
string gs_dummy_616;
string gs_624;
int gi_632;

int init() {
   g_maxlot_504 = MarketInfo(Symbol(), MODE_MAXLOT);
   g_minlot_512 = MarketInfo(Symbol(), MODE_MINLOT);
   g_lotstep_520 = MarketInfo(Symbol(), MODE_LOTSTEP);
   gi_632 = Time[0];
   return (0);
}

int start() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator0() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator1() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator2() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator3() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator4() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator5() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator6() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator7() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator8() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator9() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator10() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator11() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator12() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator13() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator14() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator15() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}

int AnaliseIndicator16() {
// demo limitation, visit http://purebeam.biz to get FULL decompiler version
}
