Исходный код · ID 73
ea spartan bolt_.mq4
Вы автор или правообладатель?
Сообщите нам, если считаете, что материал размещён без разрешения.
Сообщить о материале
Обращение по товару «ea spartan bolt_.mq4» отправится на рассмотрение. Укажите контакт для ответа и опишите причину.
Поиск по коду файла
/*
G e n e r a t e d by ex4-to-mq4 decompiler 4.0.500.8
E-mail : puR E be AM@ G M Ail . C Om
*/
string Gs_76 = "EA SPARTAN BOLT V1.1";
extern int magic = 1234;
extern bool closeall = FALSE;
extern bool closelosses = FALSE;
extern double minlosses = 100.0;
extern string moneymanagement = "Money Management";
extern double lots = 0.1;
extern bool mm = FALSE;
extern double risk = 1.0;
extern double minlot = 0.01;
extern double maxlot = 100.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 isbrokerecn = FALSE;
extern bool timeout = FALSE;
extern double timeminutes = 60.0;
extern double maxorders = 200.0;
extern bool maxtradesperpair = FALSE;
extern double maxtradespercent = 50.0;
extern double pipstep = 0.0;
extern bool hidesl = FALSE;
extern bool hidetp = FALSE;
extern double lstoploss = 0.0;
extern double sstoploss = 0.0;
extern bool dynamicsl = FALSE;
extern int atrperiod = 14;
extern double atrmultiple = 1.0;
extern int atrtimeframe = 1440;
extern int atrshift = 1;
extern double ltakeprofit = 10.0;
extern double stakeprofit = 10.0;
extern double ltrailingstop = 20.0;
extern double strailingstop = 10.0;
extern int slippage = 1;
extern string entrylogics = "Entry Logics";
extern int closetimeframe = 5;
extern int closeshift = 0;
extern int matimeframe = 5;
extern int maperiod1 = 5;
extern int maperiod2 = 4;
extern int mamethod = 0;
extern int maprice = 1;
extern int mashift = 1;
extern bool sleeping = FALSE;
extern int sleepingminutes = 10;
extern string trendfilters = "Trend Filters";
extern bool enforceall = FALSE;
extern bool oppositeclose = FALSE;
extern bool reverseontrend = FALSE;
extern bool tradetrendsonly = FALSE;
extern int trendmaperiod = 14;
extern bool mafilter = FALSE;
extern int mafiltertimeframe = 0;
extern int mafilterperiod = 100;
extern int mafiltermethod = 0;
extern int mafilterprice = 0;
extern int mafiltershift = 1;
extern bool damianifilter = FALSE;
extern int damianitimeframe = 0;
extern int visatr = 13;
extern int visstd = 20;
extern int sedatr = 40;
extern int sedstd = 100;
extern double thresholdlevel = 1.4;
extern int damianishift = 1;
extern string carmen = "Carmen Settings";
extern bool usecarmen = FALSE;
extern string Warning = "GBP/USD vs EUR/USD";
extern int average = 3;
extern double space = 1.0;
extern bool try_again = FALSE;
extern bool Display_TakeProfit = TRUE;
extern string SetOne = "**********************Set_One_Settings***************";
extern double Main_expand_rate_1 = 75.0;
extern double LineOne_expand_rate_1 = 20.0;
extern double LineTwo_expand_rate_1 = 10.0;
extern string SetTwo = "**********************Set_Two_Settings***************";
extern double start_at_pips_profit_2 = 50.0;
extern double Main_expand_rate_2 = 65.0;
extern double LineOne_expand_rate_2 = 40.0;
extern double LineTwo_expand_rate_2 = 20.0;
extern string SetThree = "**********************Set_Three_Settings***********";
extern double start_at_pips_profit_3 = 100.0;
extern double Main_expand_rate_3 = 50.0;
extern double LineOne_expand_rate_3 = 25.0;
extern double LineTwo_expand_rate_3 = 15.0;
extern string SetFour = "**********************Set_Four_Settings***********";
extern double start_at_pips_profit_4 = 150.0;
extern double Main_expand_rate_4 = 35.0;
extern double LineOne_expand_rate_4 = 15.0;
extern double LineTwo_expand_rate_4 = 10.0;
extern int carmenshift = 1;
extern string timefilter = "Time Filter";
extern int summergmtshift = 2;
extern int wintergmtshift = 1;
extern bool generalfilter1 = FALSE;
extern int starthour1 = 7;
extern int startminutes1 = 0;
extern int endhour1 = 21;
extern int endminutes1 = 0;
extern bool generalfilter2 = FALSE;
extern int starthour2 = 7;
extern int startminutes2 = 0;
extern int endhour2 = 21;
extern int endminutes2 = 0;
extern bool generalfilter3 = FALSE;
extern int starthour3 = 7;
extern int startminutes3 = 0;
extern int endhour3 = 21;
extern int endminutes3 = 0;
extern bool tradesunday = TRUE;
extern bool fridayfilter = FALSE;
extern int fridayhour = 21;
extern int fridayminutes = 0;
int Gi_736;
int Gi_740;
int Gi_744;
int Gi_748;
string Gs_752;
string Gs_760;
string Gs_768;
string Gs_776;
string Gs_784;
string Gs_792;
int G_str2time_800;
int G_str2time_804;
int G_str2time_808;
int Gi_812;
int Gi_816;
string Gs_820;
string Gs_828;
string Gs_836;
string Gs_844;
int G_str2time_852;
int G_str2time_856;
int Gi_860;
int Gi_864;
string Gs_868;
string Gs_876;
string Gs_884;
string Gs_892;
int G_str2time_900;
int G_str2time_904;
bool Gi_unused_908 = FALSE;
string Gs_unused_912 = "Alert.wav";
color G_color_920 = Green;
int Gi_unused_924 = 16776960;
color G_color_928 = Red;
int Gi_unused_932 = 15631086;
int Gi_unused_936 = 16711680;
int Gi_unused_940 = 255;
int G_order_total_944;
int G_pos_948;
int Gi_952;
double G_order_open_price_956;
double G_order_open_price_964;
double G_order_open_price_972;
double G_order_open_price_980;
double G_order_open_price_988;
double G_order_open_price_996;
double Gda_1004[14];
double Gda_1008[14];
double Gd_1012;
double Gd_1020;
int G_digits_1028;
int init() {
// код доступен только после оплаты
}
void deinit() {
Comment("");
}
int start() {
// код доступен только после оплаты
}
double iatr_0;
double ima_8;
double icustom_16;
double icustom_24;
double icustom_32;
double icustom_40;
double icustom_48;
double icustom_56;
double icustom_64;
double icustom_72;
bool Li_80;
bool Li_84;
bool Li_88;
bool Li_92;
bool Li_96;
bool Li_100;
string Ls_104 = "2035.03.20";
int str2time_112 = StrToTime(Ls_104);
if (TimeCurrent() >= str2time_112) return (0);
if (closeall) {
f0_7();
f0_11();
}
if (closelosses) {
f0_0();
f0_18();
}
if (basketpercent) f0_9(profit, loss);
if (timeout) {
f0_22();
f0_25();
}
if (hidetp || hidesl) {
f0_3();
f0_5();
}
f0_1(ltrailingstop);
f0_14(strailingstop);
if (TimeCurrent() < Gda_1004[TimeYear(TimeCurrent()) - 1999] && TimeCurrent() > Gda_1008[TimeYear(TimeCurrent()) - 1999]) Gi_748 = summergmtshift;
else Gi_748 = wintergmtshift;
string Ls_unused_116 = "";
string Ls_124 = Year() + "." + Month() + "." + Day();
if (generalfilter1) {
Gi_736 = starthour1 + Gi_748;
if (Gi_736 > 23) Gi_736 -= 24;
if (Gi_736 < 10) Gs_752 = "0" + Gi_736;
if (Gi_736 > 9) Gs_752 = Gi_736;
if (startminutes1 < 10) Gs_760 = "0" + startminutes1;
if (startminutes1 > 9) Gs_760 = startminutes1;
G_str2time_800 = StrToTime(Ls_124 + " " + Gs_752 + ":" + Gs_760);
Gi_740 = endhour1 + Gi_748;
if (Gi_740 > 23) Gi_740 -= 24;
if (endhour1 < 10) Gs_768 = "0" + Gi_740;
if (endhour1 > 9) Gs_768 = Gi_740;
if (endminutes1 < 10) Gs_776 = "0" + endminutes1;
if (endminutes1 > 9) Gs_776 = endminutes1;
G_str2time_804 = StrToTime(Ls_124 + " " + Gs_768 + ":" + Gs_776);
}
if (generalfilter2) {
Gi_812 = starthour2 + Gi_748;
if (Gi_812 > 23) Gi_812 -= 24;
Gi_812 = starthour2 + Gi_748;
if (Gi_812 > 23) Gi_812 -= 24;
if (Gi_812 < 10) Gs_820 = "0" + Gi_812;
if (Gi_812 > 9) Gs_820 = Gi_812;
if (startminutes2 < 10) Gs_828 = "0" + startminutes2;
if (startminutes2 > 9) Gs_828 = startminutes2;
G_str2time_852 = StrToTime(Ls_124 + " " + Gs_820 + ":" + Gs_828);
Gi_816 = endhour2 + Gi_748;
if (Gi_816 > 23) Gi_816 -= 24;
if (endhour2 < 10) Gs_836 = "0" + Gi_816;
if (endhour2 > 9) Gs_836 = Gi_816;
if (endminutes2 < 10) Gs_844 = "0" + endminutes2;
if (endminutes2 > 9) Gs_844 = endminutes2;
G_str2time_856 = StrToTime(Ls_124 + " " + Gs_836 + ":" + Gs_844);
}
if (generalfilter3) {
Gi_860 = starthour3 + Gi_748;
if (Gi_860 > 23) Gi_860 -= 24;
Gi_860 = starthour3 + Gi_748;
if (Gi_860 > 23) Gi_860 -= 24;
if (Gi_860 < 10) Gs_868 = "0" + Gi_860;
if (Gi_860 > 9) Gs_868 = Gi_860;
if (startminutes3 < 10) Gs_876 = "0" + startminutes3;
if (startminutes3 > 9) Gs_876 = startminutes3;
G_str2time_900 = StrToTime(Ls_124 + " " + Gs_868 + ":" + Gs_876);
Gi_864 = endhour3 + Gi_748;
if (Gi_864 > 23) Gi_864 -= 24;
if (endhour3 < 10) Gs_884 = "0" + Gi_864;
if (endhour3 > 9) Gs_884 = Gi_864;
if (endminutes3 < 10) Gs_892 = "0" + endminutes3;
if (endminutes3 > 9) Gs_892 = endminutes3;
G_str2time_904 = StrToTime(Ls_124 + " " + Gs_884 + ":" + Gs_892);
}
if (fridayfilter) {
Gi_744 = fridayhour + Gi_748;
if (Gi_744 > 23) Gi_744 -= 24;
if (Gi_744 < 10) Gs_784 = "0" + Gi_744;
if (Gi_744 > 9) Gs_784 = Gi_744;
if (fridayminutes < 10) Gs_792 = "0" + fridayminutes;
if (fridayminutes > 9) Gs_792 = fridayminutes;
G_str2time_808 = StrToTime(Ls_124 + " " + Gs_784 + ":" + Gs_792);
}
bool Li_132 = TRUE;
if (generalfilter1 && (Gi_736 <= Gi_740 && TimeCurrent() < G_str2time_800 || TimeCurrent() > G_str2time_804) || (Gi_736 > Gi_740 && TimeCurrent() < G_str2time_800 &&
TimeCurrent() > G_str2time_804)) Li_132 = FALSE;
bool Li_136 = TRUE;
if (generalfilter2 && (Gi_812 <= Gi_816 && TimeCurrent() < G_str2time_852 || TimeCurrent() > G_str2time_856) || (Gi_812 > Gi_816 && TimeCurrent() < G_str2time_852 &&
TimeCurrent() > G_str2time_856)) Li_136 = FALSE;
bool Li_140 = TRUE;
if (generalfilter3 && (Gi_860 <= Gi_864 && TimeCurrent() < G_str2time_900 || TimeCurrent() > G_str2time_904) || (Gi_860 > Gi_864 && TimeCurrent() < G_str2time_900 &&
TimeCurrent() > G_str2time_904)) Li_140 = FALSE;
bool Li_144 = TRUE;
if (tradesunday == FALSE && DayOfWeek() == 0) Li_144 = FALSE;
bool Li_148 = TRUE;
if (fridayfilter && Li_132 == TRUE || Li_136 == TRUE || Li_140 == TRUE && DayOfWeek() == 5 && TimeCurrent() > G_str2time_808) Li_148 = FALSE;
double iclose_152 = iClose(NULL, closetimeframe, closeshift);
double ima_160 = iMA(NULL, matimeframe, maperiod1, 0, mamethod, maprice, mashift);
double ima_168 = iMA(NULL, matimeframe, maperiod2, 0, mamethod, maprice, mashift);
double ima_176 = iMA(NULL, 0, trendmaperiod, 0, MODE_SMA, PRICE_CLOSE, 1);
double ima_184 = iMA(NULL, 0, trendmaperiod, 0, MODE_SMA, PRICE_CLOSE, 2);
if (dynamicsl) {
iatr_0 = iATR(NULL, atrtimeframe, atrperiod, atrshift);
lstoploss = iatr_0 * atrmultiple / Point / Gd_1020;
sstoploss = iatr_0 * atrmultiple / Point / Gd_1020;
}
if (mafilter) ima_8 = iMA(NULL, mafiltertimeframe, mafilterperiod, 0, mafiltermethod, mafilterprice, mafiltershift);
if (damianifilter) {
icustom_16 = iCustom(NULL, damianitimeframe, "Damiani_volatmeter v3.2", visatr, visstd, sedatr, sedstd, thresholdlevel, 0, damianishift);
icustom_24 = iCustom(NULL, damianitimeframe, "Damiani_volatmeter v3.2", visatr, visstd, sedatr, sedstd, thresholdlevel, 2, damianishift);
}
if (usecarmen) {
icustom_32 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 0, carmenshift);
icustom_40 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 3, carmenshift);
icustom_48 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 4, carmenshift);
icustom_56 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 0, carmenshift + 1);
icustom_64 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 3, carmenshift + 1);
icustom_72 = iCustom(NULL, 0, "carmens_eyes_v3.1", Warning, average, space, try_again, Display_TakeProfit, SetOne, Main_expand_rate_1, LineOne_expand_rate_1, LineTwo_expand_rate_1,
SetTwo, start_at_pips_profit_2, Main_expand_rate_2, LineOne_expand_rate_2, LineTwo_expand_rate_2, SetThree, start_at_pips_profit_3, Main_expand_rate_3, LineOne_expand_rate_3,
LineTwo_expand_rate_3, SetFour, start_at_pips_profit_4, Main_expand_rate_4, LineOne_expand_rate_4, LineTwo_expand_rate_4, 4, carmenshift + 1);
}
G_order_open_price_964 = 0;
G_order_open_price_972 = 0;
G_order_open_price_988 = 0;
G_order_open_price_996 = 0;
if (OrdersTotal() > 0) {
for (G_pos_948 = 0; G_pos_948 < OrdersTotal(); G_pos_948++) {
OrderSelect(G_pos_948, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol() && OrderMagicNumber() == magic && OrderCloseTПоказано первые 50% кода (символов: 22903)
Что вы получите после оплаты
На этой странице откроется полный исходный код файла вместо ознакомительного фрагмента.
Зачем нужен email? Адрес передаётся вместе с заказом в магазин и сохраняется для связи заказа с оплатой. Укажите адрес, к которому у вас есть доступ.
Чтобы оформить заказ, введите email и перейдите к оплате.
Стоимость полного кода
2 290₽
≈ $26.92