-
Market Maker
 Originally Posted by indosemar
saya dapet dari sebelah sama tdk ya..
#property copyright "Copyright © 2007, MetaQuotes Software Corp."
#property link "http://www.easyforex-profitable.com"
extern double step = 30.0;
int gi_84 = 0;
extern double proffactor = 10.0;
extern double mult = 1.5;
extern double lotsbuy = 0.1;
extern double lotssell = 0.1;
extern double maxLoss = 400.0;
extern double maxlot = 1.0;
extern int JamMulaiTrade1 = 10;
extern int JamSelesaiTrade1 = 13;
extern int JamMulaiTrade2 = 15;
extern int JamSelesaiTrade2 = 20;
double g_magic_152 = 555.0;
double g_magic_160 = 556.0;
double g_ord_open_price_168;
double g_ord_open_price_176;
double g_ord_lots_184;
double g_ord_lots_192;
double g_ord_lots_200;
double g_ord_lots_208;
double g_price_216;
double g_price_224;
double g_pos_232;
double g_ticket_264;
double g_ticket_272;
double gd_280;
double g_free_magrin_288;
double gd_296;
double gd_320;
int gi_unused_360 = 0;
int OrdersTotalMagicbuy(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int OrdersTotalMagicsell(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int orderclosebuy(int a_ticket_0) {
double l_bid_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_152) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_184 = OrderLots();
l_bid_16 = MarketInfo(l_symbol_4, MODE_BID);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_184, l_bid_16, 3, Fuchsia);
}
}
g_ord_lots_184 = lotsbuy;
return (0);
}
int orderclosesell(int a_ticket_0) {
double l_ask_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_160) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_192 = OrderLots();
l_ask_16 = MarketInfo(l_symbol_4, MODE_ASK);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_192, l_ask_16, 3, Lime);
}
}
g_ord_lots_192 = lotssell;
return (0);
}
int start() {
double ld_208;
double ld_216;
double ld_0 = 0;
double ld_8 = 0;
double l_icustom_80 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 1);
double l_icustom_88 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 2);
double l_icustom_96 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 1);
double l_icustom_104 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 2);
double l_icustom_112 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 0);
double l_icustom_136 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 1);
double l_istochastic_144 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_152 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_istochastic_160 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_168 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_ima_16 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 1);
double l_ima_24 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 2);
double l_ima_32 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 1);
double l_ima_40 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 2);
double l_ihigh_48 = iHigh(NULL, 0, 1);
double l_ilow_56 = iLow(NULL, 0, 1);
double l_iclose_64 = iClose(NULL, 0, 2);
int l_count_176 = 0;
int l_count_180 = 0;
if (Close[1] < l_ima_16) l_count_176--;
if (Close[1] > l_ima_32) l_count_176++;
if (Close[1] > Open[1]) l_count_180++;
if (Close[1] < Open[1]) l_count_180--;
string l_symbol_184 = OrderSymbol();
double l_spread_192 = MarketInfo(l_symbol_184, MODE_SPREAD);
double l_minlot_200 = MarketInfo(l_symbol_184, MODE_MINLOT);
if (l_minlot_200 == 0.01) {
gd_320 = 2;
gd_280 = maxlot;
}
if (l_minlot_200 == 0.1) {
gd_320 = 1;
gd_280 = maxlot;
}
if ((Hour() >= JamMulaiTrade1 && Hour() < JamSelesaiTrade1) || (Hour() >= JamMulaiTrade2 && Hour() < JamSelesaiTrade2)) {
if (Year() > 2009 && Month() >= 1 && Day() > 9) {
Comment("Expired, please re-order at http://www.easyforex-profitable.com");
return (0);
}
}
if (OrdersTotalMagicbuy(g_magic_152) > 0) {
for (g_pos_232 = 0; g_pos_232 < OrdersTotal(); g_pos_232++) {
OrderSelect(g_pos_232, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol() && OrderMagicNumber() == g_magic_152) {
g_ticket_264 = OrderTicket();
OrderSelect(g_ticket_264, SELECT_BY_TICKET, MODE_TRADES);
ld_208 += OrderLots();
g_ord_open_price_168 = OrderOpenPrice();
g_ord_lots_200 = OrderLots();
}
}
if (ld_208 + NormalizeDouble(g_ord_lots_200 * mult, gd_320) < gd_280) {
if (gi_84 == 0) {
if (Ask <= g_ord_open_price_168 - step * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
}
}
if (gi_84 == 1) {
if (Ask <= g_ord_open_price_168 - (step + OrdersTotalMagicbuy(g_magic_152) + OrdersTotalMagicbuy(g_magic_152) - 2.0) * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
kok coding'an ini ketika saya coba paste'kan d'Meta Editor, dan saya save. lalu coba saya eksekusi EAnya, nda' jalan mas EA trsebut??
-
-
 Originally Posted by indosemar
saya dapet dari sebelah sama tdk ya..
#property copyright "Copyright © 2007, MetaQuotes Software Corp."
#property link "http://www.easyforex-profitable.com"
extern double step = 30.0;
int gi_84 = 0;
extern double proffactor = 10.0;
extern double mult = 1.5;
extern double lotsbuy = 0.1;
extern double lotssell = 0.1;
extern double maxLoss = 400.0;
extern double maxlot = 1.0;
extern int JamMulaiTrade1 = 10;
extern int JamSelesaiTrade1 = 13;
extern int JamMulaiTrade2 = 15;
extern int JamSelesaiTrade2 = 20;
double g_magic_152 = 555.0;
double g_magic_160 = 556.0;
double g_ord_open_price_168;
double g_ord_open_price_176;
double g_ord_lots_184;
double g_ord_lots_192;
double g_ord_lots_200;
double g_ord_lots_208;
double g_price_216;
double g_price_224;
double g_pos_232;
double g_ticket_264;
double g_ticket_272;
double gd_280;
double g_free_magrin_288;
double gd_296;
double gd_320;
int gi_unused_360 = 0;
int OrdersTotalMagicbuy(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int OrdersTotalMagicsell(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int orderclosebuy(int a_ticket_0) {
double l_bid_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_152) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_184 = OrderLots();
l_bid_16 = MarketInfo(l_symbol_4, MODE_BID);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_184, l_bid_16, 3, Fuchsia);
}
}
g_ord_lots_184 = lotsbuy;
return (0);
}
int orderclosesell(int a_ticket_0) {
double l_ask_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_160) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_192 = OrderLots();
l_ask_16 = MarketInfo(l_symbol_4, MODE_ASK);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_192, l_ask_16, 3, Lime);
}
}
g_ord_lots_192 = lotssell;
return (0);
}
int start() {
double ld_208;
double ld_216;
double ld_0 = 0;
double ld_8 = 0;
double l_icustom_80 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 1);
double l_icustom_88 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 2);
double l_icustom_96 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 1);
double l_icustom_104 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 2);
double l_icustom_112 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 0);
double l_icustom_136 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 1);
double l_istochastic_144 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_152 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_istochastic_160 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_168 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_ima_16 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 1);
double l_ima_24 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 2);
double l_ima_32 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 1);
double l_ima_40 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 2);
double l_ihigh_48 = iHigh(NULL, 0, 1);
double l_ilow_56 = iLow(NULL, 0, 1);
double l_iclose_64 = iClose(NULL, 0, 2);
int l_count_176 = 0;
int l_count_180 = 0;
if (Close[1] < l_ima_16) l_count_176--;
if (Close[1] > l_ima_32) l_count_176++;
if (Close[1] > Open[1]) l_count_180++;
if (Close[1] < Open[1]) l_count_180--;
string l_symbol_184 = OrderSymbol();
double l_spread_192 = MarketInfo(l_symbol_184, MODE_SPREAD);
double l_minlot_200 = MarketInfo(l_symbol_184, MODE_MINLOT);
if (l_minlot_200 == 0.01) {
gd_320 = 2;
gd_280 = maxlot;
}
if (l_minlot_200 == 0.1) {
gd_320 = 1;
gd_280 = maxlot;
}
if ((Hour() >= JamMulaiTrade1 && Hour() < JamSelesaiTrade1) || (Hour() >= JamMulaiTrade2 && Hour() < JamSelesaiTrade2)) {
if (Year() > 2009 && Month() >= 1 && Day() > 9) {
Comment("Expired, please re-order at http://www.easyforex-profitable.com");
return (0);
}
}
if (OrdersTotalMagicbuy(g_magic_152) > 0) {
for (g_pos_232 = 0; g_pos_232 < OrdersTotal(); g_pos_232++) {
OrderSelect(g_pos_232, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol() && OrderMagicNumber() == g_magic_152) {
g_ticket_264 = OrderTicket();
OrderSelect(g_ticket_264, SELECT_BY_TICKET, MODE_TRADES);
ld_208 += OrderLots();
g_ord_open_price_168 = OrderOpenPrice();
g_ord_lots_200 = OrderLots();
}
}
if (ld_208 + NormalizeDouble(g_ord_lots_200 * mult, gd_320) < gd_280) {
if (gi_84 == 0) {
if (Ask <= g_ord_open_price_168 - step * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
}
}
if (gi_84 == 1) {
if (Ask <= g_ord_open_price_168 - (step + OrdersTotalMagicbuy(g_magic_152) + OrdersTotalMagicbuy(g_magic_152) - 2.0) * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
ini coding sebuah ea ya gan baru kali ini saya lihat coding ea itu harus di gimanakan agar bisa menjadi sebuah ea ?
-
-
Elder Analyst
 Originally Posted by mencarinafkah
ini coding sebuah ea ya gan baru kali ini saya lihat coding ea itu harus di gimanakan agar bisa menjadi sebuah ea ?
di masukkan ke meta editor bawaan mt4 atau mt5 nya gan...
trus di save, trus bisa di pake untuk jadi EA
-
-
Market Maker
 Originally Posted by yodik
di masukkan ke meta editor bawaan mt4 atau mt5 nya gan...
trus di save, trus bisa di pake untuk jadi EA
saya dah coba lakukan copas coding trsebut k'meta editor, trus sya save, kmudian sya restart MT4nya, ktika mau sya test EA yang brusan d'buat tadi, kok nda' ada responnya om?? biasanya kan ada kotak dialog u/ setting TP, SL, maxorder, dll. kalau ndak gitu yang sruh centang" allow live trading, allow DLL import. kira" kenapa ya om?? mungkin ada yang bsa bntu
-
-
 Originally Posted by indosemar
saya dapet dari sebelah sama tdk ya..
#property copyright "Copyright © 2007, MetaQuotes Software Corp."
#property link "http://www.easyforex-profitable.com"
extern double step = 30.0;
int gi_84 = 0;
extern double proffactor = 10.0;
extern double mult = 1.5;
extern double lotsbuy = 0.1;
extern double lotssell = 0.1;
extern double maxLoss = 400.0;
extern double maxlot = 1.0;
extern int JamMulaiTrade1 = 10;
extern int JamSelesaiTrade1 = 13;
extern int JamMulaiTrade2 = 15;
extern int JamSelesaiTrade2 = 20;
double g_magic_152 = 555.0;
double g_magic_160 = 556.0;
double g_ord_open_price_168;
double g_ord_open_price_176;
double g_ord_lots_184;
double g_ord_lots_192;
double g_ord_lots_200;
double g_ord_lots_208;
double g_price_216;
double g_price_224;
double g_pos_232;
double g_ticket_264;
double g_ticket_272;
double gd_280;
double g_free_magrin_288;
double gd_296;
double gd_320;
int gi_unused_360 = 0;
int OrdersTotalMagicbuy(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int OrdersTotalMagicsell(int a_magic_0) {
int l_count_4 = 0;
for (int l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {
if (OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES))
if (OrderMagicNumber() == a_magic_0) l_count_4++;
}
return (l_count_4);
}
int orderclosebuy(int a_ticket_0) {
double l_bid_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_152) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_184 = OrderLots();
l_bid_16 = MarketInfo(l_symbol_4, MODE_BID);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_184, l_bid_16, 3, Fuchsia);
}
}
g_ord_lots_184 = lotsbuy;
return (0);
}
int orderclosesell(int a_ticket_0) {
double l_ask_16;
string l_symbol_4 = Symbol();
for (int l_ord_total_12 = OrdersTotal(); l_ord_total_12 >= 0; l_ord_total_12--) {
OrderSelect(l_ord_total_12, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == l_symbol_4 && OrderMagicNumber() == g_magic_160) {
a_ticket_0 = OrderTicket();
OrderSelect(a_ticket_0, SELECT_BY_TICKET, MODE_TRADES);
g_ord_lots_192 = OrderLots();
l_ask_16 = MarketInfo(l_symbol_4, MODE_ASK);
RefreshRates();
OrderClose(a_ticket_0, g_ord_lots_192, l_ask_16, 3, Lime);
}
}
g_ord_lots_192 = lotssell;
return (0);
}
int start() {
double ld_208;
double ld_216;
double ld_0 = 0;
double ld_8 = 0;
double l_icustom_80 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 1);
double l_icustom_88 = iCustom(NULL, 0, "HMA_Color_v02", 14, 3, 2);
double l_icustom_96 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 1);
double l_icustom_104 = iCustom(NULL, 0, "HMA_Color_v02", 40, 3, 2);
double l_icustom_112 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 0);
double l_icustom_136 = iCustom(NULL, 0, "HMA_Color_v02", 100, 3, 1);
double l_istochastic_144 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_152 = iStochastic(NULL, 0, 5, 3, 3, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_istochastic_160 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_MAIN, 1);
double l_istochastic_168 = iStochastic(NULL, 0, 50, 12, 12, MODE_LWMA, 0, MODE_SIGNAL, 1);
double l_ima_16 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 1);
double l_ima_24 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_LOW, 2);
double l_ima_32 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 1);
double l_ima_40 = iMA(NULL, 0, 5, 0, MODE_SMMA, PRICE_HIGH, 2);
double l_ihigh_48 = iHigh(NULL, 0, 1);
double l_ilow_56 = iLow(NULL, 0, 1);
double l_iclose_64 = iClose(NULL, 0, 2);
int l_count_176 = 0;
int l_count_180 = 0;
if (Close[1] < l_ima_16) l_count_176--;
if (Close[1] > l_ima_32) l_count_176++;
if (Close[1] > Open[1]) l_count_180++;
if (Close[1] < Open[1]) l_count_180--;
string l_symbol_184 = OrderSymbol();
double l_spread_192 = MarketInfo(l_symbol_184, MODE_SPREAD);
double l_minlot_200 = MarketInfo(l_symbol_184, MODE_MINLOT);
if (l_minlot_200 == 0.01) {
gd_320 = 2;
gd_280 = maxlot;
}
if (l_minlot_200 == 0.1) {
gd_320 = 1;
gd_280 = maxlot;
}
if ((Hour() >= JamMulaiTrade1 && Hour() < JamSelesaiTrade1) || (Hour() >= JamMulaiTrade2 && Hour() < JamSelesaiTrade2)) {
if (Year() > 2009 && Month() >= 1 && Day() > 9) {
Comment("Expired, please re-order at http://www.easyforex-profitable.com");
return (0);
}
}
if (OrdersTotalMagicbuy(g_magic_152) > 0) {
for (g_pos_232 = 0; g_pos_232 < OrdersTotal(); g_pos_232++) {
OrderSelect(g_pos_232, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == Symbol() && OrderMagicNumber() == g_magic_152) {
g_ticket_264 = OrderTicket();
OrderSelect(g_ticket_264, SELECT_BY_TICKET, MODE_TRADES);
ld_208 += OrderLots();
g_ord_open_price_168 = OrderOpenPrice();
g_ord_lots_200 = OrderLots();
}
}
if (ld_208 + NormalizeDouble(g_ord_lots_200 * mult, gd_320) < gd_280) {
if (gi_84 == 0) {
if (Ask <= g_ord_open_price_168 - step * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
}
}
if (gi_84 == 1) {
if (Ask <= g_ord_open_price_168 - (step + OrdersTotalMagicbuy(g_magic_152) + OrdersTotalMagicbuy(g_magic_152) - 2.0) * Point) {
g_ord_lots_184 = g_ord_lots_200 * mult;
RefreshRates();
g_ticket_264 = OrderSend(Symbol(), OP_BUY, NormalizeDouble(g_ord_lots_184, gd_320), Ask, 3, 0, 0, "MartingailExpert", g_magic_152, 0, Blue);
kalau max lossnya diperkecil jadi 200-300 sepertinya aman karena kalau 400 pips berarti terlalu beresiko besar sekali
-
-
Market Maker
 Originally Posted by george_soros_II
kalau max lossnya diperkecil jadi 200-300 sepertinya aman karena kalau 400 pips berarti terlalu beresiko besar sekali
Boleh juga bro, tapi ya kembali ke risk nya. Trading di GU/EU kalo 200 pips doang biasanya gampang kejilat (loss). Marti sih sepengetahuan ane dipake buat op dengan lot makin gede dengan harapan kalo posisi balik, kita bisa mendekatkan TP. Ane rasa, bukan jaraknya yg baiknya dikurangi, tapi stepnya yg ditambah. Kalo lagi trending di D chart, GU/EU bisa gerak kenceng ampe 500an. 200 terlalu sempit buat kedua pair ini
-
-
 Originally Posted by Bobby
Boleh juga bro, tapi ya kembali ke risk nya. Trading di GU/EU kalo 200 pips doang biasanya gampang kejilat (loss). Marti sih sepengetahuan ane dipake buat op dengan lot makin gede dengan harapan kalo posisi balik, kita bisa mendekatkan TP. Ane rasa, bukan jaraknya yg baiknya dikurangi, tapi stepnya yg ditambah. Kalo lagi trending di D chart, GU/EU bisa gerak kenceng ampe 500an. 200 terlalu sempit buat kedua pair ini
atau kalau kita buat untuk GU max lossnya 500 karena biasanya perbulan range gerakannya sejumlah ini
-
-
 Originally Posted by Bobby
Boleh juga bro, tapi ya kembali ke risk nya. Trading di GU/EU kalo 200 pips doang biasanya gampang kejilat (loss). Marti sih sepengetahuan ane dipake buat op dengan lot makin gede dengan harapan kalo posisi balik, kita bisa mendekatkan TP. Ane rasa, bukan jaraknya yg baiknya dikurangi, tapi stepnya yg ditambah. Kalo lagi trending di D chart, GU/EU bisa gerak kenceng ampe 500an. 200 terlalu sempit buat kedua pair ini
saya pikir yang harus disiapkan adalah yang pertama memperbesar kekuatan modal kita dan yang kedua adalah memperkecil atau meminimalkan open posisi dari ea tersebut... gimana gan
-
-
In Profit
 Originally Posted by mhchomsi
saya pikir yang harus disiapkan adalah yang pertama memperbesar kekuatan modal kita dan yang kedua adalah memperkecil atau meminimalkan open posisi dari ea tersebut... gimana gan
saya setuju gan. meminimalisir Open posisi dalam arti boleh open posisi tapi dibatasi gan. kalau OP terus ya bisa bangkrut, kalau modal kita minim. mungkin codingnya perlu dipangkas angka Open posisinya. bagaimana menurut agan yang lain.
-
-
Elder Analyst
 Originally Posted by forexter
yaa sebenarnya ada yg pake model begini, tetapi ada pembatasan transaksi, misal max order yang diperbolehkan untuk di buka max 5 order. Nahh jika sudah open 5 order maka dia tidak akan open order lagi.
iya gan kalau gak ada pembatasan bisa fatal hasilnya. dan kalau menurut saya marti sangat bisa membantu ketika kita sedang terfloating ria. nunggu pembalikan sedikit dah clear semua trx
-
-
In Profit
-
-
 Originally Posted by Bobby
Boleh juga bro, tapi ya kembali ke risk nya. Trading di GU/EU kalo 200 pips doang biasanya gampang kejilat (loss). Marti sih sepengetahuan ane dipake buat op dengan lot makin gede dengan harapan kalo posisi balik, kita bisa mendekatkan TP. Ane rasa, bukan jaraknya yg baiknya dikurangi, tapi stepnya yg ditambah. Kalo lagi trending di D chart, GU/EU bisa gerak kenceng ampe 500an. 200 terlalu sempit buat kedua pair ini
kalau perstep sekitar 200 pips marti maka kalau di D chart ada 2-3 step marti cukup besar berarti modalnya berarti pangkat dua atau pangkat tiga dari lot semula
-
-
 Originally Posted by ghprod
idealnya selain d batasin max trades kita perlu juga pbatasan dengan max loss dalam currency atau mgkn prosentase dari equity 
soalnya klo max trades aja, nantinya floating tllu lama bahaya juga bt margin
kalau max tradenya tidak dibatasi bisa bisa EA masih punya posisi puluhan OP tetapi buka OP lagi sehingga membahayakan margin kita, dan banyak EA seperti ini yang buka posisi puluhan posisi secara simultan
-
-
-
-
 Originally Posted by mhchomsi
saya pikir yang harus disiapkan adalah yang pertama memperbesar kekuatan modal kita dan yang kedua adalah memperkecil atau meminimalkan open posisi dari ea tersebut... gimana gan
kalau memperbesar kekuatan modal kita bisa kita gunakan akun mikro dan juga membatasi OP di scriptnya
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
| |
Calendar |
 |
|
| We Buy | We Sell |
| $1.3634 | $1.4056 |
|