Jump to content

Poison Robot


Recommended Posts

  • Replies 103
  • Created
  • Last Reply

Top Posters In This Topic

Re: [Req] Poison Robot

 

EuroBlaster and Poison are 99% the same code.. Only major difference is Poision does not display any status info like Blaster does.. Guess they were trying to hide that they are one and the same.. But still you would think they would have put up some kind of status..\

 

Ive have been running Blaster since 5th of May on FXDD demo.. You can see the status page at the link below.. Blaster was actually doing pretty good till the last 2 days when it wiped out about 1/3 of account..

 

http://fai03.mt4stats.com/

Link to comment
Share on other sites

Re: [Req] Poison Robot

 

I'm not agree that EuroBlaster and PoisonRobot are exactly the same. This because PoisonRobot have a Newsfilter what EuroBlaster don't have. Also the StopLoss is only 100 at PoisonRobot but at EuroBlaster 350 Pips. And also PoisonRobot is invisible for Brokers what EuroBlaster isn't.

 

Maybe this both EA's are very similar but I think PoisonRobot is better optimized and have more options what EuroBlaster don't have.

 

Thanks,

 

megainvest

Link to comment
Share on other sites

Re: [Req] Poison Robot

 

Hello Save2009, seen that the code you have posted is Euro Blaster, are the codes for Poison exactly the same?

 

#property copyright "Copyright ? 2009, Forex Spiritual Team"

#property link "http://www.euro-blaster.com"

 

extern string EA_Name = "EURO_BLASTER";

 

:o :o :o :o :o :o

Oh sorry I'm wrong.

/*
  Generated by EX4-TO-MQ4 decompiler V4.0.223.1a []
  Website: [url]http://purebeam.biz[/url]
  E-mail : [email][email protected][/email]
*/
#property copyright "Copyright ? 2009, Poison Robot"
#property link      "http://www.poisonrobot.com"

string gs_unused_76 = "Poison Robot";
string gs_unused_84 = "Copyright ? 2009, Poison Robot.com";
extern string KeyCode = "Enter Your Key Code Here";
extern string BasicSettings = "==============";
bool gi_108 = FALSE;
int gi_112 = 0;
int gi_116 = 0;
int gi_120 = 23;
int gi_124 = 0;
double gd_unused_128 = 3.0;
string gs_unused_136 = "=== Trading Management ===";
extern bool MoneyManagement = TRUE;
extern double RiskPercentage = 10.0;
extern double FixedLotSize = 0.01;
double gd_164 = 100.0;
extern int NumberOrdersMax = 2;
double gd_176 = 1.0;
extern double TakeProfit = 20.0;
extern double StopLoss = 100.0;
extern string AdvancedSettings = "===============";
extern bool NewsFilter = FALSE;
extern double Slippage = 3.0;
extern int MagicNumber = 682839673;
string gs_224;
bool g_bool_232;
double gd_236;
int gi_244;
double gd_248;
int g_magic_256;
double gd_260 = 0.0;
bool gi_268 = FALSE;
int gi_272 = 1;
bool gi_276 = FALSE;
bool gi_280 = FALSE;
double gd_284 = 10.0;
bool gi_292 = FALSE;
int g_period_296 = 10;
double gd_300 = 10.0;
double gd_unused_308 = 5.0;
double gd_unused_316 = 10.0;
double gd_unused_324 = 22.0;
double gd_unused_332 = 20.0;
double gd_unused_340 = 26.0;
double gd_unused_348 = 13.0;
double gd_unused_356 = 15.0;
double gd_unused_364 = 10.0;
double g_maxlot_372;
double g_minlot_380;
double g_lotstep_388;
double gd_396;
int gi_404;
double g_price_408;
double gd_416;
double g_point_424;
int g_slippage_432;
bool gi_unused_436 = TRUE;
bool gi_440 = FALSE;
int gi_444 = 23;
int gi_448 = 30;
int gi_452 = 100;
int gi_456 = 0;
int gi_460 = 0;
int gi_unused_464;
bool gi_468 = FALSE;

int init() {
  HideTestIndicators(TRUE);
  gs_224 = KeyCode;
  g_bool_232 = MoneyManagement;
  gd_236 = RiskPercentage;
  gi_244 = NumberOrdersMax;
  gd_248 = FixedLotSize;
  g_magic_256 = MagicNumber;
  Comment("");
  double l_str2dbl_0 = StrToDouble(gs_224);
  double l_str2dbl_8 = l_str2dbl_0;
  double l_acc_number_16 = AccountNumber();
  /*
  if (l_acc_number_16 == (l_str2dbl_8 - 36587.0) / 5.0 - 5653.0) {
     Alert("Your Demo Version of POISON ROBOT has been activated!");
     gi_unused_464 = 1;
  } else {
     if (l_acc_number_16 == (l_str2dbl_8 - 24875.0) / 7.0 - 6536.0) {
        Alert("Your Live Version of POISON ROBOT has been activated!");
        gi_468 = TRUE;
     } else {
        Alert("Incorrect Key - POISON has been disabled");
        gi_unused_464 = 0;
        gi_468 = FALSE;
     }
  }
  */
  if(IsDemo())
  {
     gi_unused_464 = 1;
  }
  else
  {
     gi_468 = TRUE;
  }
  if (Point == 0.00001) g_point_424 = 0.0001;
  else {
     if (Point == 0.001) g_point_424 = 0.01;
     else g_point_424 = Point;
  }
  g_slippage_432 = MarketInfo(Symbol(), MODE_SPREAD);
  return (0);
}

int deinit() {
  return (0);
}

int Crossed(double ad_0, double ad_8) {
  if (ad_0 > ad_8) gi_460 = 1;
  if (ad_0 < ad_8) gi_460 = 2;
  if (gi_460 != gi_456) {
     gi_456 = gi_460;
     return (gi_456);
  }
  return (0);
}

double Predict() {
  double l_ima_0;
  double l_ima_8;
  double l_ima_16;
  double l_istddev_24;
  double ld_ret_32;
  double ld_40 = 0;
  double ld_48 = 0;
  double ld_56 = 0;
  double ld_64 = 0;
  double ld_unused_72 = 0;
  double ld_unused_80 = 0;
  double ld_88 = 0;
  double ld_96 = 0;
  double ld_104 = 0;
  double ld_112 = 0;
  double ld_120 = 0;
  double ld_unused_128 = 0;
  double ld_136 = 0;
  double ld_144 = 0;
  double ld_152 = 0;
  double ld_160 = 0;
  double l_ima_168 = iMA(NULL, 0, g_period_296, 0, MODE_SMA, PRICE_CLOSE, 0);
  for (int li_176 = 1; li_176 <= g_period_296; li_176++) {
     l_ima_0 = iMA(NULL, 0, g_period_296, 0, MODE_SMA, PRICE_CLOSE, li_176);
     l_ima_8 = iMA(NULL, 0, g_period_296, 0, MODE_SMA, PRICE_HIGH, li_176);
     l_ima_16 = iMA(NULL, 0, g_period_296, 0, MODE_SMA, PRICE_LOW, li_176);
     l_istddev_24 = iStdDev(NULL, 0, g_period_296, 0, MODE_SMA, PRICE_CLOSE, li_176);
     ld_40 += (High[li_176] + Low[li_176]) / 2.0;
     ld_48 += Close[li_176];
     ld_56 += ld_40 - ld_48;
     ld_64 += l_ima_0;
     ld_112 += l_istddev_24;
     ld_136 += Close[li_176] - Open[li_176] - (Close[li_176 - 1] - (Open[li_176 - 1]));
     ld_160 = ld_160 + (l_ima_8 - l_ima_0) + (l_ima_16 - l_ima_0);
  }
  ld_88 = ld_40 / g_period_296;
  ld_96 = ld_48 / g_period_296;
  ld_104 = ld_64 / g_period_296;
  ld_120 = ld_112 / g_period_296;
  ld_152 = ld_56 / g_period_296;
  ld_144 = ld_136 / g_period_296;
  if (ld_152 > 0.0 && l_ima_168 > ld_104 && ld_144 > 0.0 && Open[0] < l_ima_168 + ld_120 && Open[0] > l_ima_168) {
     ld_ret_32 = 1;
     gd_416 = 10000.0 * (2.0 * ld_120) + gd_300;
  }
  if (ld_152 < 0.0 && l_ima_168 < ld_104 && ld_144 < 0.0 && Open[0] > l_ima_168 - ld_120 && Open[0] < l_ima_168) {
     ld_ret_32 = 2;
     gd_416 = 10000.0 * (2.0 * ld_120) + gd_300;
  }
  if (ld_152 > 0.0 && l_ima_168 > ld_104 && ld_144 > 0.0 && Open[0] < l_ima_168 - ld_120) {
     ld_ret_32 = 3;
     gd_416 = 10000.0 * (2.0 * ld_120) + 10.0;
  }
  if (ld_152 < 0.0 && l_ima_168 < ld_104 && ld_144 < 0.0 && Open[0] > l_ima_168 + ld_120) {
     ld_ret_32 = 4;
     gd_416 = 10000.0 * (2.0 * ld_120) + 10.0;
  }
  return (ld_ret_32);
}

