客服热线:18391752892
顺水的鱼MT4外汇EA趋势对冲马丁延迟套利指标智能交易系统
顺水的鱼MT4外汇EA
商家二维码
手机查看商家
18391752892
首页>金融学院>行业分析>售价476美金的商业EA源码奉献 <上一个 下一个>
交易员学习资料推荐

  • 注册资本|未填写
  • 企业类型|
  • 主营产品|
  • 公司地区|全国
  • 公司荣誉|
金融学院分类
  • 暂无分类
本页信息为顺水的鱼MT4外汇EA为您提供的“售价476美金的商业EA源码奉献”金融学院,如您想了解更多关于“售价476美金的商业EA源码奉献”关注顺水外汇网。
品牌售价476美金的商业EA源码奉献 有效期至长期有效 最后更新2019-01-10 18:45
浏览次数797

售价476美金的商业EA源码奉献

//用于15分钟。

//EA名字叫 高级n.com target=_blank >外汇智能交易系统

//-------------------------------------------------------------------------
extern string G_Parameters = ---- Trade Management ----
extern int MaxTrades = 1;
extern double TakeProfit = 30;//30/40//50
extern int StopLoss = 75;
extern bool UseHourTrade = FALSE;
extern int FromHourTrade = 6;
extern int ToHourTrade = 18;
extern int magic = 3557;
extern string MM_Parameters = ---- Money Management ----
extern double Lots = 1.0;
extern bool MM = FALSE;
extern bool AccountIsMicro = FALSE;
extern int Risk = 15;
double gd_144 = 1.0;
int g_error_152;

 

double setpoint() {
 double ld_ret_0;
 if (Digits = 3) ld_ret_0 = 0.01;
 else ld_ret_0 = 0.0001;
 return (ld_ret_0);
}

