- Главная
- Сообщество
- Торговые системы
- Forex Envy Power Edition
Forex Envy Power Edition (By forex_trader_47717)
Пользователь удалил эту систему.
Edit Your Comment
Forex Envy Power Edition Обсуждение
Участник с Dec 29, 2011
9 комментариев
Участник с Apr 18, 2012
102 комментариев
Sep 14, 2012 at 13:55
(отредактировано Sep 14, 2012 at 13:57)
Участник с Apr 18, 2012
102 комментариев
ForexScam posted:
an extra 0.44 on NU isn't enough to blow all the FE accounts.
Little you know.
It boosts up the next level lots much higher than they needed to be.
Chews up more margin.
That same effect hits all the Accounts and Baskets.
So lets see 30 Baskets each with 2 extra trades causing the next real level and ALL the following levels to be 2 Lot increments too much.
No ROI in a dead account
Участник с Jun 24, 2012
69 комментариев
Sep 14, 2012 at 14:03
(отредактировано Sep 14, 2012 at 14:04)
Участник с Jun 24, 2012
69 комментариев
ForexScam posted:
an extra 0.44 on NU isn't enough to blow all the FE accounts.
This bugs is broker dependance. so not all FE user has this problem.
I agree with BB, I am victicm of this bugs, my 5 times more fund accounts with lower risk setting blew up yesterday. it was running only 6 long pairs because I wanted to shut down this account due to this FE bugs, so I am extremely bad luck.
forex_trader_84934
Участник с Jul 19, 2012
2 комментариев
Sep 15, 2012 at 10:34
Участник с Jul 19, 2012
2 комментариев
Участник с Aug 20, 2011
588 комментариев
Sep 15, 2012 at 13:10
Участник с Aug 20, 2011
588 комментариев
Dream_ posted:its far from a SCAM.
dont buy this EA!
it's scam!
i buy this ea ~1week ago,recently i get ~-30+% from USDCAD_basket and closed manually all orders on ~0.973.(60.000cent,lot 0.02,leverage 1:1000,TradeFort Flex),now my account destroyed
after i send email about refund:
_
now passed ~3-4days...
It's lie about refund!
sorry to ear that you put in during the worst week ever seen for all martingale systems.
you have to send more info the the team, the trade history, to proove you use the recommended configuration to get the refund. the refund is available ONLY if you are using the long cycle and the account correctly funded based on the minimum recommended.
if you dont follows the rules and kill your account... its your responsibility, you cant blame them
its like opening a manual trade, loosing and asking the broker to refund because its not normal that the market dont makes you a win... scam? no. its the game
Участник с Jun 24, 2012
69 комментариев
Sep 15, 2012 at 16:52
Участник с Jun 24, 2012
69 комментариев
My USDCAD basket was at level 15, I got email from them so I closed it manually and took 30% lost, because of this mistake, Account was underfund, next day, market went crazy and it blew up too, Another account with same fund still alive.
you need to read that refund rules, if you manual trade this account, you might not get refund.
you need to read that refund rules, if you manual trade this account, you might not get refund.
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 15, 2012 at 17:28
Участник с Mar 28, 2011
1008 комментариев
Dream_ posted:
dont buy this EA!
it's scam!
i buy this ea ~1week ago,recently i get ~-30+% from USDCAD_basket and closed manually all orders on ~0.973.(60.000cent,lot 0.02,leverage 1:1000,TradeFort Flex),now my account destroyed
after i send email about refund:
_
now passed ~3-4days...
It's lie about refund!
you have 60 days to do a ChargeBack ( CreditCard) if Forex Envy ignores your refund request.
Участник с Mar 28, 2012
7 комментариев
Sep 15, 2012 at 20:31
Участник с Mar 28, 2012
7 комментариев
This is your 50$ account
But for Pamm account you want 500$
Can u tell me why not you provide pamm account for cent accounts ?
https://www.forexenvy.com/pamm-account/ here
But for Pamm account you want 500$
Can u tell me why not you provide pamm account for cent accounts ?
https://www.forexenvy.com/pamm-account/ here
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 16, 2012 at 10:17
Участник с Mar 28, 2011
1008 комментариев
Copied Logic From Forex Hacked aka Forex Envy
<blockquote>int ForexEnvySignalLogic() {
double isar_0 = iSAR(NULL, PERIOD_H1, gd_1036, gd_1044, 0);
double ima_8 = iMA(NULL, PERIOD_H1, g_period_1020, gi_1024, g_ma_method_1028, g_applied_price_1032, 0);
if (isar_0 > ima_8) return (-1);
if (isar_0 < ima_8) return (1);
return (0);
}</blockquote>
<blockquote>int ForexHackedSignalLogic() {
double l_isar_0 = iSAR(NULL, 0, gd_272, gd_280, 0);
double l_ima_8 = iMA(NULL, 0, g_period_256, gi_260, g_ma_method_264, g_applied_price_268, 0);
if (l_isar_0 > l_ima_8) return (-1);
if (l_isar_0 < l_ima_8) return (1);
return (0);
}</blockquote>
int ForexEnvyOpenBuyOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1132)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Ask + g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(1) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_3(0) > 0.0) lots_8 = NormalizeDouble(f0_3(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Ask - gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Green);
} else {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Green);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('BUY hedgedTicket=' + g_ticket_1140);
} else {
f0_15('BUY Envy_ticket=' + ticket_4);
g_cmd_1144 = 0;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenBuyOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_40;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_384)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Ask + gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Ask - gi_136 * Point;
if (ai_0) l_lots_40 = NormalizeDouble(GetLastLotSize(1) * MassHedgeBooster, 2);
else l_lots_40 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Green);
else {
l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Green);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('BUY hedgedTicket=' + g_ticket_392);
} else {
Log('BUY Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 0;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
int ForexEnvyOpenSellOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1136)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Bid - g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(0) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_6(0) > 0.0) lots_8 = NormalizeDouble(f0_6(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Bid + gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Pink);
} else {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Pink);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('SELL hedgedTicket=' + g_ticket_1140);
} else {
f0_15('SELL Envy_ticket=' + ticket_4);
g_cmd_1144 = 1;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenSellOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_36;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_388)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Bid - gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Bid + gi_136 * Point;
if (ai_0) l_lots_36 = NormalizeDouble(GetLastLotSize(0) * MassHedgeBooster, 2);
else l_lots_36 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Pink);
else {
l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Pink);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('SELL hedgedTicket=' + g_ticket_392);
} else {
Log('SELL Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 1;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
void ForexEnvyManageBuyOrders(int ai_0, int ai_unused_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == 1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_11();
else
if (ai_0 > 0) f0_11();
} else {
if (order_open_price_12 - Ask > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumBuyLevels) {
if (!(f0_11())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || OrderTakeProfit() == order_takeprofit_28 ||
order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
Sleep(1000);
}
}
void ForexHackedManageBuyOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == 1 && IsTradeTime()) {
if (OpenBuy())
if (MassHedge) gi_376 = TRUE;
} else {
if (l_ord_open_price_4 - Ask > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxBuyOrders) {
if (!(OpenBuy())) return;
if (!(MassHedge)) return;
gi_376 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
Sleep(1000);
}
}
void ForexEnvyManageSellOrders(int ai_unused_0, int ai_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == -1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_12();
else
if (ai_4 > 0) f0_12();
} else {
if (Bid - order_open_price_12 > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumSellLevels) {
if (!(f0_12())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == order_takeprofit_28 || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
}
}
}
}
void ForexEnvyManageSellOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == -1 && IsTradeTime()) {
if (OpenSell())
if (MassHedge) gi_380 = TRUE;
} else {
if (Bid - l_ord_open_price_4 > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxSellOrders) {
if (!(OpenSell())) return;
if (!(MassHedge)) return;
gi_380 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
}
}
}
}
void ForexEnvyChartComment() {
string dbl2str_0 = DoubleToStr(f0_1(2), 2);
if (!IsTesting()) f0_9();
if (FreezeAfterTPScheduler == TRUE && f0_4() == 1) {
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: ON',
'\n');
return;
}
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: OFF',
'\n');
}
void ForexHackedChartComment() {
string l_dbl2str_0 = DoubleToStr(balanceDeviation(2), 2);
Comment(' \nForexHacked V2.3 Loaded Successfully™ ',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', l_dbl2str_0, '%\n');
}
<blockquote>int ForexEnvySignalLogic() {
double isar_0 = iSAR(NULL, PERIOD_H1, gd_1036, gd_1044, 0);
double ima_8 = iMA(NULL, PERIOD_H1, g_period_1020, gi_1024, g_ma_method_1028, g_applied_price_1032, 0);
if (isar_0 > ima_8) return (-1);
if (isar_0 < ima_8) return (1);
return (0);
}</blockquote>
<blockquote>int ForexHackedSignalLogic() {
double l_isar_0 = iSAR(NULL, 0, gd_272, gd_280, 0);
double l_ima_8 = iMA(NULL, 0, g_period_256, gi_260, g_ma_method_264, g_applied_price_268, 0);
if (l_isar_0 > l_ima_8) return (-1);
if (l_isar_0 < l_ima_8) return (1);
return (0);
}</blockquote>
int ForexEnvyOpenBuyOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1132)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Ask + g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(1) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_3(0) > 0.0) lots_8 = NormalizeDouble(f0_3(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Ask - gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Green);
} else {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Green);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('BUY hedgedTicket=' + g_ticket_1140);
} else {
f0_15('BUY Envy_ticket=' + ticket_4);
g_cmd_1144 = 0;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenBuyOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_40;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_384)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Ask + gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Ask - gi_136 * Point;
if (ai_0) l_lots_40 = NormalizeDouble(GetLastLotSize(1) * MassHedgeBooster, 2);
else l_lots_40 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Green);
else {
l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Green);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('BUY hedgedTicket=' + g_ticket_392);
} else {
Log('BUY Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 0;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
int ForexEnvyOpenSellOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1136)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Bid - g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(0) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_6(0) > 0.0) lots_8 = NormalizeDouble(f0_6(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Bid + gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Pink);
} else {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Pink);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('SELL hedgedTicket=' + g_ticket_1140);
} else {
f0_15('SELL Envy_ticket=' + ticket_4);
g_cmd_1144 = 1;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenSellOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_36;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_388)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Bid - gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Bid + gi_136 * Point;
if (ai_0) l_lots_36 = NormalizeDouble(GetLastLotSize(0) * MassHedgeBooster, 2);
else l_lots_36 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Pink);
else {
l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Pink);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('SELL hedgedTicket=' + g_ticket_392);
} else {
Log('SELL Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 1;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
void ForexEnvyManageBuyOrders(int ai_0, int ai_unused_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == 1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_11();
else
if (ai_0 > 0) f0_11();
} else {
if (order_open_price_12 - Ask > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumBuyLevels) {
if (!(f0_11())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || OrderTakeProfit() == order_takeprofit_28 ||
order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
Sleep(1000);
}
}
void ForexHackedManageBuyOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == 1 && IsTradeTime()) {
if (OpenBuy())
if (MassHedge) gi_376 = TRUE;
} else {
if (l_ord_open_price_4 - Ask > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxBuyOrders) {
if (!(OpenBuy())) return;
if (!(MassHedge)) return;
gi_376 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
Sleep(1000);
}
}
void ForexEnvyManageSellOrders(int ai_unused_0, int ai_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == -1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_12();
else
if (ai_4 > 0) f0_12();
} else {
if (Bid - order_open_price_12 > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumSellLevels) {
if (!(f0_12())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == order_takeprofit_28 || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
}
}
}
}
void ForexEnvyManageSellOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == -1 && IsTradeTime()) {
if (OpenSell())
if (MassHedge) gi_380 = TRUE;
} else {
if (Bid - l_ord_open_price_4 > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxSellOrders) {
if (!(OpenSell())) return;
if (!(MassHedge)) return;
gi_380 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
}
}
}
}
void ForexEnvyChartComment() {
string dbl2str_0 = DoubleToStr(f0_1(2), 2);
if (!IsTesting()) f0_9();
if (FreezeAfterTPScheduler == TRUE && f0_4() == 1) {
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: ON',
'\n');
return;
}
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: OFF',
'\n');
}
void ForexHackedChartComment() {
string l_dbl2str_0 = DoubleToStr(balanceDeviation(2), 2);
Comment(' \nForexHacked V2.3 Loaded Successfully™ ',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', l_dbl2str_0, '%\n');
}
Участник с Oct 03, 2010
155 комментариев
Sep 16, 2012 at 14:59
Участник с Oct 03, 2010
155 комментариев
So, this very popular FE seems not be original after all.
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 16, 2012 at 16:07
Участник с Mar 28, 2011
1008 комментариев
I've sent all the source code to DonnaForex for her verdict since the discussions have been locked until the evidence is double checked.
I wouldn't waste my time if it wasn't a copy of another commercial Bot.
Its a shame that a commercial vendor couldn't afford to write original code. A simple MartinGale Grid doesn't take much effort and NEW code could have easily been created within a Day.
I wouldn't waste my time if it wasn't a copy of another commercial Bot.
Its a shame that a commercial vendor couldn't afford to write original code. A simple MartinGale Grid doesn't take much effort and NEW code could have easily been created within a Day.
forex_trader_23412
Участник с Nov 23, 2010
31 комментариев
Sep 17, 2012 at 04:42
Участник с Nov 23, 2010
31 комментариев
ForexScam posted:
Copied Logic From Forex Hacked aka Forex Envy
<blockquote>int ForexEnvySignalLogic() {
double isar_0 = iSAR(NULL, PERIOD_H1, gd_1036, gd_1044, 0);
double ima_8 = iMA(NULL, PERIOD_H1, g_period_1020, gi_1024, g_ma_method_1028, g_applied_price_1032, 0);
if (isar_0 > ima_8) return (-1);
if (isar_0 < ima_8) return (1);
return (0);
}</blockquote>
<blockquote>int ForexHackedSignalLogic() {
double l_isar_0 = iSAR(NULL, 0, gd_272, gd_280, 0);
double l_ima_8 = iMA(NULL, 0, g_period_256, gi_260, g_ma_method_264, g_applied_price_268, 0);
if (l_isar_0 > l_ima_8) return (-1);
if (l_isar_0 < l_ima_8) return (1);
return (0);
}</blockquote>
int ForexEnvyOpenBuyOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1132)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Ask + g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(1) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_3(0) > 0.0) lots_8 = NormalizeDouble(f0_3(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Ask - gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Green);
} else {
ticket_4 = OrderSend(Symbol(), OP_BUY, lots_8, NormalizeDouble(Ask, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Green);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('BUY hedgedTicket=' + g_ticket_1140);
} else {
f0_15('BUY Envy_ticket=' + ticket_4);
g_cmd_1144 = 0;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenBuyOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_40;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_384)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() - MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Ask + gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Ask - gi_136 * Point;
if (ai_0) l_lots_40 = NormalizeDouble(GetLastLotSize(1) * MassHedgeBooster, 2);
else l_lots_40 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Green);
else {
l_ticket_4 = OrderSend(Symbol(), OP_BUY, l_lots_40, Ask, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Green);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('BUY hedgedTicket=' + g_ticket_392);
} else {
Log('BUY Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 0;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
int ForexEnvyOpenSellOrder(bool ai_0 = FALSE) {
int ticket_4;
double lots_8;
double ld_16 = 0;
double ld_24 = 0;
string ls_32 = '';
bool li_ret_40 = TRUE;
if (TimeCurrent() - g_datetime_1064 < 60) return (0);
if (ai_0 && (!gi_1136)) return (0);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_1140, SELECT_BY_TICKET)) ld_24 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else ld_16 = Bid - g_pips_964 * Point;
}
if (gi_1160 == FALSE) {
if (ai_0) lots_8 = NormalizeDouble(f0_10(0) * gd_1052, 2);
else lots_8 = f0_2(gd_1008);
} else {
if (f0_6(0) > 0.0) lots_8 = NormalizeDouble(f0_6(0) * gd_956, 2);
else lots_8 = NormalizeDouble(BaseLotSize, 2);
}
if (BasketStopLoss > 0) ld_24 = Bid + gi_976 * Point;
if (!SupportECN) {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), EA_Name + ls_32,
MagicNumber, 0, Pink);
} else {
ticket_4 = OrderSend(Symbol(), OP_SELL, lots_8, NormalizeDouble(Bid, Digits), slippage, 0, 0, EA_Name + ls_32, MagicNumber, 0, Pink);
Sleep(1000);
if (ticket_4 >= 0) OrderModify(ticket_4, NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(ld_24, Digits), NormalizeDouble(ld_16, Digits), 0, Black);
}
g_datetime_1064 = TimeCurrent();
if (ticket_4 != -1) {
if (!ai_0) {
g_ticket_1140 = ticket_4;
f0_15('SELL hedgedTicket=' + g_ticket_1140);
} else {
f0_15('SELL Envy_ticket=' + ticket_4);
g_cmd_1144 = 1;
}
} else {
f0_15('failed sell');
li_ret_40 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_40);
}
bool ForexHackedOpenSellOrder(bool ai_0 = FALSE) {
int l_ticket_4;
double l_lots_36;
double l_price_8 = 0;
double l_price_16 = 0;
string ls_24 = '';
bool li_ret_32 = TRUE;
if (TimeCurrent() - g_datetime_316 < 60) return (FALSE);
if (ai_0 && (!gi_388)) return (FALSE);
if (!GlobalVariableCheck('PERMISSION')) {
GlobalVariableSet('PERMISSION', TimeCurrent());
if (!SupportECN) {
if (ai_0) {
if (OrderSelect(g_ticket_392, SELECT_BY_TICKET)) l_price_16 = OrderTakeProfit() + MarketInfo(Symbol(), MODE_SPREAD) * Point;
} else l_price_8 = Bid - gd_124 * Point;
}
if (ai_0) ls_24 = gs__hedged_400;
if (AllowiStopLoss == TRUE) l_price_16 = Bid + gi_136 * Point;
if (ai_0) l_lots_36 = NormalizeDouble(GetLastLotSize(0) * MassHedgeBooster, 2);
else l_lots_36 = CalcLots(gd_236);
if (!SupportECN) l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, l_price_16, l_price_8, EA_Name + ls_24, MagicNumber, 0, Pink);
else {
l_ticket_4 = OrderSend(Symbol(), OP_SELL, l_lots_36, Bid, slippage, 0, 0, EA_Name + ls_24, MagicNumber, 0, Pink);
Sleep(1000);
OrderModify(l_ticket_4, OrderOpenPrice(), l_price_16, l_price_8, 0, Black);
}
g_datetime_316 = TimeCurrent();
if (l_ticket_4 != -1) {
if (!ai_0) {
g_ticket_392 = l_ticket_4;
Log('SELL hedgedTicket=' + g_ticket_392);
} else {
Log('SELL Hacked_ticket=' + l_ticket_4);
g_cmd_396 = 1;
}
} else {
Log('failed sell');
li_ret_32 = FALSE;
}
}
GlobalVariableDel('PERMISSION');
return (li_ret_32);
}
void ForexEnvyManageBuyOrders(int ai_0, int ai_unused_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == 1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_11();
else
if (ai_0 > 0) f0_11();
} else {
if (order_open_price_12 - Ask > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumBuyLevels) {
if (!(f0_11())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || OrderTakeProfit() == order_takeprofit_28 ||
order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
Sleep(1000);
}
}
void ForexHackedManageBuyOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_BUY) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == 1 && IsTradeTime()) {
if (OpenBuy())
if (MassHedge) gi_376 = TRUE;
} else {
if (l_ord_open_price_4 - Ask > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxBuyOrders) {
if (!(OpenBuy())) return;
if (!(MassHedge)) return;
gi_376 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != MagicNumber || OrderType() != OP_BUY || OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
Sleep(1000);
}
}
void ForexEnvyManageSellOrders(int ai_unused_0, int ai_4) {
int datetime_8 = 0;
double order_open_price_12 = 0;
double order_lots_20 = 0;
double order_takeprofit_28 = 0;
double order_stoploss_36 = 0;
int cmd_44 = -1;
int ticket_48 = 0;
int pos_52 = 0;
int count_56 = 0;
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
count_56++;
if (OrderOpenTime() > datetime_8) {
datetime_8 = OrderOpenTime();
order_open_price_12 = OrderOpenPrice();
cmd_44 = OrderType();
ticket_48 = OrderTicket();
order_takeprofit_28 = OrderTakeProfit();
order_stoploss_36 = OrderStopLoss();
}
if (OrderLots() > order_lots_20) order_lots_20 = OrderLots();
}
}
}
int li_60 = MathRound(MathLog(order_lots_20 / BaseLotSize) / MathLog(gd_956)) + 1.0;
if (li_60 < 0) li_60 = 0;
gd_1008 = NormalizeDouble(BaseLotSize * MathPow(gd_956, li_60), gi_1076);
if (li_60 == 0 && f0_7() == -1) {
if (FreezeAfterTP == FALSE && gi_952 == FALSE) f0_12();
else
if (ai_4 > 0) f0_12();
} else {
if (Bid - order_open_price_12 > ExecutionPoint * gd_1068 && order_open_price_12 > 0.0 && count_56 < MaximumSellLevels) {
if (!(f0_12())) return;
return;
}
}
for (pos_52 = 0; pos_52 < OrdersTotal(); pos_52++) {
if (OrderSelect(pos_52, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == order_takeprofit_28 || OrderStopLoss() == order_stoploss_36 || order_stoploss_36 == 0.0 || order_takeprofit_28 == 0.0) continue;
OrderModify(OrderTicket(), NormalizeDouble(OrderOpenPrice(), Digits), NormalizeDouble(order_stoploss_36, Digits), NormalizeDouble(order_takeprofit_28, Digits), 0,
Pink);
}
}
}
}
void ForexEnvyManageSellOrders() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
int l_count_40 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
l_count_40++;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
}
}
int li_44 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Booster)) + 1.0;
if (li_44 < 0) li_44 = 0;
gd_236 = NormalizeDouble(Lots * MathPow(Booster, li_44), gi_328);
if (li_44 == 0 && StrategySignal() == -1 && IsTradeTime()) {
if (OpenSell())
if (MassHedge) gi_380 = TRUE;
} else {
if (Bid - l_ord_open_price_4 > PipStarter * g_point_320 && l_ord_open_price_4 > 0.0 && l_count_40 < MaxSellOrders) {
if (!(OpenSell())) return;
if (!(MassHedge)) return;
gi_380 = TRUE;
return;
}
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) {
if (OrderMagicNumber() == MagicNumber && OrderType() == OP_SELL) {
if (OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Pink);
}
}
}
}
void ForexEnvyChartComment() {
string dbl2str_0 = DoubleToStr(f0_1(2), 2);
if (!IsTesting()) f0_9();
if (FreezeAfterTPScheduler == TRUE && f0_4() == 1) {
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: ON',
'\n');
return;
}
Comment(' \nForex Envy v2.0',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', dbl2str_0, '%',
'\nTotal Profit/Loss = ', gd_944,
'\nFreezeAfterTPScheduler: OFF',
'\n');
}
void ForexHackedChartComment() {
string l_dbl2str_0 = DoubleToStr(balanceDeviation(2), 2);
Comment(' \nForexHacked V2.3 Loaded Successfully™ ',
'\nAccount Leverage : ' + '1 : ' + AccountLeverage(),
'\nAccount Type : ' + AccountServer(),
'\nServer Time : ' + TimeToStr(TimeCurrent(), TIME_SECONDS),
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', l_dbl2str_0, '%\n');
}
A comparison of the trading logics from the codes, ForexEnvy is obviously an edited copy of ForexHacked. If you dig deeper into this, you would find out that ForexHacked itself is also an edited/enhanced copy of another commercial EA called EA Masyuk. EA Masyuk in turn is nothing more than an edited/enhanced copy of the free EA called BlessFifthElement which you could download from Forex TSD. 😄
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 17, 2012 at 11:29
Участник с Mar 28, 2011
1008 комментариев
#property copyright 'MASYUK V2?
#property link 'https://pipmaster.freehostia.com/forex'
extern double Lots = 0.01;
extern int Pips = 31;
extern double TakeProfit = 45.0;
extern double Multiplier = 1.899;
extern int MaxTrades = 10;
extern int LimitHourTrade = 23;
extern int LimitDayTrading = 5;
extern int slippage = 3;
int g_magic_120;
double g_lots_124;
int g_period_132 = 7;
int gi_136 = 0;
int g_ma_method_140 = MODE_LWMA;
int g_applied_price_144 = PRICE_WEIGHTED;
extern double Step = 0.25;
extern double Max = 0.2;
int gi_164;
int deinit() {
return (0);
}
int init() {
string ls_0 = '2009.12.31 00:00';
int l_str2time_8 = StrToTime(ls_0);
if (TimeCurrent() >= l_str2time_8) {
Alert('MASYUK V2 telah tamat tempoh. Email ke [email][email protected][/email] untuk update terbaru');
return (0);
}
if (Symbol() == 'AUDCADm' || Symbol() == 'AUDCAD' || Symbol() == 'AUDCAD.') g_magic_120 = 211001;
if (Symbol() == 'AUDJPYm' || Symbol() == 'AUDJPY' || Symbol() == 'AUDJPY.') g_magic_120 = 211002;
if (Symbol() == 'AUDNZDm' || Symbol() == 'AUDNZD' || Symbol() == 'AUDNZD.') g_magic_120 = 211003;
if (Symbol() == 'AUDUSDm' || Symbol() == 'AUDUSD' || Symbol() == 'AUDUSD.') g_magic_120 = 211004;
if (Symbol() == 'CHFJPYm' || Symbol() == 'CHFJPY' || Symbol() == 'CHFJPY.') g_magic_120 = 211005;
if (Symbol() == 'EURAUDm' || Symbol() == 'EURAUD' || Symbol() == 'EURAUD.') g_magic_120 = 211006;
if (Symbol() == 'EURCADm' || Symbol() == 'EURCAD' || Symbol() == 'EURCAD.') g_magic_120 = 211007;
if (Symbol() == 'EURCHFm' || Symbol() == 'EURCHF' || Symbol() == 'EURCHF.') g_magic_120 = 211008;
if (Symbol() == 'EURGBPm' || Symbol() == 'EURGBP' || Symbol() == 'EURGBP.') g_magic_120 = 211009;
if (Symbol() == 'EURJPYm' || Symbol() == 'EURJPY' || Symbol() == 'EURJPY.') g_magic_120 = 211010;
if (Symbol() == 'EURUSDm' || Symbol() == 'EURUSD' || Symbol() == 'EURUSD.') g_magic_120 = 211011;
if (Symbol() == 'GBPCHFm' || Symbol() == 'GBPCHF' || Symbol() == 'GBPCHF.') g_magic_120 = 211012;
if (Symbol() == 'GBPJPYm' || Symbol() == 'GBPJPY' || Symbol() == 'GBPJPY.') g_magic_120 = 211013;
if (Symbol() == 'GBPUSDm' || Symbol() == 'GBPUSD' || Symbol() == 'GBPUSD.') g_magic_120 = 211014;
if (Symbol() == 'NZDJPYm' || Symbol() == 'NZDJPY' || Symbol() == 'NZDJPY.') g_magic_120 = 211015;
if (Symbol() == 'NZDUSDm' || Symbol() == 'NZDUSD' || Symbol() == 'NZDUSD.') g_magic_120 = 211016;
if (Symbol() == 'USDCHFm' || Symbol() == 'USDCHF' || Symbol() == 'USDCHF.') g_magic_120 = 211017;
if (Symbol() == 'USDJPYm' || Symbol() == 'USDJPY' || Symbol() == 'USDJPY.') g_magic_120 = 211018;
if (Symbol() == 'USDCADm' || Symbol() == 'USDCAD' || Symbol() == 'USDCAD.') g_magic_120 = 211019;
if (g_magic_120 == 0) g_magic_120 = 211999;
gi_164 = MathRound((-MathLog(MarketInfo(Symbol(), MODE_LOTSTEP))) / 2.302585093);
return (0);
}
void OpenBuy() {
int l_ticket_0;
if (!GlobalVariableCheck('InTrade')) {
GlobalVariableSet('InTrade', TimeCurrent());
l_ticket_0 = OrderSend(Symbol(), OP_BUY, g_lots_124, Ask, slippage, 0, Ask + TakeProfit * Point, 'MasyukBuy?, g_magic_120, 0, Blue);
GlobalVariableDel('InTrade');
}
}
void OpenSell() {
int l_ticket_0;
if (!GlobalVariableCheck('InTrade')) {
GlobalVariableSet('InTrade', TimeCurrent());
l_ticket_0 = OrderSend(Symbol(), OP_SELL, g_lots_124, Bid, slippage, 0, Bid - TakeProfit * Point, 'MasyukSell?, g_magic_120, 0, Red);
GlobalVariableDel('InTrade');
}
}
void ManageBuy() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != g_magic_120 || OrderType() != OP_BUY) continue;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
double l_isar_40 = iSAR(NULL, 0, Step, Max, 0);
double l_ima_48 = iMA(NULL, 0, g_period_132, gi_136, g_ma_method_140, g_applied_price_144, 0);
int li_56 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Multiplier)) + 1.0;
if (li_56 < 0) li_56 = 0;
g_lots_124 = NormalizeDouble(Lots * MathPow(Multiplier, li_56), gi_164);
if ((li_56 == 0 && l_isar_40 < l_ima_48 && DayOfWeek() < LimitDayTrading) || (li_56 == 0 && l_isar_40 < l_ima_48 && DayOfWeek() == LimitDayTrading && Hour() <= LimitHourTrade)) OpenBuy();
if (l_ord_open_price_4 - Ask > Pips * Point && li_56 < MaxTrades) {
OpenBuy();
return;
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != g_magic_120 || OrderType() != OP_BUY || OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Red);
}
}
void ManageSell() {
int l_datetime_0 = 0;
double l_ord_open_price_4 = 0;
double l_ord_lots_12 = 0;
double l_ord_takeprofit_20 = 0;
int l_cmd_28 = -1;
int l_ticket_32 = 0;
int l_pos_36 = 0;
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != g_magic_120 || OrderType() != OP_SELL) continue;
if (OrderOpenTime() > l_datetime_0) {
l_datetime_0 = OrderOpenTime();
l_ord_open_price_4 = OrderOpenPrice();
l_cmd_28 = OrderType();
l_ticket_32 = OrderTicket();
l_ord_takeprofit_20 = OrderTakeProfit();
}
if (OrderLots() > l_ord_lots_12) l_ord_lots_12 = OrderLots();
}
double l_isar_40 = iSAR(NULL, 0, Step, Max, 0);
double l_ima_48 = iMA(NULL, 0, g_period_132, gi_136, g_ma_method_140, g_applied_price_144, 0);
int li_56 = MathRound(MathLog(l_ord_lots_12 / Lots) / MathLog(Multiplier)) + 1.0;
if (li_56 < 0) li_56 = 0;
g_lots_124 = NormalizeDouble(Lots * MathPow(Multiplier, li_56), gi_164);
if ((li_56 == 0 && l_isar_40 > l_ima_48 && DayOfWeek() < LimitDayTrading) || (li_56 == 0 && l_isar_40 > l_ima_48 && DayOfWeek() == LimitDayTrading && Hour() <= LimitHourTrade)) OpenSell();
if (Bid - l_ord_open_price_4 > Pips * Point && l_ord_open_price_4 > 0.0 && li_56 < MaxTrades) {
OpenSell();
return;
}
for (l_pos_36 = 0; l_pos_36 < OrdersTotal(); l_pos_36++) {
OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() != g_magic_120 || OrderType() != OP_SELL || OrderTakeProfit() == l_ord_takeprofit_20 || l_ord_takeprofit_20 == 0.0) continue;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_ord_takeprofit_20, 0, Red);
}
}
int start() {
if (Check() != 0) {
ManageBuy();
ManageSell();
ChartComment();
return (0);
}
return (0);
}
void ChartComment() {
string l_dbl2str_0 = DoubleToStr(balanceDeviation(2), 2);
Comment(' \nMASYUK V2?',
'\nAccount Equity = ', AccountEquity(),
'\nFree Margin = ', AccountFreeMargin(),
'\nDrawdown : ', l_dbl2str_0, '%\n');
}
int Check() {
return (1);
}
double balanceDeviation(int ai_0) {
double ld_ret_4;
if (ai_0 == 2) {
ld_ret_4 = (AccountEquity() / AccountBalance() - 1.0) / (-0.01);
if (ld_ret_4 > 0.0) return (ld_ret_4);
return (0);
}
if (ai_0 == 1) {
ld_ret_4 = 100.0 * (AccountEquity() / AccountBalance() - 1.0);
if (ld_ret_4 > 0.0) return (ld_ret_4);
return (0);
}
return (0.0);
}
Share enough a google search found this source code of MASYUK V2. By the Looks of it, it surely is the second Edition , I'll look for the First Edition on TSD now. THanks again for bringing light on this matter
Участник с Apr 22, 2011
3 комментариев
Sep 17, 2012 at 13:00
Участник с Apr 22, 2011
3 комментариев
ForexScam posted:
I've sent all the source code to DonnaForex for her verdict since the discussions have been locked until the evidence is double checked.
I wouldn't waste my time if it wasn't a copy of another commercial Bot.
Its a shame that a commercial vendor couldn't afford to write original code. A simple MartinGale Grid doesn't take much effort and NEW code could have easily been created within a Day.
It's also a shame that a signal service provider like yourself is hiding after burned multiple investor accounts.
Участник с Apr 18, 2012
102 комментариев
Sep 17, 2012 at 13:20
Участник с Apr 18, 2012
102 комментариев
What a load of B**L S**T.
I've been developing code for a long time.
There is not such thing a 100% original Code.
Besides this code is 2.0.
You know how many Bugs FE fixed to produce 2.1?
Give it a break guys.
The FE of TODAY is NOT some legacy version.
You see them getting the ROI that Envy does?
And please no BS about the Blown accounts.
A simple Hedge would have saved them all.
Hedge you ask?
What a Hedge is?
Common question from people who only trade Forex via a Robot.
Spend some time in the real Forex Manual trading World.
Learn what Hedges are and how they can save Accounts.
So is FE copied?
NO.
Can it go Bust if you don't know how to manually use a hedge?
YES.
Can it go Bust if you do know how to use a Hedge?
NO?
How do I know?
Cause I saved my 3.0.16 FE Account using Hedges.
I've been developing code for a long time.
There is not such thing a 100% original Code.
Besides this code is 2.0.
You know how many Bugs FE fixed to produce 2.1?
Give it a break guys.
The FE of TODAY is NOT some legacy version.
You see them getting the ROI that Envy does?
And please no BS about the Blown accounts.
A simple Hedge would have saved them all.
Hedge you ask?
What a Hedge is?
Common question from people who only trade Forex via a Robot.
Spend some time in the real Forex Manual trading World.
Learn what Hedges are and how they can save Accounts.
So is FE copied?
NO.
Can it go Bust if you don't know how to manually use a hedge?
YES.
Can it go Bust if you do know how to use a Hedge?
NO?
How do I know?
Cause I saved my 3.0.16 FE Account using Hedges.
No ROI in a dead account
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 17, 2012 at 14:26
Участник с Mar 28, 2011
1008 комментариев
@bealbull, sorry but i wouldn't waste my time arguing about hedging, original code, or the use of forex envy. But thanks for admitting that FE was copied before their latest Update 😀
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 17, 2012 at 14:29
Участник с Mar 28, 2011
1008 комментариев
@bealbull, sorry but i wouldn't waste my time arguing about hedging, original code, or the use of forex envy. But thanks for admitting that FE was copied before their latest Update 😀
Участник с Apr 18, 2012
102 комментариев
Sep 17, 2012 at 14:34
Участник с Apr 18, 2012
102 комментариев
Please do not put words into my mouth.
I never said it was copied.
I have not see the source code nor can I verify the exposure trail.
It is so easy to make one text file look like the other.
For all I know you could be scamming the whole deal.
I mean you must have an anti FE agenda as otherwise why start all this?
As for Hedges, you are right, you probably as just a Robot guy and have no real manual Forex trading time under your belt so we have nothing to talk about.
I never said it was copied.
I have not see the source code nor can I verify the exposure trail.
It is so easy to make one text file look like the other.
For all I know you could be scamming the whole deal.
I mean you must have an anti FE agenda as otherwise why start all this?
As for Hedges, you are right, you probably as just a Robot guy and have no real manual Forex trading time under your belt so we have nothing to talk about.
No ROI in a dead account
forex_trader_32776
Участник с Mar 28, 2011
1008 комментариев
Sep 17, 2012 at 15:48
Участник с Mar 28, 2011
1008 комментариев
BealBull posted:
I mean you must have an anti FE agenda as otherwise why start all this?
What are you implying? I have no interest in discussing FE. You are right about that. It's 2012 and this strategy ( Martingale/Grid) is nothing new. FE is nothing New. Trading on multiple pairs, pulling profits before a MC, or having two accounts ( aggress/ Conser) is nothing new.
This EA is nothing more than Recycled Forum Threads that Date back over 5 years ago.
There are thousands of Blown accounts associated with this system and the Forex Envy Team still think their Design is different.
The sole purpose and the only agenda that I have is sharing what I have discovered.
That Forex Envy stole the Code from another Commercial EA.....
Участник с Apr 18, 2012
102 комментариев
Sep 17, 2012 at 15:57
Участник с Apr 18, 2012
102 комментариев
ForexScam posted:
That Forex Envy stole the Code from another Commercial EA.....
That is a VERY STRONG statement.
You do understand what Defamation is?
May I ask Do you Sell an EA?
No ROI in a dead account
*Коммерческое использование и спам не допускаются и могут привести к аннулированию аккаунта.
Совет: Размещенные изображения или ссылки на Youtube автоматически вставляются в ваше сообщение!
Совет: введите знак @ для автоматического заполнения имени пользователя, участвующего в этом обсуждении.