salaam/hello everybody,
first of all i think pemburuea is an honest guy. it is just that his/her information is a bit inaccurate. the .rar file is available in easyshare.com but i had to go the furthest way around. i found it only after someone emailed me the .rar file. my millionz special thanks to pratamafx for his generousity to lend a helping hand. god bless you man. the only thing is i don't have the user guide. anyone have the user guide please email to me.
666blackpen@gmail.com
pratamafx jutaan terima kasih.
ForexRising.mq4 file (compiled-0 errors/0 warnings)
/*
Generated by EX4-TO-MQ4 decompiler V4.0.220.2c []
Website:
http://purebeam.biz
E-mail :
purebeam@gmail.com
*/
#property copyright "Forex Rising"
#property link "http://www.forexrising.com"
extern string Expert_Name = "ForexRisingEA";
extern double Broker_type = 1.0;
extern double Lot_type = 10.0;
extern double GMT = 2.0;
extern double MaxLots = 5.0;
extern double Risk_Percentage = 15.0;
extern double TakeProfit = 10.0;
extern double StopLoss = 40.0;
extern double TrailingTP = 3.0;
extern double AdvancedClose = 5.0;
double g_slippage_156 = 1.0;
extern double MaxSpread = 3.0;
extern double MaxOpenOrders = 3.0;
double g_pips_180 = 0.0;
extern double Candles = 3.0;
extern int MagicNumber = 200423;
int init() {
return (0);
}
int deinit() {
return (0);
}
int start() {
double ld_0;
double ld_8;
int l_ticket_16;
double l_price_20;
double ld_unused_28;
double ld_36;
int l_ord_total_44;
int l_cmd_48;
int l_ord_close_52;
double l_price_56;
double l_ord_open_price_64;
int l_cmd_72;
int l_error_76;
Comment("Copyright Forex Rising from forexrising.com");
int li_unused_80 = 123456;
double l_iopen_84 = iOpen(15, 0, 2);
double l_iclose_92 = iClose(15, 0, 2);
double l_iopen_100 = iOpen(15, 0, 1);
double l_iclose_108 = iClose(15, 0, 1);
double ld_116 = 10.0 * Lot_type;
double ld_124 = 100 / Lot_type;
double ld_132 = MathFloor(0.007 * (AccountFreeMargin() / ld_116 * Ask) * Risk_Percentage) / ld_124;
double ld_140 = MathMax(ld_132, Lot_type / 100.0);
double l_lots_148 = MathMin(ld_140, MaxLots);
int li_156 = MarketInfo(Symbol(), MODE_STOPLEVEL) / Broker_type;
int li_160 = MarketInfo(Symbol(), MODE_SPREAD) / Broker_type;
double ld_164 = Low[iLowest(NULL, PERIOD_M15, MODE_LOW, Candles, 1)] + g_pips_180 * Point * Broker_type;
if (TakeProfit <= li_156) ld_0 = li_156;
else ld_0 = TakeProfit;
if (StopLoss <= li_156) ld_8 = li_156 + li_160;
else ld_8 = StopLoss;
if (OrdersTotal() < MaxOpenOrders && AccountFreeMargin() > 20.0 * Lot_type) {
if (Ask <= ld_164) {
if (Ask - Bid <= MaxSpread * Point * Broker_type) {
if (DayOfWeek() == 5 && Hour() == GMT + 20.0 || Hour() == GMT + 21.0 || Hour() == GMT + 19.0) l_ticket_16 = OrderSend(Symbol(), OP_BUY, Lot_type / 100.0, Ask, g_slippage_156, Ask - Point * ld_8 * Broker_type, ld_164 + Point * ld_0 * Broker_type, "ForexRising", MagicNumber, 0, Red);
else {
if (Hour() == GMT + 19.0 || Hour() == GMT + 20.0 || Hour() == GMT + 21.0 || Hour() == GMT + 22.0 || Hour() == GMT + 23.0 || Hour() == GMT + 0.0 || Hour() == GMT +
1.0 || Hour() == GMT + 2.0 || Hour() == GMT + 3.0 || Hour() == GMT + 4.0 || Hour() == GMT + 5.0) l_ticket_16 = OrderSend(Symbol(), OP_BUY, l_lots_148, Ask, g_slippage_156, Ask - Point * ld_8 * Broker_type, ld_164 + Point * ld_0 * Broker_type, "ForexRising", MagicNumber, 0, Red);
}
}
}
}
if (Broker_type == 10.0) ld_36 = 5;
else ld_36 = 4;
int l_ord_total_172 = OrdersTotal();
if (l_ord_total_172 > 0) {
l_ord_total_44 = OrdersTotal();
for (int l_pos_176 = 0; l_pos_176 < l_ord_total_44; l_pos_176++) {
OrderSelect(l_pos_176, SELECT_BY_POS);
if (OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber) {
l_cmd_48 = OrderType();
if (l_cmd_48 == OP_BUY) {
l_price_20 = NormalizeDouble(Ask + li_156 * Point * Broker_type, ld_36);
if (l_price_20 < OrderTakeProfit() && l_price_20 >= OrderOpenPrice() + TrailingTP * Point * Broker_type && l_price_20 >= Ask + li_156 * Point * Broker_type) ld_unused_28 = OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_price_20, 0, CLR_NONE);
}
}
}
}
if (OrderSelect(0, SELECT_BY_POS, MODE_TRADES)) l_ord_open_price_64 = OrderOpenPrice();
double ld_180 = NormalizeDouble(l_ord_open_price_64 + AdvancedClose * Point * Broker_type, ld_36);
if (ld_180 < Bid && TakeProfit != AdvancedClose || AdvancedClose != TrailingTP && OrderMagicNumber() == MagicNumber) {
for (int li_188 = OrdersTotal() - 1; li_188 >= 0; li_188--) {
if (OrderSelect(0, SELECT_BY_POS, MODE_TRADES)) {
l_cmd_72 = OrderType();
if (!((l_cmd_72 == OP_BUY || l_cmd_72 == OP_SELL))) continue;
while (true) {
if (l_cmd_72 == OP_BUY && OrderMagicNumber() == MagicNumber) l_price_56 = MarketInfo(OrderSymbol(), MODE_BID);
else l_price_56 = MarketInfo(OrderSymbol(), MODE_ASK);
l_ord_close_52 = OrderClose(OrderTicket(), OrderLots(), l_price_56, g_slippage_156, CLR_NONE);
if (l_ord_close_52 != 1) {
l_error_76 = GetLastError();
Print("LastError = ", l_error_76);
} else l_error_76 = 0;
if (l_error_76 != 135/* PRICE_CHANGED */) break;
RefreshRates();
}
}
Print("Error when order select ", GetLastError());
}
}
return (0);
}