extern string _= "?????_?????????";
extern double MinLots = 0.01; // ?????? ????? ? ????????? 0.01 ??? ???? ???? ????? 0.1 ?? ????????? ??? ? ????? ????? 0.16
extern bool MM =false; // ?? - ??????????????
extern int PeriodATR = 5; //????????? ??R ??? ??????? ????? (?? 1 ???? ????????- ??? ?1 ?????? 5, ??? ?5 ?????? 15 ? ?.?.)
extern int PeriodDeM = 15; //????????? DeMarker ??? ??????? ???? (??? ?1- 15)
int ATR = 4000;
extern string __= "????????? First";
bool UseTrailingStop_H = FALSE; // ???????????? ???????? ????
extern double LotExponent_H = 1.69; // ????????? ????? ? ????? ?? ?????????? ??? ?????? ? ?????????. ?????? ??? 0.1, ?????: 0.15, 0.26, 0.43 ...
double Lots_H; // ?????? ????? ? ????????? 0.01 ??? ???? ???? ????? 0.1 ?? ????????? ??? ? ????? ????? 0.16
int lotdecimal_H = 2; // 2 - ????????? 0.01, 1 - ???? ???? 0.1, 0 - ?????????? ???? 1.0
extern double TakeProfit_H = 10.0; // ???? ??????
extern double PipStep_H = 30.0; // ??? ??????
extern double slip_H = 3.0; // ???????????????
extern int MaxTrades_H = 7; // ??????????? ?????????? ???????????? ???????? ???????
int MagicNumber_H = 111; // ?????
bool UseEquityStop_H = FALSE; // ???????????? ???? ? ?????????
double TotalEquityRisk_H = 20.0; // ???? ? ????????? ?? ????????
bool UseTimeOut_H = FALSE; // ???????????? ???????????? ??????? ?? ???????
double MaxTradeOpenHours_H = 48.0; // ????? ?????? ????? ??????????? ??????? ??????
double Stoploss_H = 500.0;
double TrailStart_H = 15.0;
double TrailStop_H = 5.0;
double PriceTarget_H, StartEquity_H, BuyTarget_H, SellTarget_H ;
double AveragePrice_H, SellLimit_H, BuyLimit_H ;
double LastBuyPrice_H, LastSellPrice_H, Spread_H;
bool flag_H;
string EAName_H = "First";
int timeprev_H = 0, expiration_H;
int NumOfTrades_H = 0;
double iLots_H;
int cnt_H = 0, total_H;
double Stopper_H = 0.0;
bool TradeNow_H = FALSE, LongTrade_H = FALSE, ShortTrade_H = FALSE;
int ticket_H;
bool NewOrdersPlaced_H = FALSE;
double AccountEquityHighAmt_H, PrevEquity_H;
extern string ___= "????????? Second";
bool UseTrailing_G = FALSE;
extern double MultiLotsFactor_G = 1.69;
extern double TakeProfit_G = 10.0;
extern double StepLots_G = 30.0;
double TrailStart_G = 15.0;
double TrailStop_G = 5.0;
extern int MaxCountOrders_G = 7;
bool SafeEquity_G = FALSE;
double SafeEquityRisk_G = 20.0;
extern double slippage_G = 3.0;
int MagicNumber_G = 13579;
double Step_H;
double Step_G;
double Step_HLot;
double Step_GLot;
bool gi_220_G = FALSE;
double gd_224_G = 48.0;
double g_pips_232_G = 500.0;
double gd_240_G = 0.0;
bool gi_248_G = TRUE;
bool gi_252_G = FALSE;
int gi_256_G = 1;
double g_price_260_G;
double gd_268_G;
double gd_unused_276_G;
double gd_unused_284_G;
double g_price_292_G;
double g_bid_300_G;
double g_ask_308_G;
double gd_316_G;
double gd_324_G;
double gd_340_G;
bool gi_348_G;
string gs_352_G = "Second";
int g_time_360_G = 0;
int gi_364_G;
int gi_368_G = 0; // ? ??????
double gd_372_G;
int g_pos_380_G = 0; //cnt_H
int gi_384_G;
double gd_388_G = 0.0;
bool gi_396_G = FALSE;
bool gi_400_G = FALSE;
bool gi_404_G = FALSE;
int gi_408_G;
bool gi_412_G = FALSE;
int g_datetime_416_G = 0;
int g_datetime_420_G = 0;
double gd_424_G;
double gd_432_G;
double gd_308;
int g_timeframe_492 = PERIOD_M1;
int g_timeframe_496 = PERIOD_M5;
int g_timeframe_500 = PERIOD_M15;
int g_timeframe_504 = PERIOD_M30;
int g_timeframe_508 = PERIOD_H1;
int g_timeframe_512 = PERIOD_H4;
int g_timeframe_516 = PERIOD_D1;
bool g_corner_528 = TRUE;
int gi_532 = 0;
int gi_536 = 10;
int g_window_540 = 0;
bool gi_552 = TRUE;
bool gi_556 = TRUE;
bool gi_560 = FALSE;
int g_color_564 = Gray;
int g_color_568 = Gray;
int g_color_572 = Gray;
int g_color_576 = DarkOrange;
int g_color_580 = DarkOrange;
int gi_584 = 65280;
int gi_588 = 17919;
int gi_592 = 65280;
int gi_596 = 17919;
int gi_608 = 65280;
int gi_612 = 255;
int gi_616 = 42495;
int g_period_628 = 8;
int g_period_632 = 17;
int g_period_636 = 9;
int g_applied_price_640 = PRICE_CLOSE;
int gi_652 = 65280;
int gi_656 = 4678655;
int gi_660 = 32768;
int gi_664 = 255;
string gs_unused_668 = "<<<< STR Indicator Settings >>>>>>>>>>>>>";
string gs_unused_676 = "<<<< RSI Settings >>>>>>>>>>>>>";
int g_period_684 = 9;
int g_applied_price_688 = PRICE_CLOSE;
string gs_unused_692 = "<<<< CCI Settings >>>>>>>>>>>>>>";
int g_period_700 = 13;
int g_applied_price_704 = PRICE_CLOSE;
string gs_unused_708 = "<<<< STOCH Settings >>>>>>>>>>>";
int g_period_716 = 5;
int g_period_720 = 3;
int g_slowing_724 = 3;
int g_ma_method_728 = MODE_EMA;
string gs_unused_732 = "<<<< STR Colors >>>>>>>>>>>>>>>>";
int gi_740 = 65280;
int gi_744 = 255;
int gi_748 = 42495;
string gs_unused_752 = "<<<< MA Settings >>>>>>>>>>>>>>";
int g_period_760 = 5;
int g_period_764 = 9;
int g_ma_method_768 = MODE_EMA;
int g_applied_price_772 = PRICE_CLOSE;
string gs_unused_776 = "<<<< MA Colors >>>>>>>>>>>>>>";
int gi_784 = 65280;
int gi_788 = 255;
bool gi_792;
bool gi_796;
string gs_800;
double gd_808;
double g_acc_number_816;
double g_str2dbl_824;
double g_str_len_832;
double gd_848;
double gd_856;
double g_period_864;
double g_period_872;
double g_period_880;
double gd_888;
double gd_896;
double gd_904;
double gd_912;
double g_shift_920;
double gd_928;
double gd_936;
double gd_960;
double gd_968;
int g_bool_976;
double gd_980;
bool g_bool_988;
int gi_992;
string txt,txt1;
int init()
{
// код доступен только после оплаты
}
int deinit()
{
ObjectDelete("cja");
ObjectDelete("Signalprice");
ObjectDelete("SIG_BARS_TF1");
ObjectDelete("SIG_BARS_TF2");
ObjectDelete("SIG_BARS_TF3");
ObjectDelete("SIG_BARS_TF4");
ObjectDelete("SIG_BARS_TF5");
ObjectDelete("SIG_BARS_TF6");
ObjectDelete("SIG_BARS_TF7");
ObjectDelete("SSignalMACD_TEXT");
ObjectDelete("SSignalMACDM1");
ObjectDelete("SSignalMACDM5");
ObjectDelete("SSignalMACDM15");
ObjectDelete("SSignalMACDM30");
ObjectDelete("SSignalMACDH1");
ObjectDelete("SSignalMACDH4");
ObjectDelete("SSignalMACDD1");
ObjectDelete("SSignalSTR_TEXT");
ObjectDelete("SignalSTRM1");
ObjectDelete("SignalSTRM5");
ObjectDelete("SignalSTRM15");
ObjectDelete("SignalSTRM30");
ObjectDelete("SignalSTRH1");
ObjectDelete("SignalSTRH4");
ObjectDelete("SignalSTRD1");
ObjectDelete("SignalEMA_TEXT");
ObjectDelete("SignalEMAM1");
ObjectDelete("SignalEMAM5");
ObjectDelete("SignalEMAM15");
ObjectDelete("SignalEMAM30");
ObjectDelete("SignalEMAH1");
ObjectDelete("SignalEMAH4");
ObjectDelete("SignalEMAD1");
ObjectDelete("SIG_DETAIL_1");
ObjectDelete("SIG_DETAIL_2");
ObjectDelete("SIG_DETAIL_3");
ObjectDelete("SIG_DETAIL_4");
ObjectDelete("SIG_DETAIL_5");
ObjectDelete("SIG_DETAIL_6");
ObjectDelete("SIG_DETAIL_7");
ObjectDelete("SIG_DETAIL_8");
ObjectDelete("Lable");
ObjectDelete("Lable1");
return(0);
}
int start()
{
// код доступен только после оплаты
}
{
int li_0;
int li_4;
int li_8;
int li_12;
int li_16;
int li_20;
int li_24;
color l_color_28;
color l_color_32;
color l_color_36;
color l_color_40;
color l_color_44;
color l_color_48;
color l_color_52;
string ls_unused_56;
color l_color_64;
color l_color_68;
color l_color_72;
color l_color_76;
color l_color_80;
color l_color_84;
color l_color_88;
color l_color_92;
string ls_unused_96;
color l_color_104;
color l_color_108;
double ld_968;
double l_istochastic_976;
double l_istochastic_984;
double l_istochastic_992;
double l_istochastic_1000;
double l_ima_1008;
double l_ima_1016;
double l_ima_1024;
double l_iclose_1032;
double l_iclose_1040;
double l_iclose_1048;
double l_iclose_1056;
double l_iopen_1064;
double l_ima_1072;
double l_ima_1080;
int li_1088;
double ld_1092;
double l_ord_lots_1100;
double l_ord_lots_1108;
double ld_1116;
int l_ind_counted_112 = IndicatorCounted();
string l_text_116 = "";
string l_text_124 = "";
string l_text_132 = "";
string l_text_140 = "";
string l_text_148 = "";
string l_text_156 = "";
string l_text_164 = "";
if (g_timeframe_492 == PERIOD_M1) l_text_116 = "M1";
if (g_timeframe_492 == PERIOD_M5) l_text_116 = "M5";
if (g_timeframe_492 == PERIOD_M15) l_text_116 = "M15";
if (g_timeframe_492 == PERIOD_M30) l_text_116 = "M30";
if (g_timeframe_492 == PERIOD_H1) l_text_116 = "H1";
if (g_timeframe_492 == PERIOD_H4) l_text_116 = "H4";
if (g_timeframe_492 == PERIOD_D1) l_text_116 = "D1";
if (g_timeframe_492 == PERIOD_W1) l_text_116 = "W1";
if (g_timeframe_492 == PERIOD_MN1) l_text_116 = "MN";
if (g_timeframe_496 == PERIOD_M1) l_text_124 = "M1";
if (g_timeframe_496 == PERIOD_M5) l_text_124 = "M5";
if (g_timeframe_496 == PERIOD_M15) l_text_124 = "M15";
if (g_timeframe_496 == PERIOD_M30) l_text_124 = "M30";
if (g_timeframe_496 == PERIOD_H1) l_text_124 = "H1";
if (g_timeframe_496 == PERIOD_H4) l_text_124 = "H4";
if (g_timeframe_496 == PERIOD_D1) l_text_124 = "D1";
if (g_timeframe_496 == PERIOD_W1) l_text_124 = "W1";
if (g_timeframe_496 == PERIOD_MN1) l_text_124 = "MN";
if (g_timeframe_500 == PERIOD_M1) l_text_132 = "M1";
if (g_timeframe_500 == PERIOD_M5) l_text_132 = "M5";
if (g_timeframe_500 == PERIOD_M15) l_text_132 = "M15";
if (g_timeframe_500 == PERIOD_M30) l_text_132 = "M30";
if (g_timeframe_500 == PERIOD_H1) l_text_132 = "H1";
if (g_timeframe_500 == PERIOD_H4) l_text_132 = "H4";
if (g_timeframe_500 == PERIOD_D1) l_text_132 = "D1";
if (g_timeframe_500 == PERIOD_W1) l_text_132 = "W1";
if (g_timeframe_500 == PERIOD_MN1) l_text_132 = "MN";
if (g_timeframe_504 == PERIOD_M1) l_text_140 = "M1";
if (g_timeframe_504 == PERIOD_M5) l_text_140 = "M5";
if (g_timeframe_504 == PERIOD_M15) l_text_140 = "M15";
if (g_timeframe_504 == PERIOD_M30) l_text_140 = "M30";
if (g_timeframe_504 == PERIOD_H1) l_text_140 = "H1";
if (g_timeframe_504 == PERIOD_H4) l_text_140 = "H4";
if (g_timeframe_504 == PERIOD_D1) l_text_140 = "D1";
if (g_timeframe_504 == PERIOD_W1) l_text_140 = "W1";
if (g_timeframe_504 == PERIOD_MN1) l_text_140 = "MN";
if (g_timeframe_508 == PERIOD_M1) l_text_148 = "M1";
if (g_timeframe_508 == PERIOD_M5) l_text_148 = "M5";
if (g_timeframe_508 == PERIOD_M15) l_text_148 = "M15";
if (g_timeframe_508 == PERIOD_M30) l_text_148 = "M30";
if (g_timeframe_508 == PERIOD_H1) l_text_148 = "H1";
if (g_timeframe_508 == PERIOD_H4) l_text_148 = "H4";
if (g_timeframe_508 == PERIOD_D1) l_text_148 = "D1";
if (g_timeframe_508 == PERIOD_W1) l_text_148 = "W1";
if (g_timeframe_508 == PERIOD_MN1) l_text_148 = "MN";
if (g_timeframe_512 == PERIOD_M1) l_text_156 = "M1";
if (g_timeframe_512 == PERIOD_M5) l_text_156 = "M5";
if (g_timeframe_512 == PERIOD_M15) l_text_156 = "M15";
if (g_timeframe_512 == PERIOD_M30) l_text_156 = "M30";
if (g_timeframe_512 == PERIOD_H1) l_text_156 = "H1";
if (g_timeframe_512 == PERIOD_H4) l_text_156 = "H4";
if (g_timeframe_512 == PERIOD_D1) l_text_156 = "D1";
if (g_timeframe_512 == PERIOD_W1) l_text_156 = "W1";
if (g_timeframe_512 == PERIOD_MN1) l_text_156 = "MN";
if (g_timeframe_516 == PERIOD_M1) l_text_164 = "M1";
if (g_timeframe_516 == PERIOD_M5) l_text_164 = "M5";
if (g_timeframe_516 == PERIOD_M15) l_text_164 = "M15";
if (g_timeframe_516 == PERIOD_M30) l_text_164 = "M30";
if (g_timeframe_516 == PERIOD_H1) l_text_164 = "H1";
if (g_timeframe_516 == PERIOD_H4) l_text_164 = "H4";
if (g_timeframe_516 == PERIOD_D1) l_text_164 = "D1";
if (g_timeframe_516 == PERIOD_W1) l_text_164 = "W1";
if (g_timeframe_516 == PERIOD_MN1) l_text_164 = "MN";
if (g_timeframe_492 == PERIOD_M15) li_0 = -2;
if (g_timeframe_492 == PERIOD_M30) li_0 = -2;
if (g_timeframe_496 == PERIOD_M15) li_4 = -2;
if (g_timeframe_496 == PERIOD_M30) li_4 = -2;
if (g_timeframe_500 == PERIOD_M15) li_8 = -2;
if (g_timeframe_500 == PERIOD_M30) li_8 = -2;
if (g_timeframe_504 == PERIOD_M15) li_12 = -2;
if (g_timeframe_504 == PERIOD_M30) li_12 = -2;
if (g_timeframe_508 == PERIOD_M15) li_16 = -2;
if (g_timeframe_508 == PERIOD_M30) li_16 = -2;
if (g_timeframe_512 == PERIOD_M15) li_20 = -2;
if (g_timeframe_512 == PERIOD_M30) li_20 = -2;
if (g_timeframe_516 == PERIOD_M15) li_24 = -2;
if (g_timeframe_512 == PERIOD_M30) li_24 = -2;
if (gi_532 < 0) return (0);
ObjectDelete("SIG_BARS_TF1");
ObjectCreate("SIG_BARS_TF1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF1", l_text_116, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF1", OBJPROP_XDISTANCE, gi_536 + 134 + li_0);
ObjectSet("SIG_BARS_TF1", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF2");
ObjectCreate("SIG_BARS_TF2", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF2", l_text_124, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF2", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF2", OBJPROP_XDISTANCE, gi_536 + 114 + li_4);
ObjectSet("SIG_BARS_TF2", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF3");
ObjectCreate("SIG_BARS_TF3", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF3", l_text_132, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF3", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF3", OBJPROP_XDISTANCE, gi_536 + 94 + li_8);
ObjectSet("SIG_BARS_TF3", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF4");
ObjectCreate("SIG_BARS_TF4", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF4", l_text_140, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF4", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF4", OBJPROP_XDISTANCE, gi_536 + 74 + li_12);
ObjectSet("SIG_BARS_TF4", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF5");
ObjectCreate("SIG_BARS_TF5", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF5", l_text_148, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF5", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF5", OBJPROP_XDISTANCE, gi_536 + 54 + li_16);
ObjectSet("SIG_BARS_TF5", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF6");
ObjectCreate("SIG_BARS_TF6", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF6", l_text_156, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF6", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF6", OBJPROP_XDISTANCE, gi_536 + 34 + li_20);
ObjectSet("SIG_BARS_TF6", OBJPROP_YDISTANCE, gi_532 + 25);
ObjectDelete("SIG_BARS_TF7");
ObjectCreate("SIG_BARS_TF7", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SIG_BARS_TF7", l_text_164, 7, "Arial Bold", g_color_564);
ObjectSet("SIG_BARS_TF7", OBJPROP_CORNER, g_corner_528);
ObjectSet("SIG_BARS_TF7", OBJPROP_XDISTANCE, gi_536 + 14 + li_24);
ObjectSet("SIG_BARS_TF7", OBJPROP_YDISTANCE, gi_532 + 25);
string l_text_172 = "";
string l_text_180 = "";
string l_text_188 = "";
string l_text_196 = "";
string l_text_204 = "";
string l_text_212 = "";
string l_text_220 = "";
string ls_unused_228 = "";
string ls_unused_236 = "";
double l_imacd_244 = iMACD(NULL, g_timeframe_492, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_252 = iMACD(NULL, g_timeframe_492, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_260 = iMACD(NULL, g_timeframe_496, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_268 = iMACD(NULL, g_timeframe_496, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_276 = iMACD(NULL, g_timeframe_500, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_284 = iMACD(NULL, g_timeframe_500, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_292 = iMACD(NULL, g_timeframe_504, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_300 = iMACD(NULL, g_timeframe_504, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_308 = iMACD(NULL, g_timeframe_508, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_316 = iMACD(NULL, g_timeframe_508, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_324 = iMACD(NULL, g_timeframe_512, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_332 = iMACD(NULL, g_timeframe_512, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
double l_imacd_340 = iMACD(NULL, g_timeframe_516, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_MAIN, 0);
double l_imacd_348 = iMACD(NULL, g_timeframe_516, g_period_628, g_period_632, g_period_636, g_applied_price_640, MODE_SIGNAL, 0);
if (l_imacd_244 > l_imacd_252) {
l_text_196 = "-";
l_color_40 = gi_660;
}
if (l_imacd_244 <= l_imacd_252) {
l_text_196 = "-";
l_color_40 = gi_656;
}
if (l_imacd_244 > l_imacd_252 && l_imacd_244 > 0.0) {
l_text_196 = "-";
l_color_40 = gi_652;
}
if (l_imacd_244 <= l_imacd_252 && l_imacd_244 < 0.0) {
l_text_196 = "-";
l_color_40 = gi_664;
}
if (l_imacd_260 > l_imacd_268) {
l_text_204 = "-";
l_color_44 = gi_660;
}
if (l_imacd_260 <= l_imacd_268) {
l_text_204 = "-";
l_color_44 = gi_656;
}
if (l_imacd_260 > l_imacd_268 && l_imacd_260 > 0.0) {
l_text_204 = "-";
l_color_44 = gi_652;
}
if (l_imacd_260 <= l_imacd_268 && l_imacd_260 < 0.0) {
l_text_204 = "-";
l_color_44 = gi_664;
}
if (l_imacd_276 > l_imacd_284) {
l_text_212 = "-";
l_color_48 = gi_660;
}
if (l_imacd_276 <= l_imacd_284) {
l_text_212 = "-";
l_color_48 = gi_656;
}
if (l_imacd_276 > l_imacd_284 && l_imacd_276 > 0.0) {
l_text_212 = "-";
l_color_48 = gi_652;
}
if (l_imacd_276 <= l_imacd_284 && l_imacd_276 < 0.0) {
l_text_212 = "-";
l_color_48 = gi_664;
}
if (l_imacd_292 > l_imacd_300) {
l_text_220 = "-";
l_color_52 = gi_660;
}
if (l_imacd_292 <= l_imacd_300) {
l_text_220 = "-";
l_color_52 = gi_656;
}
if (l_imacd_292 > l_imacd_300 && l_imacd_292 > 0.0) {
l_text_220 = "-";
l_color_52 = gi_652;
}
if (l_imacd_292 <= l_imacd_300 && l_imacd_292 < 0.0) {
l_text_220 = "-";
l_color_52 = gi_664;
}
if (l_imacd_308 > l_imacd_316) {
l_text_180 = "-";
l_color_32 = gi_660;
}
if (l_imacd_308 <= l_imacd_316) {
l_text_180 = "-";
l_color_32 = gi_656;
}
if (l_imacd_308 > l_imacd_316 && l_imacd_308 > 0.0) {
l_text_180 = "-";
l_color_32 = gi_652;
}
if (l_imacd_308 <= l_imacd_316 && l_imacd_308 < 0.0) {
l_text_180 = "-";
l_color_32 = gi_664;
}
if (l_imacd_324 > l_imacd_332) {
l_text_188 = "-";
l_color_36 = gi_660;
}
if (l_imacd_324 <= l_imacd_332) {
l_text_188 = "-";
l_color_36 = gi_656;
}
if (l_imacd_324 > l_imacd_332 && l_imacd_324 > 0.0) {
l_text_188 = "-";
l_color_36 = gi_652;
}
if (l_imacd_324 <= l_imacd_332 && l_imacd_324 < 0.0) {
l_text_188 = "-";
l_color_36 = gi_664;
}
if (l_imacd_340 > l_imacd_348) {
l_text_172 = "-";
l_color_28 = gi_660;
}
if (l_imacd_340 <= l_imacd_348) {
l_text_172 = "-";
l_color_28 = gi_656;
}
if (l_imacd_340 > l_imacd_348 && l_imacd_340 > 0.0) {
l_text_172 = "-";
l_color_28 = gi_652;
}
if (l_imacd_340 <= l_imacd_348 && l_imacd_340 < 0.0) {
l_text_172 = "-";
l_color_28 = gi_664;
}
ObjectDelete("SSignalMACD_TEXT");
ObjectCreate("SSignalMACD_TEXT", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACD_TEXT", "MACD", 6, "Tahoma Narrow", g_color_568);
ObjectSet("SSignalMACD_TEXT", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACD_TEXT", OBJPROP_XDISTANCE, gi_536 + 153);
ObjectSet("SSignalMACD_TEXT", OBJPROP_YDISTANCE, gi_532 + 35);
ObjectDelete("SSignalMACDM1");
ObjectCreate("SSignalMACDM1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDM1", l_text_196, 45, "Tahoma Narrow", l_color_40);
ObjectSet("SSignalMACDM1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDM1", OBJPROP_XDISTANCE, gi_536 + 130);
ObjectSet("SSignalMACDM1", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDM5");
ObjectCreate("SSignalMACDM5", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDM5", l_text_204, 45, "Tahoma Narrow", l_color_44);
ObjectSet("SSignalMACDM5", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDM5", OBJPROP_XDISTANCE, gi_536 + 110);
ObjectSet("SSignalMACDM5", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDM15");
ObjectCreate("SSignalMACDM15", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDM15", l_text_212, 45, "Tahoma Narrow", l_color_48);
ObjectSet("SSignalMACDM15", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDM15", OBJPROP_XDISTANCE, gi_536 + 90);
ObjectSet("SSignalMACDM15", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDM30");
ObjectCreate("SSignalMACDM30", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDM30", l_text_220, 45, "Tahoma Narrow", l_color_52);
ObjectSet("SSignalMACDM30", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDM30", OBJPROP_XDISTANCE, gi_536 + 70);
ObjectSet("SSignalMACDM30", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDH1");
ObjectCreate("SSignalMACDH1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDH1", l_text_180, 45, "Tahoma Narrow", l_color_32);
ObjectSet("SSignalMACDH1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDH1", OBJPROP_XDISTANCE, gi_536 + 50);
ObjectSet("SSignalMACDH1", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDH4");
ObjectCreate("SSignalMACDH4", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDH4", l_text_188, 45, "Tahoma Narrow", l_color_36);
ObjectSet("SSignalMACDH4", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDH4", OBJPROP_XDISTANCE, gi_536 + 30);
ObjectSet("SSignalMACDH4", OBJPROP_YDISTANCE, gi_532 + 2);
ObjectDelete("SSignalMACDD1");
ObjectCreate("SSignalMACDD1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalMACDD1", l_text_172, 45, "Tahoma Narrow", l_color_28);
ObjectSet("SSignalMACDD1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalMACDD1", OBJPROP_XDISTANCE, gi_536 + 10);
ObjectSet("SSignalMACDD1", OBJPROP_YDISTANCE, gi_532 + 2);
double l_irsi_356 = iRSI(NULL, g_timeframe_516, g_period_684, g_applied_price_688, 0);
double l_irsi_364 = iRSI(NULL, g_timeframe_512, g_period_684, g_applied_price_688, 0);
double l_irsi_372 = iRSI(NULL, g_timeframe_508, g_period_684, g_applied_price_688, 0);
double l_irsi_380 = iRSI(NULL, g_timeframe_504, g_period_684, g_applied_price_688, 0);
double l_irsi_388 = iRSI(NULL, g_timeframe_500, g_period_684, g_applied_price_688, 0);
double l_irsi_396 = iRSI(NULL, g_timeframe_496, g_period_684, g_applied_price_688, 0);
double l_irsi_404 = iRSI(NULL, g_timeframe_492, g_period_684, g_applied_price_688, 0);
double l_istochastic_412 = iStochastic(NULL, g_timeframe_516, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_420 = iStochastic(NULL, g_timeframe_512, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_428 = iStochastic(NULL, g_timeframe_508, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_436 = iStochastic(NULL, g_timeframe_504, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_444 = iStochastic(NULL, g_timeframe_500, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_452 = iStochastic(NULL, g_timeframe_496, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_istochastic_460 = iStochastic(NULL, g_timeframe_492, g_period_716, g_period_720, g_slowing_724, g_ma_method_728, 0, MODE_MAIN, 0);
double l_icci_468 = iCCI(NULL, g_timeframe_516, g_period_700, g_applied_price_704, 0);
double l_icci_476 = iCCI(NULL, g_timeframe_512, g_period_700, g_applied_price_704, 0);
double l_icci_484 = iCCI(NULL, g_timeframe_508, g_period_700, g_applied_price_704, 0);
double l_icci_492 = iCCI(NULL, g_timeframe_504, g_period_700, g_applied_price_704, 0);
double l_icci_500 = iCCI(NULL, g_timeframe_500, g_period_700, g_applied_price_704, 0);
double l_icci_508 = iCCI(NULL, g_timeframe_496, g_period_700, g_applied_price_704, 0);
double l_icci_516 = iCCI(NULL, g_timeframe_492, g_period_700, g_applied_price_704, 0);
string l_text_524 = "";
string l_text_532 = "";
string l_text_540 = "";
string l_text_548 = "";
string l_text_556 = "";
string l_text_564 = "";
string l_text_572 = "";
string ls_unused_580 = "";
string ls_unused_588 = "";
l_text_572 = "-";
color l_color_596 = gi_748;
l_text_556 = "-";
color l_color_600 = gi_748;
l_text_524 = "-";
color l_color_604 = gi_748;
l_text_564 = "-";
color l_color_608 = gi_748;
l_text_532 = "-";
color l_color_612 = gi_748;
l_text_540 = "-";
color l_color_616 = gi_748;
l_text_548 = "-";
color l_color_620 = gi_748;
if (l_irsi_356 > 50.0 && l_istochastic_412 > 40.0 && l_icci_468 > 0.0) {
l_text_572 = "-";
l_color_596 = gi_740;
}
if (l_irsi_364 > 50.0 && l_istochastic_420 > 40.0 && l_icci_476 > 0.0) {
l_text_556 = "-";
l_color_600 = gi_740;
}
if (l_irsi_372 > 50.0 && l_istochastic_428 > 40.0 && l_icci_484 > 0.0) {
l_text_524 = "-";
l_color_604 = gi_740;
}
if (l_irsi_380 > 50.0 && l_istochastic_436 > 40.0 && l_icci_492 > 0.0) {
l_text_564 = "-";
l_color_608 = gi_740;
}
if (l_irsi_388 > 50.0 && l_istochastic_444 > 40.0 && l_icci_500 > 0.0) {
l_text_532 = "-";
l_color_612 = gi_740;
}
if (l_irsi_396 > 50.0 && l_istochastic_452 > 40.0 && l_icci_508 > 0.0) {
l_text_540 = "-";
l_color_616 = gi_740;
}
if (l_irsi_404 > 50.0 && l_istochastic_460 > 40.0 && l_icci_516 > 0.0) {
l_text_548 = "-";
l_color_620 = gi_740;
}
if (l_irsi_356 < 50.0 && l_istochastic_412 < 60.0 && l_icci_468 < 0.0) {
l_text_572 = "-";
l_color_596 = gi_744;
}
if (l_irsi_364 < 50.0 && l_istochastic_420 < 60.0 && l_icci_476 < 0.0) {
l_text_556 = "-";
l_color_600 = gi_744;
}
if (l_irsi_372 < 50.0 && l_istochastic_428 < 60.0 && l_icci_484 < 0.0) {
l_text_524 = "-";
l_color_604 = gi_744;
}
if (l_irsi_380 < 50.0 && l_istochastic_436 < 60.0 && l_icci_492 < 0.0) {
l_text_564 = "-";
l_color_608 = gi_744;
}
if (l_irsi_388 < 50.0 && l_istochastic_444 < 60.0 && l_icci_500 < 0.0) {
l_text_532 = "-";
l_color_612 = gi_744;
}
if (l_irsi_396 < 50.0 && l_istochastic_452 < 60.0 && l_icci_508 < 0.0) {
l_text_540 = "-";
l_color_616 = gi_744;
}
if (l_irsi_404 < 50.0 && l_istochastic_460 < 60.0 && l_icci_516 < 0.0) {
l_text_548 = "-";
l_color_620 = gi_744;
}
ObjectDelete("SSignalSTR_TEXT");
ObjectCreate("SSignalSTR_TEXT", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SSignalSTR_TEXT", "STR", 6, "Tahoma Narrow", g_color_568);
ObjectSet("SSignalSTR_TEXT", OBJPROP_CORNER, g_corner_528);
ObjectSet("SSignalSTR_TEXT", OBJPROP_XDISTANCE, gi_536 + 153);
ObjectSet("SSignalSTR_TEXT", OBJPROP_YDISTANCE, gi_532 + 43);
ObjectDelete("SignalSTRM1");
ObjectCreate("SignalSTRM1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRM1", l_text_548, 45, "Tahoma Narrow", l_color_620);
ObjectSet("SignalSTRM1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRM1", OBJPROP_XDISTANCE, gi_536 + 130);
ObjectSet("SignalSTRM1", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRM5");
ObjectCreate("SignalSTRM5", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRM5", l_text_540, 45, "Tahoma Narrow", l_color_616);
ObjectSet("SignalSTRM5", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRM5", OBJPROP_XDISTANCE, gi_536 + 110);
ObjectSet("SignalSTRM5", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRM15");
ObjectCreate("SignalSTRM15", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRM15", l_text_532, 45, "Tahoma Narrow", l_color_612);
ObjectSet("SignalSTRM15", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRM15", OBJPROP_XDISTANCE, gi_536 + 90);
ObjectSet("SignalSTRM15", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRM30");
ObjectCreate("SignalSTRM30", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRM30", l_text_564, 45, "Tahoma Narrow", l_color_608);
ObjectSet("SignalSTRM30", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRM30", OBJPROP_XDISTANCE, gi_536 + 70);
ObjectSet("SignalSTRM30", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRH1");
ObjectCreate("SignalSTRH1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRH1", l_text_524, 45, "Tahoma Narrow", l_color_604);
ObjectSet("SignalSTRH1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRH1", OBJPROP_XDISTANCE, gi_536 + 50);
ObjectSet("SignalSTRH1", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRH4");
ObjectCreate("SignalSTRH4", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRH4", l_text_556, 45, "Tahoma Narrow", l_color_600);
ObjectSet("SignalSTRH4", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRH4", OBJPROP_XDISTANCE, gi_536 + 30);
ObjectSet("SignalSTRH4", OBJPROP_YDISTANCE, gi_532 + 10);
ObjectDelete("SignalSTRD1");
ObjectCreate("SignalSTRD1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalSTRD1", l_text_572, 45, "Tahoma Narrow", l_color_596);
ObjectSet("SignalSTRD1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalSTRD1", OBJPROP_XDISTANCE, gi_536 + 10);
ObjectSet("SignalSTRD1", OBJPROP_YDISTANCE, gi_532 + 10);
double l_ima_624 = iMA(Symbol(), g_timeframe_492, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_632 = iMA(Symbol(), g_timeframe_492, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_640 = iMA(Symbol(), g_timeframe_496, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_648 = iMA(Symbol(), g_timeframe_496, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_656 = iMA(Symbol(), g_timeframe_500, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_664 = iMA(Symbol(), g_timeframe_500, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_672 = iMA(Symbol(), g_timeframe_504, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_680 = iMA(Symbol(), g_timeframe_504, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_688 = iMA(Symbol(), g_timeframe_508, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_696 = iMA(Symbol(), g_timeframe_508, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_704 = iMA(Symbol(), g_timeframe_512, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_712 = iMA(Symbol(), g_timeframe_512, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_720 = iMA(Symbol(), g_timeframe_516, g_period_760, 0, g_ma_method_768, g_applied_price_772, 0);
double l_ima_728 = iMA(Symbol(), g_timeframe_516, g_period_764, 0, g_ma_method_768, g_applied_price_772, 0);
string l_text_736 = "";
string l_text_744 = "";
string l_text_752 = "";
string l_text_760 = "";
string l_text_768 = "";
string l_text_776 = "";
string l_text_784 = "";
string ls_unused_792 = "";
string ls_unused_800 = "";
if (l_ima_624 > l_ima_632) {
l_text_736 = "-";
l_color_64 = gi_784;
}
if (l_ima_624 <= l_ima_632) {
l_text_736 = "-";
l_color_64 = gi_788;
}
if (l_ima_640 > l_ima_648) {
l_text_744 = "-";
l_color_68 = gi_784;
}
if (l_ima_640 <= l_ima_648) {
l_text_744 = "-";
l_color_68 = gi_788;
}
if (l_ima_656 > l_ima_664) {
l_text_752 = "-";
l_color_72 = gi_784;
}
if (l_ima_656 <= l_ima_664) {
l_text_752 = "-";
l_color_72 = gi_788;
}
if (l_ima_672 > l_ima_680) {
l_text_760 = "-";
l_color_76 = gi_784;
}
if (l_ima_672 <= l_ima_680) {
l_text_760 = "-";
l_color_76 = gi_788;
}
if (l_ima_688 > l_ima_696) {
l_text_768 = "-";
l_color_80 = gi_784;
}
if (l_ima_688 <= l_ima_696) {
l_text_768 = "-";
l_color_80 = gi_788;
}
if (l_ima_704 > l_ima_712) {
l_text_776 = "-";
l_color_84 = gi_784;
}
if (l_ima_704 <= l_ima_712) {
l_text_776 = "-";
l_color_84 = gi_788;
}
if (l_ima_720 > l_ima_728) {
l_text_784 = "-";
l_color_88 = gi_784;
}
if (l_ima_720 <= l_ima_728) {
l_text_784 = "-";
l_color_88 = gi_788;
}
ObjectDelete("SignalEMA_TEXT");
ObjectCreate("SignalEMA_TEXT", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMA_TEXT", "EMA", 6, "Tahoma Narrow", g_color_568);
ObjectSet("SignalEMA_TEXT", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMA_TEXT", OBJPROP_XDISTANCE, gi_536 + 153);
ObjectSet("SignalEMA_TEXT", OBJPROP_YDISTANCE, gi_532 + 51);
ObjectDelete("SignalEMAM1");
ObjectCreate("SignalEMAM1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAM1", l_text_736, 45, "Tahoma Narrow", l_color_64);
ObjectSet("SignalEMAM1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAM1", OBJPROP_XDISTANCE, gi_536 + 130);
ObjectSet("SignalEMAM1", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAM5");
ObjectCreate("SignalEMAM5", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAM5", l_text_744, 45, "Tahoma Narrow", l_color_68);
ObjectSet("SignalEMAM5", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAM5", OBJPROP_XDISTANCE, gi_536 + 110);
ObjectSet("SignalEMAM5", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAM15");
ObjectCreate("SignalEMAM15", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAM15", l_text_752, 45, "Tahoma Narrow", l_color_72);
ObjectSet("SignalEMAM15", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAM15", OBJPROP_XDISTANCE, gi_536 + 90);
ObjectSet("SignalEMAM15", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAM30");
ObjectCreate("SignalEMAM30", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAM30", l_text_760, 45, "Tahoma Narrow", l_color_76);
ObjectSet("SignalEMAM30", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAM30", OBJPROP_XDISTANCE, gi_536 + 70);
ObjectSet("SignalEMAM30", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAH1");
ObjectCreate("SignalEMAH1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAH1", l_text_768, 45, "Tahoma Narrow", l_color_80);
ObjectSet("SignalEMAH1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAH1", OBJPROP_XDISTANCE, gi_536 + 50);
ObjectSet("SignalEMAH1", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAH4");
ObjectCreate("SignalEMAH4", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAH4", l_text_776, 45, "Tahoma Narrow", l_color_84);
ObjectSet("SignalEMAH4", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAH4", OBJPROP_XDISTANCE, gi_536 + 30);
ObjectSet("SignalEMAH4", OBJPROP_YDISTANCE, gi_532 + 18);
ObjectDelete("SignalEMAD1");
ObjectCreate("SignalEMAD1", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("SignalEMAD1", l_text_784, 45, "Tahoma Narrow", l_color_88);
ObjectSet("SignalEMAD1", OBJPROP_CORNER, g_corner_528);
ObjectSet("SignalEMAD1", OBJPROP_XDISTANCE, gi_536 + 10);
ObjectSet("SignalEMAD1", OBJPROP_YDISTANCE, gi_532 + 18);
double ld_808 = NormalizeDouble(MarketInfo(Symbol(), MODE_BID), Digits);
double l_ima_816 = iMA(Symbol(), PERIOD_M1, 1, 0, MODE_EMA, PRICE_CLOSE, 1);
string ls_unused_824 = "";
if (l_ima_816 > ld_808) {
ls_unused_824 = "";
l_color_92 = gi_612;
}
if (l_ima_816 < ld_808) {
ls_unused_824 = "";
l_color_92 = gi_608;
}
if (l_ima_816 == ld_808) {
ls_unused_824 = "";
l_color_92 = gi_616;
}
ObjectDelete("cja");
ObjectCreate("cja", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("cja", "cja", 8, "Tahoma Narrow", DimGray);
ObjectSet("cja", OBJPROP_CORNER, g_corner_528);
ObjectSet("cja", OBJPROP_XDISTANCE, gi_536 + 153);
ObjectSet("cja", OBJPROP_YDISTANCE, gi_532 + 23);
if (gi_560 == FALSE) {
if (gi_552 == TRUE) {
ObjectDelete("Signalprice");
ObjectCreate("Signalprice", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("Signalprice", DoubleToStr(ld_808, Digits), 35, "Arial", l_color_92);
ObjectSet("Signalprice", OBJPROP_CORNER, g_corner_528);
ObjectSet("Signalprice", OBJPROP_XDISTANCE, gi_536 + 10);
ObjectSet("Signalprice", OBJPROP_YDISTANCE, gi_532 + 56);
}
}
if (gi_560 == TRUE) {
if (gi_552 == TRUE) {
ObjectDelete("Signalprice");
ObjectCreate("Signalprice", OBJ_LABEL, g_window_540, 0, 0);
ObjectSetText("Signalprice", DoubleToStr(ld_808, Digits), 15, "Arial", l_color_92);
ObjectSet("Signalprice", OBJPROP_CORNER, g_corner_528);
ObjectSet("Signalprice", OBJPROP_XDISTANCE, gi_536 + 10);
ObjectSet("Signalprice", OBJPROP_YDISTANCE, gi_532 + 60);
}
}
int li_832 = 0;
int li_836 = 0;
int li_840 = 0;
int li_844 = 0;
int li_848 = 0;
int li_852 = 0;
li_832 = (iHigh(NULL, PERIOD_D1, 1) - iLow(NULL, PERIOD_D1, 1)) / Point;
for (li_852 = 1; li_852 <= 5; li_852++) li_836 = li_836 + (iHigh(NULL, PERIOD_D1, li_852) - iLow(NULL, PERIOD_D1, li_852)) / Показано первые 50% кода (символов: 61745)
Введите ваш email и нажмите кнопку, чтобы перейти к оплате.