double Predict2() {
  double ld_ret_0;
  double ld_8 = 0;
  double ld_16 = 0;
  double ld_24 = 0;
  double ld_32 = 0;
  double ld_40 = 0;
  double ld_48 = 0;
  double ld_56 = 0;
  double ld_64 = 0;
  double ld_72 = 0;
  double l_istddev_80 = 0;
  double ld_88 = 0;
  double ld_96 = 0;
  double ld_104 = 0;
  l_istddev_80 = iStdDev(NULL, 0, 10, 0, MODE_EMA, PRICE_CLOSE, 0);
  double l_istddev_112 = iStdDev(NULL, 0, 20, 0, MODE_EMA, PRICE_CLOSE, 0);
  double l_ima_120 = iMA(NULL, PERIOD_M30, 10, 0, MODE_SMA, PRICE_CLOSE, 0);
  double l_ima_128 = iMA(NULL, PERIOD_M30, 10, 0, MODE_SMA, PRICE_CLOSE, 1);
  double l_ima_136 = iMA(NULL, PERIOD_M30, 10, 0, MODE_SMA, PRICE_CLOSE, 2);
  for (int li_144 = 1; li_144 <= 20; li_144++) {
     ld_8 += Close[li_144];
     ld_16 += High[li_144] - Low[li_144];
     ld_24 += Close[li_144] - Open[li_144];
     if (li_144 <= 10) {
        ld_88 += Close[li_144];
        ld_96 += High[li_144] - Low[li_144];
        ld_104 += Close[li_144] - Open[li_144];
     }
  }
  ld_32 = ld_8 / 20.0;
  ld_40 = ld_16 / 20.0;
  ld_48 = ld_24 / 20.0;
  double ld_148 = ld_88 / 10.0;
  double ld_156 = ld_96 / 10.0;
  double ld_164 = ld_104 / 10.0;
  ld_72 = (Open[0] - ld_148) / l_istddev_80;
  double ld_172 = (Open[0] - ld_32) / l_istddev_112;
  ld_56 = ld_148 + 0.308 * ld_156;
  double ld_180 = ld_32 + 0.18 * ld_40;
  ld_64 = ld_148 - 0.308 * ld_156;
  double ld_188 = ld_32 - 0.18 * ld_40;
  if ((l_ima_120 - l_ima_136 > l_ima_128 - l_ima_136 + 0.0002 && ld_164 > 0.0 && ld_104 > 0.0 && Open[0] > ld_64 && Open[0] <= ld_148 + ld_72 * ld_164 && ld_72 < 0.0 &&
     High[1] - Low[1] < 1.777 * ld_156) || (l_ima_120 - l_ima_136 > l_ima_128 - l_ima_136 + 0.0002 && ld_48 > 0.0 && ld_24 > 0.0 && Open[0] > ld_188 && Open[0] <= ld_32 + ld_72 * ld_48 && ld_172 < 0.0 && High[1] - Low[1] < 1.586 * ld_156)) {
     ld_ret_0 = 1;
     gd_416 = 10000.0 * l_istddev_112 + 10.0;
  }
  if ((l_ima_120 - l_ima_136 < l_ima_128 - l_ima_136 - 0.0002 && ld_164 < 0.0 && ld_104 < 0.0 && Open[0] < ld_56 && Open[0] >= ld_148 + ld_72 * ld_164 && ld_72 > 0.0 &&
     High[1] - Low[1] < 1.777 * ld_156) || (l_ima_120 - l_ima_136 < l_ima_128 - l_ima_136 - 0.0002 && ld_48 < 0.0 && ld_24 < 0.0 && Open[0] < ld_180 && Open[0] >= ld_32 + ld_72 * ld_48 && ld_172 > 0.0 && High[1] - Low[1] < 1.586 * ld_156)) {
     ld_ret_0 = 2;
     gd_416 = 10000.0 * l_istddev_112 + 10.0;
  }
  if (l_ima_120 - l_ima_136 > l_ima_128 - l_ima_136 + 0.0002 && ld_48 > 0.0 && ld_24 > 0.0 && Open[0] > ld_188 && Open[0] <= ld_32 + ld_72 * ld_48 && ld_172 < 0.0 &&
     High[1] - Low[1] > 1.586 * ld_156) {
     ld_ret_0 = 3;
     g_price_408 = 10000.0 * l_istddev_112 + 10.0;
  }
  if (l_ima_120 - l_ima_136 < l_ima_128 - l_ima_136 - 0.0002 && ld_48 < 0.0 && ld_24 < 0.0 && Open[0] < ld_180 && Open[0] >= ld_32 + ld_72 * ld_48 && ld_172 > 0.0 &&
     High[1] - Low[1] > 1.586 * ld_156) {
     ld_ret_0 = 4;
     g_price_408 = 10000.0 * l_istddev_112 + 10.0;
  }
  return (ld_ret_0);
}