int init() {
 string ls_0 = 2019.08.08
 int l_str2time_8 = StrToTime(ls_0);
 if (TimeCurrent() = l_str2time_8) {
 Print( The trial version has been expired
 return (0);
 }
 if (Period() != PERIOD_M15) {
 Print( Please select 15 min period.
 return (0);
 }
 SetDigits();
 HideTestIndicators(TRUE);
 return (0);
}

void SetDigits() {
 if (Digits == 5 || Digits == 3) gd_144 = 10;
}

void deinit() {
 Comment(
}

int orderscnt() {
 int l_count_0 = 0;
 for (int l_pos_4 = 0; l_pos_4 OrdersTotal(); l_pos_4++) {
 if (OrderSelect(l_pos_4, SELECT_BY_POS, MODE_TRADES))
 if (OrderSymbol() == Symbol() magic == OrderMagicNumber()) l_count_0++;
 }
 return (l_count_0);
}

int start() {
 double ld_0;
 double ld_8;
 int l_ticket_16;
 //ads();
 double l_ihigh_20 = iHigh(NULL, 0, 1);
 double l_ihigh_28 = iHigh(NULL, 0, 2);
 double l_ihigh_36 = iHigh(NULL, 0, 1);
 double l_ihigh_44 = iHigh(NULL, 0, 2);
 double l_ilow_52 = iLow(NULL, 0, 1);
 double l_ilow_60 = iLow(NULL, 0, 2);
 double l_ilow_68 = iLow(NULL, 0, 1);
 double l_ilow_76 = iLow(NULL, 0, 2);
 double l_ima_84 = iMA(NULL, 0, 3, 0, MODE_EMA, PRICE_CLOSE, 1);
 double l_ima_92 = iMA(NULL, 0, 13, 0, MODE_EMA, PRICE_CLOSE, 1);
 double l_ima_100 = iMA(NULL, 0, 36, 0, MODE_EMA, PRICE_CLOSE, 1);
 double l_imomentum_108 = iMomentum(NULL, 0, 100, PRICE_OPEN, 0);
 double l_iadx_116 = iADX(NULL, 0, 41, PRICE_CLOSE, MODE_MAIN, 0);
 double l_irsi_124 = iRSI(NULL, 0, 31, PRICE_CLOSE, 0);
 // Comments();
 if (MM) Lots = subLotSize();
 int l_ord_total_132 = OrdersTotal();
 if (l_ord_total_132 1) {
 if (l_ihigh_20 l_ima_100 || l_ima_84 l_ima_92 || (l_ilow_52 l_ilow_60 l_ilow_76 l_ilow_60 l_ihigh_36 l_ihigh_28) l_imomentum_108 100.0 l_iadx_116 19.0
 l_irsi_124 70.0) {
 if (orderscnt() MaxTrades) {
 if (StopLoss == 0) ld_0 = 0;
 else ld_0 = Ask - StopLoss * setpoint() * gd_144;
 if (TakeProfit == 0.0) ld_8 = 0;
 else ld_8 = Ask + TakeProfit * setpoint() * gd_144;
 l_ticket_16 = OrderSend(Symbol(), OP_BUY, Lots, NormalizeDouble(Ask, Digits), 2, 0, 0, Ripper , magic, 0, Blue);
 if (l_ticket_16 = 0) {
 g_error_152 = GetLastError();
 if (g_error_152 0) Print( BuyOrderSend failed: , g_error_152, : , g_error_152);
 } else OrderModify(l_ticket_16, OrderOpenPrice(), NormalizeDouble(ld_0, Digits), NormalizeDouble(ld_8, Digits), 0, CLR_NONE);
 PlaySound( alert.wav
 }
 }
 if (l_ilow_52 l_ima_100 || l_ima_92 l_ima_84 || (l_ihigh_28 l_ihigh_20 l_ihigh_28 l_ihigh_44 l_ilow_60 l_ilow_68) l_imomentum_108 100.0 l_iadx_116 21.0
 l_irsi_124 30.0) {
 if (orderscnt() MaxTrades) {
 if (StopLoss == 0) ld_0 = 0;
 else ld_0 = Bid + StopLoss * setpoint() * gd_144;
 if (TakeProfit == 0.0) ld_8 = 0;
 else ld_8 = Bid - TakeProfit * setpoint() * gd_144;
 l_ticket_16 = OrderSend(Symbol(), OP_SELL, Lots, NormalizeDouble(Bid, Digits), 2, 0, 0, Ripper , magic, 0, Red);
 if (l_ticket_16 = 0) {
 g_error_152 = GetLastError();
 if (g_error_152 0) Print( SellOrderSend failed: , g_error_152, : , g_error_152);
 } else OrderModify(l_ticket_16, OrderOpenPrice(), NormalizeDouble(ld_0, Digits), NormalizeDouble(ld_8, Digits), 0, CLR_NONE);
 PlaySound( alert.wav
 }
 }
 return (0);
 }
 return (0);
}

void Comments() {
 string ls_0 =
 string ls_8 = n
 string ls_16 =
 + n
 + Copyright ?2010, ForexRipperEA
 + n
 + ======================
 + n
 + BROKER INFORMATION:
 + n
 + Broker:  + AccountCompany()
 + n
 + ======================
 + n
 + MARGIN INFORMATION:
 + n
 + Free Margin:  + DoubleToStr(AccountFreeMargin(), 2) + ls_8 + Used Margin:  + DoubleToStr(AccountMargin(), 2)
 + n
 + ====================== + ls_8;
 for (int l_count_24 = 0; !IsStopped() !IsConnected(); l_count_24++) {
 ls_0 = Not connected.
 Sleep(150);
 }
 if (UseHourTrade)
 if (!(Hour() = FromHourTrade Hour() = ToHourTrade)) ls_0 = Non-Trading Hours!
 Comment(ls_16 + ls_0);
}

double subLotSize() {
 double ld_ret_0 = MathCeil(AccountFreeMargin() * Risk / 1000.0) / 100.0;
 if (AccountIsMicro == FALSE) {
 if (ld_ret_0 0.1) ld_ret_0 = Lots;
 if (ld_ret_0 0.5 ld_ret_0 1.0) ld_ret_0 = 0.5;
 if (ld_ret_0 1.0) ld_ret_0 = MathCeil(ld_ret_0);
 if (ld_ret_0 100.0) ld_ret_0 = 100;
 } else {
 if (ld_ret_0 0.01) ld_ret_0 = Lots;
 if (ld_ret_0 1.0) ld_ret_0 = MathCeil(ld_ret_0);
 if (ld_ret_0 100.0) ld_ret_0 = 100;
 }
 return (ld_ret_0);
}

本文标签:
联系方式
顺水的鱼MT4外汇EA趋势对冲马丁延迟套利指标智能交易系统
0相关评论

为您推荐

免责声明:
当前页为售价476美金的商业EA源码奉献价格信息展示,该页所展示的售价476美金的商业EA源码奉献批发价格、售价476美金的商业EA源码奉献报价等相关信息均有企业自行提供,售价476美金的商业EA源码奉献价格真实性、准确性、合法性由店铺所有企业完全负责的。顺水的鱼MT4外汇EA趋势对冲马丁延迟套利指标智能交易系统对此不承担任何保证责任。
友情提醒:
建议您通过拨打售价476美金的商业EA源码奉献厂家联系方式确认最终价格,并索要售价476美金的商业EA源码奉献样品确认产品质量。如售价476美金的商业EA源码奉献报价过低,可能为虚假信息,请确认售价476美金的商业EA源码奉献报价真实性,谨防上当受骗。