int start() {
  bool li_4;
  int li_8;
  int li_12;
  int l_icustom_16;
  int l_icustom_20;
  int li_unused_24;
  int l_ticket_28;
  double l_price_32;
  bool li_40;
  bool li_44;
  bool li_48;
  bool li_52;
  bool li_56;
  bool li_60;
  bool li_64;
  bool li_68;
  bool li_72;
  bool li_76;
  bool li_80;
  bool li_84;
  int li_unused_88;
  double l_price_92;
  int l_hour_100;
  int l_count_104;
  int l_count_108;
  double l_high_112;
  double l_low_120;
  double l_imacd_128;
  double l_imacd_136;
  double l_imacd_144;
  double l_imacd_152;
  double l_ima_160;
  double l_ima_168;
  double l_ima_176;
  double l_ima_184;
  double l_ima_192;
  double l_ima_200;
  double l_ima_208;
  double l_ima_216;
  double l_ima_224;
  double l_ima_232;
  double l_ima_240;
  double l_ima_248;
  double l_ima_256;
  double l_ima_264;
  int li_272;
  double l_ima_276;
  double l_istddev_284;
  double l_istddev_292;
  double l_istddev_300;
  double l_iwpr_308;
  double l_iwpr_316;
  double l_iwpr_324;
  double l_iwpr_332;
  double l_iwpr_340;
  double l_idemarker_348;
  double l_idemarker_356;
  double l_idemarker_364;
  double l_istochastic_372;
  double l_istochastic_380;
  double l_istochastic_388;
  double l_istochastic_396;
  double l_istochastic_404;
  double l_istochastic_412;
  double l_istochastic_420;
  double l_istochastic_428;
  double l_irsi_436;
  double l_irsi_444;
  double l_irsi_452;
  double ld_unused_460;
  double l_ibands_468;
  double l_ibands_476;
  double l_ibands_484;
  double l_ibands_492;
  double l_iadx_500;
  double l_iadx_508;
  double l_iadx_516;
  double l_iadx_524;
  double l_iadx_532;
  int l_stoplevel_540;
  double l_fontsize_544;
  double l_price_552;
  int li_560;
  int li_564;
  int l_ord_total_568;
  int l_bool_0 = IsDemo();
  if (l_bool_0 == TRUE || gi_468 == TRUE) {
     li_4 = FALSE;
     if (NewsFilter == TRUE) {
        li_8 = 30;
        li_12 = 60;
        l_icustom_16 = iCustom(NULL, 0, "FFCal", 1, 0, 0, 0, 1, 1, 0);
        l_icustom_20 = iCustom(NULL, 0, "FFCal", 1, 0, 0, 0, 1, 1, 1);
        li_unused_24 = iCustom(NULL, 0, "FFCal", 1, 1, 0, 1, 1, 2, 1);
        if (l_icustom_20 < li_8) li_4 = TRUE;
        if (l_icustom_16 < li_12) li_4 = TRUE;
     }
     l_hour_100 = TimeHour(TimeCurrent());
     l_count_104 = 0;
     l_count_108 = 0;
     l_high_112 = High[iHighest(NULL, 0, MODE_HIGH, gi_452, 0)];
     l_low_120 = Low[iLowest(NULL, 0, MODE_LOW, gi_452, 0)];
     l_imacd_128 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0);
     l_imacd_136 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 1);
     l_imacd_144 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 0);
     l_imacd_152 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 1);
     l_ima_160 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_HIGH, 0);
     l_ima_168 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_HIGH, 1);
     l_ima_176 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_LOW, 0);
     l_ima_184 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_LOW, 1);
     l_ima_192 = iMA(NULL, 0, 22, 0, MODE_SMA, PRICE_CLOSE, 0);
     l_ima_200 = iMA(NULL, 0, 22, 0, MODE_SMA, PRICE_CLOSE, 5);
     l_ima_208 = iMA(NULL, 0, 22, 0, MODE_SMA, PRICE_CLOSE, 1);
     l_ima_216 = iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 0);
     l_ima_224 = iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 1);
     l_ima_232 = iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 2);
     l_ima_240 = iMA(NULL, 0, 10, 0, MODE_EMA, PRICE_CLOSE, 1);
     l_ima_248 = iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 5);
     l_ima_256 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, 0);
     l_ima_264 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, 1);
     li_272 = Crossed(l_ima_264, l_ima_208);
     l_ima_276 = iMA(NULL, 0, gi_452, 0, MODE_SMA, PRICE_CLOSE, 0);
     l_istddev_284 = iStdDev(NULL, 0, gi_452, 0, MODE_SMA, PRICE_CLOSE, 0);
     l_istddev_292 = iStdDev(NULL, 0, 20, 0, MODE_EMA, PRICE_CLOSE, 0);
     l_istddev_300 = iStdDev(NULL, 0, 20, 0, MODE_EMA, PRICE_CLOSE, 1);
     l_iwpr_308 = iWPR(NULL, 0, 26, 0);
     l_iwpr_316 = iWPR(NULL, 0, 26, 1);
     l_iwpr_324 = iWPR(NULL, 0, 26, 2);
     l_iwpr_332 = iWPR(NULL, 0, 114, 0);
     l_iwpr_340 = iWPR(NULL, 0, 114, 1);
     l_idemarker_348 = iDeMarker(NULL, 0, 13, 0);
     l_idemarker_356 = iDeMarker(NULL, 0, 13, 1);
     l_idemarker_364 = iDeMarker(NULL, 0, 13, 2);
     l_istochastic_372 = iStochastic(NULL, 0, 15, 6, 7, MODE_EMA, 0, MODE_MAIN, 0);
     l_istochastic_380 = iStochastic(NULL, 0, 15, 6, 7, MODE_EMA, 0, MODE_MAIN, 1);
     l_istochastic_388 = iStochastic(NULL, 0, 15, 6, 7, MODE_EMA, 0, MODE_SIGNAL, 0);
     l_istochastic_396 = iStochastic(NULL, 0, 15, 6, 7, MODE_EMA, 0, MODE_SIGNAL, 1);
     if (l_istochastic_380 < l_istochastic_396 - 5.0 && l_istochastic_372 >= l_istochastic_388) li_48 = TRUE;
     if (l_istochastic_380 > l_istochastic_396 + 5.0 && l_istochastic_372 <= l_istochastic_388) li_52 = TRUE;
     if (l_istochastic_380 > l_istochastic_396 && l_istochastic_372 > l_istochastic_388) li_56 = TRUE;
     if (l_istochastic_380 < l_istochastic_396 && l_istochastic_372 < l_istochastic_388) li_60 = TRUE;
     l_istochastic_404 = iStochastic(NULL, 0, 10, 5, 5, MODE_SMA, 0, MODE_MAIN, 0);
     l_istochastic_412 = iStochastic(NULL, 0, 10, 5, 5, MODE_SMA, 0, MODE_MAIN, 1);
     l_istochastic_420 = iStochastic(NULL, 0, 10, 5, 5, MODE_SMA, 0, MODE_SIGNAL, 0);
     l_istochastic_428 = iStochastic(NULL, 0, 10, 5, 5, MODE_SMA, 0, MODE_SIGNAL, 1);
     if (l_istochastic_412 < l_istochastic_428 - 5.0 && l_istochastic_404 >= l_istochastic_420) li_64 = TRUE;
     if (l_istochastic_412 > l_istochastic_428 + 5.0 && l_istochastic_404 <= l_istochastic_420) li_68 = TRUE;
     if (l_istochastic_412 < l_istochastic_428 && l_istochastic_404 >= l_istochastic_420) li_72 = TRUE;
     if (l_istochastic_412 > l_istochastic_428 && l_istochastic_404 <= l_istochastic_420) li_76 = TRUE;
     if (l_istochastic_412 > l_istochastic_428 && l_istochastic_404 > l_istochastic_420) li_80 = TRUE;
     if (l_istochastic_412 < l_istochastic_428 && l_istochastic_404 < l_istochastic_420) li_84 = TRUE;
     l_irsi_436 = iRSI(NULL, 0, 14, PRICE_CLOSE, 0);
     l_irsi_444 = iRSI(NULL, 0, 14, PRICE_CLOSE, 1);
     l_irsi_452 = iRSI(NULL, 0, 14, PRICE_CLOSE, 2);
     ld_unused_460 = 0;
     if (l_irsi_436 < 30.0) ld_unused_460 = 1;
     if (l_irsi_436 > 70.0) ld_unused_460 = 2;
     l_ibands_468 = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_LOWER, 1);
     l_ibands_476 = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_LOWER, 2);
     l_ibands_484 = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_UPPER, 1);
     l_ibands_492 = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_UPPER, 2);
     l_iadx_500 = iADX(NULL, 0, 14, PRICE_HIGH, MODE_MAIN, 0);
     l_iadx_508 = iADX(NULL, 0, 14, PRICE_HIGH, MODE_PLUSDI, 0);
     l_iadx_516 = iADX(NULL, 0, 14, PRICE_HIGH, MODE_PLUSDI, 1);
     l_iadx_524 = iADX(NULL, 0, 14, PRICE_HIGH, MODE_MINUSDI, 0);
     l_iadx_532 = iADX(NULL, 0, 14, PRICE_HIGH, MODE_MINUSDI, 1);
     if (l_iadx_508 > l_iadx_524) li_44 = TRUE;
     if (l_iadx_524 > l_iadx_508) li_40 = TRUE;
     if (l_iadx_500 < 30.0) {
        li_40 = FALSE;
        li_44 = FALSE;
     }
     g_maxlot_372 = MarketInfo(Symbol(), MODE_MAXLOT);
     g_minlot_380 = MarketInfo(Symbol(), MODE_MINLOT);
     g_lotstep_388 = MarketInfo(Symbol(), MODE_LOTSTEP);
     gd_396 = MarketInfo(Symbol(), MODE_MARGINREQUIRED) * g_lotstep_388;
     gi_404 = 3600 * gi_444 + 60 * gi_448;
     l_stoplevel_540 = MarketInfo(Symbol(), MODE_STOPLEVEL);
     l_fontsize_544 = 8.0;
     ObjectCreate("ObjLabel1", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("ObjLabel1", " P ", 7, "Arial", LimeGreen);
     ObjectSet("ObjLabel1", OBJPROP_CORNER, 3);
     ObjectSet("ObjLabel1", OBJPROP_XDISTANCE, 20);
     ObjectSet("ObjLabel1", OBJPROP_YDISTANCE, 20);
     ObjectCreate("ObjLabel3", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("ObjLabel3", " R", 8, "Arial", LimeGreen);
     ObjectSet("ObjLabel3", OBJPROP_CORNER, 3);
     ObjectSet("ObjLabel3", OBJPROP_XDISTANCE, 8);
     ObjectSet("ObjLabel3", OBJPROP_YDISTANCE, 20);
     ObjectCreate("ObjLabel4", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("ObjLabel4", "?", 8, "Wingdings", LimeGreen);
     ObjectSet("ObjLabel4", OBJPROP_CORNER, 3);
     ObjectSet("ObjLabel4", OBJPROP_XDISTANCE, 14);
     ObjectSet("ObjLabel4", OBJPROP_YDISTANCE, 13);
     ObjectCreate("ObjLabel5", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("ObjLabel5", "?", 8, "Wingdings", LimeGreen);
     ObjectSet("ObjLabel5", OBJPROP_CORNER, 3);
     ObjectSet("ObjLabel5", OBJPROP_XDISTANCE, 14);
     ObjectSet("ObjLabel5", OBJPROP_YDISTANCE, 30);
     ObjectCreate("ObjLabel6", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("ObjLabel6", "WWW.POISONROBOT.COM", 7, "Arial", Silver);
     ObjectSet("ObjLabel6", OBJPROP_CORNER, 3);
     ObjectSet("ObjLabel6", OBJPROP_XDISTANCE, 5);
     ObjectSet("ObjLabel6", OBJPROP_YDISTANCE, 3);
     ObjectCreate("P1", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("P1", " N ", 100, "Wingdings", LimeGreen);
     ObjectSet("P1", OBJPROP_CORNER, 3);
     ObjectSet("P1", OBJPROP_XDISTANCE, 2);
     ObjectSet("P1", OBJPROP_YDISTANCE, 30);
     ObjectCreate("t3z6", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t3z6", "POISON ROBOT", 20, "Arial", Green);
     ObjectSet("t3z6", OBJPROP_CORNER, 0);
     ObjectSet("t3z6", OBJPROP_XDISTANCE, 20);
     ObjectSet("t3z6", OBJPROP_YDISTANCE, 10);
     ObjectCreate("t1", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t1", "Lot Size:", l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t1", OBJPROP_CORNER, 0);
     ObjectSet("t1", OBJPROP_XDISTANCE, 20);
     ObjectSet("t1", OBJPROP_YDISTANCE, 50);
     ObjectCreate("t91", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t91", " " + DoubleToStr(LotsOptimized(), 2), l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t91", OBJPROP_CORNER, 0);
     ObjectSet("t91", OBJPROP_XDISTANCE, 80);
     ObjectSet("t91", OBJPROP_YDISTANCE, 50);
     ObjectCreate("t2", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t2", "Take Profit:", l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t2", OBJPROP_CORNER, 0);
     ObjectSet("t2", OBJPROP_XDISTANCE, 20);
     ObjectSet("t2", OBJPROP_YDISTANCE, 60);
     ObjectCreate("t911", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t911", " " + DoubleToStr(TakeProfit, 2), l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t911", OBJPROP_CORNER, 0);
     ObjectSet("t911", OBJPROP_XDISTANCE, 80);
     ObjectSet("t911", OBJPROP_YDISTANCE, 60);
     ObjectCreate("t3", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t3", "Stop Loss:", l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t3", OBJPROP_CORNER, 0);
     ObjectSet("t3", OBJPROP_XDISTANCE, 20);
     ObjectSet("t3", OBJPROP_YDISTANCE, 70);
     ObjectCreate("t38", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t38", " " + DoubleToStr(StopLoss, 2), l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t38", OBJPROP_CORNER, 0);
     ObjectSet("t38", OBJPROP_XDISTANCE, 80);
     ObjectSet("t38", OBJPROP_YDISTANCE, 70);
     ObjectCreate("t36", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t36", "# of Orders:", l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t36", OBJPROP_CORNER, 0);
     ObjectSet("t36", OBJPROP_XDISTANCE, 20);
     ObjectSet("t36", OBJPROP_YDISTANCE, 80);
     ObjectCreate("t383", OBJ_LABEL, 0, 0, 0);
     ObjectSetText("t383", " " + DoubleToStr(gi_244, 2), l_fontsize_544, "Arial", LimeGreen);
     ObjectSet("t383", OBJPROP_CORNER, 0);
     ObjectSet("t383", OBJPROP_XDISTANCE, 80);
     ObjectSet("t383", OBJPROP_YDISTANCE, 80);
     if (Slippage > g_slippage_432) g_slippage_432 = Slippage;
     if (DayOfWeek() == 5) return (0);
     closeExpiredOrders();
     if (!isTradeTime()) return (0);
     if (Bars < 100) {
        Print("bars less than 100");
        return (0);
     }
     if (!IsConnected()) {
        Print("No Connection!!!");
        Sleep(5000);
        return (0);
     }
     l_price_552 = StopLoss;
     if (l_price_552 <= 0.0) l_price_552 = 0;
     li_560 = 0;
     li_564 = 0;
     l_ord_total_568 = OrdersTotal();
     if (l_ord_total_568 > 0) {
        for (int l_pos_572 = 0; l_pos_572 < l_ord_total_568; l_pos_572++) {
           OrderSelect(l_pos_572, SELECT_BY_POS);
           if (OrderMagicNumber() == g_magic_256) {
              if (OrderType() <= OP_SELL && OrderSymbol() == Symbol()) l_count_104++;
              else l_count_108++;
           }
        }
     }
     if (l_count_104 > 0)
        if (TimeCurrent() - OrderOpenTime() <= 60.0 * gd_176) return (0);
     if (l_count_104 < gi_244) {
        if (AccountFreeMargin() < 100.0 * LotsOptimized()) {
           Print("We have not enough money. Free Margin = ", AccountFreeMargin());
           return (0);
        }
        if (Predict() == 1.0 || Predict2() == 1.0 && Ask < (l_high_112 + l_low_120) / 2.0 - l_istddev_284 && li_56 && l_istochastic_372 < 45.0) li_560 = 3;
        if ((Predict() == 3.0 && ((l_iwpr_308 > l_iwpr_316 + 9.0 && li_80) || (l_iwpr_308 > l_iwpr_316 + 9.0 && li_56) && l_idemarker_348 > l_idemarker_356 + 0.05 && l_ima_224 < l_ima_208) ||
           (l_istochastic_372 < 40.0 && Open[1] < l_ima_184 && l_ima_192 > l_ima_248) || (l_istochastic_412 < 40.0 && l_ima_192 > l_ima_208 && l_ima_240 > l_ima_224) || (Open[2] > l_ima_224 &&
           Open[1] < Close[1] && Open[0] > Close[1] && li_56 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_idemarker_348 > l_idemarker_356 + 0.05)) || (Predict() == 1.0 && ((l_iwpr_308 > l_iwpr_316 +
           9.0 && l_istochastic_404 < 60.0 && li_80) || (l_iwpr_308 > l_iwpr_316 + 18.0 && l_istochastic_372 < 70.0 && li_56) && l_iwpr_308 < -15.0 && l_idemarker_348 > l_idemarker_356 &&
           l_ima_224 > l_ima_208 && l_ima_192 > l_ima_208) || (l_istochastic_372 < 40.0 && Open[1] > l_ima_184 && l_ima_216 < l_ima_248) || (l_istochastic_412 < 40.0 && l_ima_192 > l_ima_208 && l_ima_240 > l_ima_224) ||
           (Open[2] > l_ima_224 && Open[1] < Close[1] && Open[0] > Close[1] && li_56 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_idemarker_348 > l_idemarker_356 + 0.1)) || (Predict2() == 1.0 && (l_istochastic_372 < 50.0 && Open[1] > l_ima_184 && l_ima_216 < l_ima_248 && li_56 && Open[0] > Close[1] && Open[1] > Close[1])) ||
           (Predict2() == 1.0 && l_istochastic_372 < 50.0 && li_56 && l_iwpr_308 > l_iwpr_316 + 7.0 && Open[2] < Close[2] && Open[0] > Close[1] && Open[1] > Close[1]) || (Predict2() == 3.0 &&
           Open[0] > Close[1] && Open[1] < Close[1])) li_560 = 1;
        if ((l_ima_256 > l_ima_264 && l_ima_192 > l_ima_208 + 0.0002 && Open[0] < l_ima_192 + l_istddev_292 && (l_istochastic_404 > l_istochastic_412 && l_istochastic_420 > l_istochastic_428) ||
           (l_istochastic_372 > l_istochastic_380 && l_istochastic_388 > l_istochastic_396) && l_iwpr_308 < -15.0 && l_iwpr_308 > l_iwpr_316 + 3.0 && li_56 && l_ima_216 > l_ima_192 && Open[0] > l_ima_256) ||
           (l_iwpr_332 > l_iwpr_340 && l_iwpr_332 > -20.0 && l_iwpr_340 > -20.0 && l_iwpr_308 > l_iwpr_316 + 25.0 && l_iwpr_308 < -15.0 && l_iwpr_316 < l_iwpr_324 && l_istddev_292 > l_istddev_300 &&
           l_idemarker_348 > l_idemarker_356 && l_ima_192 > l_ima_200 && li_56 && l_iadx_500 > 20.0) || (Low[1] < l_ima_192 - 3.2 * l_istddev_300 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_iwpr_308 < -75.0 && li_56 && (l_istochastic_372 >= 20.0 && l_istddev_292 > l_istddev_300) ||
           l_iwpr_316 < l_iwpr_324) || (l_ima_160 > l_ima_216 && l_ima_160 > l_ima_168 && l_ima_168 < l_ima_216 && l_ima_192 > l_ima_200 + 0.0002 && Open[1] < Close[1] && li_56 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_idemarker_348 > l_idemarker_356 && l_iadx_508 > l_iadx_524) ||
           (li_48 && l_imacd_128 > l_imacd_136 && l_imacd_128 > l_imacd_144 && l_ima_240 > l_ima_224 && li_44 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_istochastic_372 > l_istochastic_380 &&
           l_istochastic_388 > l_istochastic_396 + 1.0) || (l_imacd_128 > l_imacd_136 && l_imacd_128 < 0.0 && l_imacd_128 > l_imacd_144 && l_imacd_136 < l_imacd_152 && li_56 && l_iwpr_308 > l_iwpr_316 && li_44 && l_ima_240 > l_ima_224 && Close[1] < Open[0] && Close[1] > Open[1] && l_istddev_292 > l_istddev_300) ||
           (li_48 && l_imacd_128 > l_imacd_136 && l_imacd_128 > l_imacd_144 && l_ima_216 < l_ima_224 && l_iwpr_308 > l_iwpr_316 + 9.0 && li_44 && l_ima_240 > l_ima_224) || (l_iwpr_308 >= -75.0 &&
           l_iwpr_308 > l_iwpr_316 + 9.0 && l_iwpr_316 < l_iwpr_324 - 5.0 && Open[2] < Close[2] && Open[1] > Close[2] && Open[1] < Close[1] && li_56 && l_ima_216 > l_ima_224 +
           0.0005 && l_iadx_500 > 25.0 && l_iadx_508 > 25.0 && l_ima_240 > l_ima_224) || (li_272 == 1 && l_iadx_508 > 25.0 && l_iwpr_308 > l_iwpr_316 + 12.0 && l_iadx_500 > 25.0 && l_iadx_508 > l_iadx_516 ||
           l_ima_240 > l_ima_224 && l_ima_192 >= l_ima_208 && l_ima_264 < l_ima_248 && li_56) || (Close[4] < Close[3] && Close[3] > Close[2] && Close[2] > Close[1] && Open[0] > Close[1] && High[1] - Close[1] < Open[1] - Low[1] && l_ima_216 > l_ima_248 + 0.0005 && l_iwpr_308 > l_iwpr_316 + 9.0 && l_iadx_500 > 25.0 && l_iadx_508 > 25.0 && l_iwpr_316 > l_iwpr_324) ||
           (Open[1] < Close[1] && Close[2] < l_ima_192 && Close[1] > l_ima_192 && Open[1] > l_ima_256 && Open[0] > l_ima_160 && l_ima_192 > l_ima_200 + 0.0005 && l_iwpr_308 < -5.0 &&
           l_iwpr_308 > l_iwpr_316 + 7.0 && l_idemarker_348 > l_idemarker_356 && l_idemarker_356 > l_idemarker_364) || (l_irsi_444 < l_irsi_452 && l_irsi_436 > l_irsi_444 + 5.0 && l_irsi_444 < 30.0 && l_ima_240 > l_ima_224 && l_iadx_500 > 25.0 && l_iadx_508 > 25.0) ||
           (Close[1] > l_ima_224 && Open[1] < l_ima_224 && l_ima_240 > l_ima_224 && l_iadx_500 > 30.0 && l_iadx_508 > 25.0 && l_ima_192 > l_ima_200 + 0.0003 && li_56 && l_iwpr_308 > l_iwpr_316 +
           18.0 && l_iwpr_316 > l_iwpr_324 + 7.0) || (li_64 && Open[1] > l_ima_184 && Open[0] > l_ima_160 && Open[1] < Close[1] && l_ima_192 > l_ima_208 + 0.0002 && l_iadx_500 > 25.0 && l_iadx_508 > 25.0 && l_iwpr_308 > l_iwpr_316 + 9.0 && l_ima_240 > l_ima_224) ||
           (li_64 && l_imacd_128 > l_imacd_136 && l_imacd_128 < 0.0 && l_imacd_128 > l_imacd_144 && l_iadx_500 > 25.0 && l_iadx_508 > 25.0 && l_iwpr_308 > l_iwpr_316 + 7.0 &&
           l_istochastic_404 > l_istochastic_412 && l_istochastic_420 > l_istochastic_428 + 1.0) || (Close[2] < l_ibands_476 && Open[1] > l_ibands_468 && Open[0] > Close[1] && Open[1] < Close[1] && li_80 && l_iwpr_308 > l_iwpr_316 + 12.0 && l_istochastic_404 > l_istochastic_412 + 3.0 && l_istochastic_420 > l_istochastic_428 && l_ima_240 > l_ima_224 && l_ima_216 > l_ima_224) ||
           (l_iadx_508 > l_iadx_516 && l_iadx_516 < l_iadx_532 && l_iadx_508 >= l_iadx_524 && l_iadx_500 >= 35.0 && l_iadx_508 > 25.0 && l_iwpr_308 > l_iwpr_316 + 15.0 && li_56) ||
           (l_ima_256 > l_ima_264 && l_ima_216 > l_ima_224 && l_ima_192 > l_ima_208 && l_ima_192 > l_ima_200 + 0.0005 && l_ima_216 - l_ima_224 > l_ima_192 - l_ima_208 && l_ima_256 - l_ima_192 > l_ima_264 - l_ima_208 &&
           li_56 && l_iwpr_308 < -15.0 && l_iwpr_308 > l_iwpr_316 + 15.0 && l_ima_256 > l_ima_216 && l_ima_216 > l_ima_192 && Open[0] > l_ima_256) || ((li_72 && l_istochastic_412 < 25.0) ||
           (li_64 && l_istochastic_412 < 30.0) && l_ima_192 > l_ima_208 + 0.0002 && l_ima_240 > l_ima_224) || (li_48 && l_istochastic_372 < 30.0 && Open[1] > l_ima_184 && Close[1] > l_ima_248 && Open[0] > l_ima_160 && l_ima_216 < l_ima_248 && l_ima_216 < l_ima_224) ||
           (li_48 && Open[1] > l_ima_184 && Open[0] > l_ima_160 && Open[1] < Close[1] && l_iwpr_308 > l_iwpr_316 + 7.0 && l_idemarker_348 > l_idemarker_356 + 0.08 && l_istddev_292 > l_istddev_300) ||
           (Close[3] > l_ima_248 && Open[2] > l_ima_224 && Open[1] < Close[1] && Open[1] > Close[2] && Close[1] > l_ima_192 + 2.2 * l_istddev_300 && Open[0] > Close[1] && l_istddev_292 > l_istddev_300 &&
           li_56 && l_iwpr_308 > l_iwpr_316 + 7.0 && l_iwpr_308 < -10.0) || (l_ima_224 < l_ima_232 - 0.0001 && l_ima_216 > l_ima_224 + 0.0002 && l_ima_216 > l_ima_232 + 0.0001 && l_ima_224 < l_ima_208 && li_56 ||
           li_80 && Open[0] > Close[1]) || (l_ima_208 - l_ima_276 < l_ima_192 - l_ima_276 && l_ima_276 < (l_high_112 + l_low_120) / 2.0 - 2.0 * l_istddev_284 && l_ima_192 - l_ima_276 > l_istddev_284 && Open[0] > Close[1] && li_56) ||
           (iSAR(NULL, 0, 0.02, 0.2, 1) > Close[1] && iSAR(NULL, 0, 0.02, 0.2, 0) < Open[0] && iSAR(NULL, PERIOD_M15, 0.02, 0.2, 1) > iClose(NULL, PERIOD_M15, 1) && iSAR(NULL, PERIOD_M15, 0.02, 0.2, 0) < iOpen(NULL, PERIOD_M15, 0) &&
           iSAR(NULL, PERIOD_M30, 0.02, 0.2, 1) > iClose(NULL, PERIOD_M30, 1) && iSAR(NULL, PERIOD_M30, 0.02, 0.2, 0) < iOpen(NULL, PERIOD_M30, 0) && (Open[0] < Close[0] && Open[0] > Close[1] &&
           Ask > l_ima_192) || (l_ima_256 > l_ima_264 && l_imacd_128 > l_imacd_136 && l_imacd_128 < 0.0))) li_560 = 2;
        if (li_560 == 1 || li_560 == 2 || li_560 == 3) {
           if (l_price_552 > 0.0) l_price_552 = Ask - StopLoss * g_point_424;
           if (li_560 == 1) g_price_408 = Ask + gd_416 * g_point_424;
           if (li_560 == 2) g_price_408 = Ask + TakeProfit * g_point_424;
           if (li_560 == 3) g_price_408 = Ask + gd_416 * g_point_424;
           if (li_4 == FALSE) l_ticket_28 = OrderSend(Symbol(), OP_BUY, LotsOptimized(), Ask, g_slippage_432, 0, 0, "Poison Robot", g_magic_256, 0, Green);
           else return (0);
           if (l_ticket_28 > 0) {
              if (OrderSelect(l_ticket_28, SELECT_BY_TICKET, MODE_TRADES)) Print("BUY order opened : ", OrderOpenPrice());
              OrderModify(OrderTicket(), OrderOpenPrice(), l_price_552, g_price_408, 0, CLR_NONE);
           } else Print("Error opening BUY order : ", GetLastError());
           return (0);
        }
        if ((Predict() == 4.0 && ((l_iwpr_308 < l_iwpr_316 - 9.0 && li_84) || (l_iwpr_308 < l_iwpr_316 - 9.0 && li_60) && l_idemarker_348 < l_idemarker_356 - 0.05 && l_ima_224 > l_ima_208) ||
           (l_istochastic_372 > 60.0 && Open[1] > l_ima_168 && l_ima_192 < l_ima_248) || (l_istochastic_412 > 60.0 && l_ima_192 < l_ima_208 && l_ima_240 < l_ima_224) || (Open[2] < l_ima_224 &&
           Open[1] > Close[1] && Open[0] < Close[1] && li_60 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_idemarker_348 < l_idemarker_356 - 0.05)) || (Predict() == 2.0 && ((l_iwpr_308 < l_iwpr_316 - 9.0 &&
           l_istochastic_404 > 40.0 && li_84) || (l_iwpr_308 < l_iwpr_316 - 18.0 && l_istochastic_372 > 30.0 && li_60) && l_iwpr_308 > -85.0 && l_idemarker_348 < l_idemarker_356 &&
           l_ima_224 < l_ima_208 && l_ima_192 < l_ima_208) || (l_istochastic_372 > 60.0 && Open[1] < l_ima_168 && l_ima_216 > l_ima_248) || (l_istochastic_412 > 60.0 && l_ima_192 < l_ima_208 && l_ima_240 < l_ima_224) ||
           (Open[2] < l_ima_224 && Open[1] > Close[1] && Open[0] < Close[1] && li_60 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_idemarker_348 < l_idemarker_356 - 0.1)) || (Predict2() == 2.0 && (l_istochastic_372 > 50.0 && Open[1] < l_ima_168 && l_ima_216 > l_ima_248 && li_60 && Open[0] < Close[1] && Open[1] < Close[1])) ||
           (Predict2() == 2.0 && li_60 && l_istochastic_372 > 50.0 && l_iwpr_308 < l_iwpr_316 - 7.0 && Open[2] > Close[2] && Open[0] < Close[1] && Open[1] < Close[1]) || (Predict2() == 4.0 &&
           Open[0] < Close[1] && Open[1] > Close[1])) li_564 = 1;
        if ((l_ima_256 < l_ima_264 && l_ima_192 < l_ima_208 - 0.0002 && Open[0] >= l_ima_192 - l_istddev_292 && (l_istochastic_404 < l_istochastic_412 && l_istochastic_420 < l_istochastic_428) ||
           (l_istochastic_372 < l_istochastic_380 && l_istochastic_388 < l_istochastic_396) && l_iwpr_308 > -85.0 && l_iwpr_308 < l_iwpr_316 - 3.0 && li_60 && l_ima_216 < l_ima_192 && Open[0] < l_ima_256) ||
           (l_iwpr_332 < l_iwpr_340 && l_iwpr_332 < -80.0 && l_iwpr_340 < -80.0 && l_iwpr_308 < l_iwpr_316 - 25.0 && l_iwpr_308 > -85.0 && l_iwpr_316 > l_iwpr_324 && l_istddev_292 > l_istddev_300 &&
           l_idemarker_348 < l_idemarker_356 && l_ima_192 < l_ima_200 && li_60 && l_iadx_500 > 20.0) || (High[1] > l_ima_192 + 3.2 * l_istddev_300 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_iwpr_308 > -25.0 && li_60 && (l_istochastic_372 <= 80.0 && l_istddev_292 > l_istddev_300) ||
           l_iwpr_316 > l_iwpr_324) || (l_ima_176 < l_ima_216 && l_ima_176 < l_ima_184 && l_ima_184 > l_ima_216 && l_ima_192 < l_ima_200 - 0.0002 && Open[1] > Close[1] && li_60 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_idemarker_348 < l_idemarker_356 && l_iadx_524 > l_iadx_508) ||
           (li_52 && l_imacd_128 < l_imacd_136 && l_imacd_128 < l_imacd_144 && l_ima_240 < l_ima_224 && li_40 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_istochastic_372 < l_istochastic_380 &&
           l_istochastic_388 < l_istochastic_396 - 1.0) || (l_imacd_128 < l_imacd_136 && l_imacd_128 > 0.0 && l_imacd_128 < l_imacd_144 && l_imacd_136 > l_imacd_152 && li_60 && l_iwpr_308 < l_iwpr_316 && li_40 && l_ima_240 < l_ima_224 && Close[1] > Open[0] && Close[1] < Open[1] && l_istddev_292 > l_istddev_300) ||
           (li_52 && l_imacd_128 < l_imacd_136 && l_imacd_128 < l_imacd_144 && l_ima_216 > l_ima_224 && l_iwpr_308 < l_iwpr_316 - 9.0 && li_40 && l_ima_240 < l_ima_224) || (l_iwpr_308 <= -25.0 &&
           l_iwpr_308 < l_iwpr_316 - 9.0 && l_iwpr_316 > l_iwpr_324 + 5.0 && Open[2] > Close[2] && Open[1] < Close[2] && Open[1] > Close[1] && li_60 && l_ima_216 < l_ima_224 - 0.0005 &&
           l_iadx_500 > 25.0 && l_iadx_524 > 25.0 && l_ima_240 < l_ima_224) || (li_272 == 2 && l_iadx_524 > 25.0 && l_iwpr_308 < l_iwpr_316 - 12.0 && l_iadx_500 > 25.0 && l_iadx_524 > l_iadx_532 ||
           l_ima_240 < l_ima_224 && l_ima_192 <= l_ima_208 && l_ima_264 > l_ima_248 && li_60) || (Close[4] > Close[3] && Close[3] < Close[2] && Close[2] < Close[1] && Open[0] > Close[1] && Close[1] - Low[1] < High[1] - Open[1] && l_ima_216 < l_ima_248 - 0.0005 && l_iwpr_308 < l_iwpr_316 - 9.0 && l_iadx_500 > 25.0 && l_iadx_524 > 25.0 && l_iwpr_316 < l_iwpr_324) ||
           (Open[1] > Close[1] && Close[2] > l_ima_192 && Close[1] < l_ima_192 && Open[1] < l_ima_256 && Open[0] < l_ima_176 && l_ima_192 < l_ima_200 - 0.0005 && l_iwpr_308 > -95.0 &&
           l_iwpr_308 < l_iwpr_316 - 7.0 && l_idemarker_348 < l_idemarker_356 && l_idemarker_356 < l_idemarker_364) || (l_irsi_444 > l_irsi_452 && l_irsi_436 < l_irsi_444 - 5.0 && l_irsi_444 > 70.0 && l_ima_240 < l_ima_224 && l_iadx_500 > 25.0 && l_iadx_524 > 25.0) ||
           (Close[1] < l_ima_224 && Open[1] > l_ima_224 && l_ima_240 < l_ima_224 && l_iadx_500 > 30.0 && l_iadx_524 > 25.0 && l_ima_192 < l_ima_200 - 0.0003 && li_60 && l_iwpr_308 < l_iwpr_316 - 18.0 &&
           l_iwpr_316 < l_iwpr_324 - 7.0) || (li_68 && Open[1] < l_ima_168 && Open[0] < l_ima_176 && Open[1] > Close[1] && l_ima_192 < l_ima_208 - 0.0002 && l_iadx_500 > 25.0 && l_iadx_524 > 25.0 && l_iwpr_308 < l_iwpr_316 - 9.0 && l_ima_240 < l_ima_224) ||
           (li_68 && l_imacd_128 < l_imacd_136 && l_imacd_128 > 0.0 && l_imacd_128 < l_imacd_144 && l_iadx_500 > 25.0 && l_iadx_524 > 25.0 && l_iwpr_308 < l_iwpr_316 - 7.0 &&
           l_istochastic_404 < l_istochastic_412 && l_istochastic_420 < l_istochastic_428 - 1.0) || (Close[2] > l_ibands_492 && Open[1] < l_ibands_484 && Open[0] < Close[1] && Open[1] > Close[1] && li_84 && l_iwpr_308 < l_iwpr_316 - 12.0 && l_istochastic_404 < l_istochastic_412 - 3.0 && l_istochastic_420 < l_istochastic_428 && l_ima_240 < l_ima_224 && l_ima_216 < l_ima_224) ||
           (l_iadx_524 > l_iadx_532 && l_iadx_516 > l_iadx_532 && l_iadx_508 <= l_iadx_524 && l_iadx_500 >= 35.0 && l_iadx_524 > 25.0 && l_iwpr_308 < l_iwpr_316 - 15.0 && li_60) ||
           (l_ima_256 < l_ima_264 && l_ima_216 < l_ima_224 && l_ima_192 < l_ima_208 && l_ima_192 < l_ima_200 - 0.0005 && l_ima_224 - l_ima_216 > l_ima_208 - l_ima_192 && l_ima_192 - l_ima_256 > l_ima_208 - l_ima_264 &&
           li_60 && l_iwpr_308 > -85.0 && l_iwpr_308 < l_iwpr_316 - 15.0 && l_ima_256 < l_ima_216 && l_ima_216 < l_ima_192 && Open[0] < l_ima_256) || ((li_76 && l_istochastic_412 > 75.0) ||
           (li_68 && l_istochastic_412 > 705.0) && l_ima_192 < l_ima_208 - 0.0002 && l_ima_240 < l_ima_224) || (li_52 && l_istochastic_372 > 70.0 && Open[1] < l_ima_168 && Close[1] < l_ima_248 && Open[0] < l_ima_176 && l_ima_216 > l_ima_248 && l_ima_216 > l_ima_224) ||
           (li_52 && Open[1] < l_ima_168 && Open[0] < l_ima_176 && Open[1] > Close[1] && l_iwpr_308 < l_iwpr_316 - 7.0 && l_idemarker_348 < l_idemarker_356 - 0.08 && l_istddev_292 > l_istddev_300) ||
           (Close[3] < l_ima_248 && Open[2] < l_ima_224 && Open[1] > Close[1] && Open[1] < Close[2] && Close[1] < l_ima_192 - 2.2 * l_istddev_300 && Open[0] < Close[1] && l_istddev_292 > l_istddev_300 &&
           li_60 && l_iwpr_308 < l_iwpr_316 - 7.0 && l_iwpr_308 > -90.0) || (l_ima_224 > l_ima_232 + 0.0001 && l_ima_216 < l_ima_224 - 0.0002 && l_ima_216 < l_ima_232 - 0.0001 && l_ima_224 > l_ima_208 && li_60 ||
           li_84 && Open[0] < Close[1]) || (l_ima_208 - l_ima_276 > l_ima_192 - l_ima_276 && l_ima_276 > (l_high_112 + l_low_120) / 2.0 + 2.0 * l_istddev_284 && l_ima_276 - l_ima_192 > l_istddev_284 && Open[0] < Close[1] && li_60) ||
           (iSAR(NULL, 0, 0.02, 0.2, 1) < Close[1] && iSAR(NULL, 0, 0.02, 0.2, 0) > Open[0] && iSAR(NULL, PERIOD_M15, 0.02, 0.2, 1) < iClose(NULL, PERIOD_M15, 1) && iSAR(NULL, PERIOD_M15, 0.02, 0.2, 0) > iOpen(NULL, PERIOD_M15, 0) &&
           iSAR(NULL, PERIOD_M30, 0.02, 0.2, 1) < iClose(NULL, PERIOD_M30, 1) && iSAR(NULL, PERIOD_M30, 0.02, 0.2, 0) > iOpen(NULL, PERIOD_M30, 0) && (Open[0] > Close[0] && Open[0] < Close[1] &&
           Bid < l_ima_192) || (l_ima_256 < l_ima_264 && l_imacd_128 < l_imacd_136 && l_imacd_128 > 0.0))) li_564 = 2;
        if (Predict() == 2.0 || Predict2() == 2.0 && Bid > (l_high_112 + l_low_120) / 2.0 && li_60 && l_istochastic_372 > 55.0) li_564 = 3;
        if (li_564 == 1 || li_564 == 2 || li_564 == 3) {
           if (l_price_552 > 0.0) l_price_552 = Bid + StopLoss * g_point_424;
           if (li_564 == 1) g_price_408 = Bid - gd_416 * g_point_424;
           if (li_564 == 2) g_price_408 = Bid - TakeProfit * g_point_424;
           if (li_564 == 3) g_price_408 = Bid - gd_416 * g_point_424;
           if (li_4 == FALSE) l_ticket_28 = OrderSend(Symbol(), OP_SELL, LotsOptimized(), Bid, g_slippage_432, 0, 0, "Poison Robot", g_magic_256, 0, Red);
           else return (0);
           if (l_ticket_28 > 0) {
              if (OrderSelect(l_ticket_28, SELECT_BY_TICKET, MODE_TRADES)) Print("SELL order opened : ", OrderOpenPrice());
              OrderModify(OrderTicket(), OrderOpenPrice(), l_price_552, g_price_408, 0, CLR_NONE);
           } else Print("Error opening SELL order : ", GetLastError());
           return (0);
        }
        return (0);
     }
     if (gi_276 && AccountEquity() > AccountBalance() * (gd_284 / 100.0 + 1.0)) Close_All();
     for (int l_pos_576 = 0; l_pos_576 < l_count_104; l_pos_576++) {
        li_unused_88 = 0;
        OrderSelect(l_pos_576, SELECT_BY_POS, MODE_TRADES);
        if (OrderType() <= OP_SELL && OrderSymbol() == Symbol() && OrderMagicNumber() == g_magic_256) {
           l_price_92 = OrderStopLoss();
           if (OrderType() == OP_BUY) {
              if (AccountFreeMargin() <= 0.0 || (gi_292 && AccountEquity() + AccountMargin() < AccountBalance() * (1 - gd_236 / 100.0))) {
                 OrderClose(OrderTicket(), OrderLots(), Bid, g_slippage_432, Violet);
                 return (0);
              }
              if (gd_260 <= 0.0) continue;
              if (gd_260 < l_stoplevel_540) gd_260 = l_stoplevel_540;
              if (Bid - OrderOpenPrice() <= g_point_424 * gd_260) continue;
              if (NormalizeDouble(l_price_92, Digits) >= NormalizeDouble(Bid - g_point_424 * gd_260, Digits)) continue;
              l_price_92 = Bid - g_point_424 * gd_260;
              l_price_32 = OrderTakeProfit();
              if (gi_268 && li_56 && l_istochastic_372 < 70.0) l_price_32 = OrderTakeProfit() + gi_272 * g_point_424;
              OrderModify(OrderTicket(), OrderOpenPrice(), l_price_92, l_price_32, 0, Blue);
              return (0);
           }
           if (AccountFreeMargin() <= 0.0 || (gi_292 && AccountEquity() + AccountMargin() < AccountBalance() * (1 - gd_236 / 100.0))) {
              OrderClose(OrderTicket(), OrderLots(), Ask, g_slippage_432, Violet);
              return (0);
           }
           if (gd_260 > 0.0) {
              if (gd_260 < l_stoplevel_540) gd_260 = l_stoplevel_540;
              if (OrderOpenPrice() - Ask > g_point_424 * gd_260) {
                 if (NormalizeDouble(l_price_92, Digits) > NormalizeDouble(Ask + g_point_424 * gd_260, Digits) || NormalizeDouble(l_price_92, Digits) == 0.0) {
                    l_price_92 = Ask + g_point_424 * gd_260;
                    l_price_32 = OrderTakeProfit();
                    if (gi_268 && li_60 && l_istochastic_372 > 30.0) l_price_32 = OrderTakeProfit() - gi_272 * g_point_424;
                    OrderModify(OrderTicket(), OrderOpenPrice(), l_price_92, l_price_32, 0, Red);
                    return (0);
                 }
              }
           }
        }
     }
     return (0);
  }
  Comment("You Have Entered a Demo Key Code - Please Re-Load the expert and use your Live Account Key Code");
  return (0);
}

double LotsOptimized() {
  if (!g_bool_232) return (gd_248);
  if (gd_164 > 0.0) g_maxlot_372 = gd_164;
  double ld_ret_0 = AccountFreeMargin() * gd_236 / 400.0;
  ld_ret_0 = NormalizeDouble(MathFloor(ld_ret_0 / gd_396) * g_lotstep_388, 2);
  if (ld_ret_0 < g_minlot_380) ld_ret_0 = g_minlot_380;
  if (ld_ret_0 > g_maxlot_372) ld_ret_0 = g_maxlot_372;
  return (ld_ret_0);
}

void Close_All() {
  int l_cmd_0;
  bool l_ord_close_4;
  for (int li_8 = OrdersTotal() - 1; li_8 >= 0; li_8--) {
     l_cmd_0 = OrderType();
     l_ord_close_4 = FALSE;
     if (OrderMagicNumber() == g_magic_256 || (OrderMagicNumber() != g_magic_256 && gi_280)) {
        switch (l_cmd_0) {
        case OP_BUY:
           l_ord_close_4 = OrderClose(OrderTicket(), OrderLots(), MarketInfo(OrderSymbol(), MODE_BID), g_slippage_432, Pink);
           break;
        case OP_SELL:
           l_ord_close_4 = OrderClose(OrderTicket(), OrderLots(), MarketInfo(OrderSymbol(), MODE_ASK), g_slippage_432, Pink);
        }
        if (l_ord_close_4 == 0) Sleep(1000);
     }
  }
  Print("Account Profit Reached. All Open Trades Have Been Closed");
}

bool isTradeTime() {
  int l_str2time_0;
  int l_str2time_4;
  int l_datetime_8 = TimeCurrent();
  if (gi_108) {
     l_str2time_0 = StrToTime(gi_112 + ":" + gi_116);
     l_str2time_4 = StrToTime(gi_120 + ":" + gi_124);
     if (l_str2time_0 < l_str2time_4 && l_datetime_8 < l_str2time_0 || l_datetime_8 >= l_str2time_4) return (FALSE);
     if (l_str2time_0 > l_str2time_4 && (l_datetime_8 < l_str2time_0 && l_datetime_8 >= l_str2time_4)) return (FALSE);
  }
  return (TRUE);
}

void closeExpiredOrders() {
  int l_datetime_0;
  int l_ord_total_4;
  if (gi_440) {
     if (gi_108) {
        l_datetime_0 = TimeCurrent();
        l_ord_total_4 = OrdersTotal();
        for (int l_pos_8 = l_ord_total_4 - 1; l_pos_8 >= 0; l_pos_8--) {
           if (!OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES) || OrderSymbol() != Symbol() || OrderMagicNumber() != g_magic_256 || OrderType() > OP_SELL) continue;
           if (l_datetime_0 - OrderOpenTime() > gi_404) OrderClose(OrderTicket(), OrderLots(), d_if(OrderType() == OP_BUY, Bid, Ask), g_slippage_432);
        }
     }
  }
}

double d_if(bool ai_0, double ad_4, double ad_12) {
  if (ai_0) return (ad_4);
  return (ad_12);
}

Link to comment
Share on other sites

  • 3 weeks later...

Re: [Req] Poison Robot

 

After doing some backtesting I started a demo test.. $2000 start.. Manual lots 0.5.. In test this thing makes 2-3 trades a day.. Here is the live stat page you can follow along with..

 

http://pos01.mt4stats.com/

 

 

Hi club50,

 

It seems that the winning rate of 'Poison" is very high... and It closed most of the trades within 3 hours.... :)

I hope this is not a manipulated results. :P (I am sorry as I don't mean to offend.) By the way, is this the results from "educated "Version? Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...