如何编码? - 页 216 1...209210211212213214215216217218219220221222223...347 新评论 [删除] 2009.11.13 15:19 #2151 对不起,我忘了修改主题行。 应该是 "从修改后的订单中获取原始单价"。 谢谢。 克里斯 bonnerFX 2009.11.15 07:56 #2152 请提供编码组合过滤器 大家好。 有谁能为MQ4编码指标,这是组合式的条形颜色过滤器,请提供。 eurusd, "eur/usd" eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 gbpusd, "gbp/usd" eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 AUDUSD, "AUD/USD" eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~euraud,~gbpaud,adjpy,adnzd,adchf,adcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 NZDUSD, "NZD/USD" eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~eurnzd,~gbpnzd,nzdjpy,~aaudnzd,nzdchf,nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 USDJPY, "USD/JPY" ~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurjpy,gbpjpy,chfjpy,cadjpy,udjpy,nzdjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 USDCHF, "USD/CHF" ~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurchf,gbpchf,~chfjpy,cadchf,udchf,nzdchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 USDCAD, "USD/CAD" ~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurcad,gbpcad,~cadjpy,~cadchf,audcad,nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 eurjpy, "eur/jpy" eurusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,usdjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 EURNZD, "EUR/NZD" eurusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,~nzdusd,gbpnzd,udnzd,~nzdjpy,~nzdchf,~nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 gbpjpy, "gbp/jpy" gbpusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,usdjpy,eurjpy,audjpy,nzdjpy,cadjpy, chfjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 GBPNZD, "GBP/NZD" gbpusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,~nzdusd,eurnzd,udnzd,~nzdjpy,~nzdchf,~nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 cadjpy, "cad/jpy" ~usdcad,~eurcad,~gbpcad,~audcad,~nzdcad,cadchf,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy,chfjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 audjpy, "ad/jpy" audusd,~euraud,~gbpaud,audnzd,audchf,audcad,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 NZDJPY, "NZD/JPY" nzdusd,~eurnzd,~gbpnzd,~audnzd,nzdchf,nzdcad,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 eurgbp, "eur/gbp" (欧元/英镑) eurusd,~gbpusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,~gbpaud,~gbpnzd,~gbpjpy,~gbpchf,~gbpcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 euraud, "欧元/澳元" eurusd,~audusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpaud,~audjpy,~audnzd,~audchf,~audcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 eurchf, "欧元/瑞士法郎" eurusd,usdchf,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpchf,~chfjpy,cadchf,udchf,nzdchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 EURCAD, "EUR/CAD" eurusd,usdcad,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpcad,~cadjpy,~cadchf,Audcad,nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 gbpaud, "gbp/aud" gbpusd,~audusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,euraud,~audjpy,~audnzd,~audchf,~audcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 GBPCHF, "GBP/CHF" gbpusd,usdchf,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,eurchf,~chfjpy,cadchf,udchf,nzdchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 GBPCAD, "GBP/CAD" gbpusd,usdcad,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,eurcad,~cadjpy,~cadchf,udcad,nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 CHFJPY, "CHF/JPY" ~usdchf,usdjpy,~eurchf,~gbpchf,~cadchf,~audchf,~nzdchf,eujpy,gbpjpy,chfjpy,cadjpy,audjpy,nzdjpy ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 cadchf, "cad/chf" ~usdcad,usdchf,~eurcad,~gbpcad,~audcad,~nzdcad,cadjpy,eurchf,gbpchf,~chfjpy,cadchf,udchf,nzdchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 audnzd, "aud/nzd" audusd,~nzdusd,~euraud,~gbpaud,audnzd,audchf,ad,audjpy,eurnzd,gbpnzd,~nzdjpy,~nzdchf,~nzdcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 AUDCHF, "AUD/CHF" audusd,usdchf,~euraud,~gbpaud,adnzd,audchf,audcad,audjpy,eurchf,gbpchf,~chfjpy,cadchf,nzdchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 audcad, "aud/cad" audusd,usdcad,~euraud,~gbpaud,adnzd,adchf,adcad,adjpy,eurcad,gbpcad,~cadjpy,nzdcad,~cadchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 NZDCAD, "NZD/CAD" nzdusd,usdcad,~eurnzd,~gbpnzd,nzdjpy,~audnzd,nzdcad,eurcad,gbpcad,~cadjpy,~cadchf,audcad ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 NZDCHF, "NZD/CHF" nzdusd,usdchf,~eurnzd,~gbpnzd,nzdjpy,~audnzd,nzdchf,nzdcad,eurchf,gbpchf,~chfjpy,cadchf,udchf ,,,,,,,,,,,, 0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769 *美元, "USD" ~eurusd,~gbpusd,usdchf,usdjpy,usdcad,~audusd,~nzdusd ,,,,,, .175,.175,.175,.175,.1,.1,.1 *欧元,"欧元" EURUSD,EEGBP,EURCHF,EURJPY,EURCAD,EURAUD,EURNZD ,,,,,, .175,.175,.175,.175,.1,.1,.1 *GBP, "英镑" gbpusd,~eurgbp,gbpchf,gbpjpy,gbpcad,gbpaud,gbpnzd ,,,,,, .175,.175,.175,.175,.1,.1,.1 *瑞士法郎, "CHF" ~usdchf,~eurchf,~gbpchf,chfjpy,~cadchf,~audchf,~nzdchf ,,,,,, .175,.175,.175,.175,.1,.1,.1 *CAD, "CAD" ~usdcad,~eurcad,~gbpcad,cadjpy,cadchf,~audcad,~nzdcad ,,,,,, .175,.175,.175,.175,.1,.1,.1 *JPY, "JPY" ~usdjpy,~eurjpy,~gbpjpy,~chfjpy,~cadjpy,~audjpy,~nzdjpy ,,,,,, .175,.175,.175,.175,.1,.1,.1 *澳元, "AUD" AUDUSD,~EURAUD,~GBPAUD,AUDJPY,AUDCAD,AUDCHF,AUDNZD ,,,,,, .175,.175,.175,.175,.1,.1,.1 *NZD, "NZD" NZDUSD,~EURNZD,~GBPNZD,NZDJPY,~AUDNZD,NZDCHF,NZDCAD ,,,,,, .175,.175,.175,.175,.1,.1,.1 How to code? 世界货币指数(泡沫破灭时清晰可见) 初学者的问题 MQL5 MT5 MetaTrader quest 2009.11.15 10:46 #2153 播放声音和警报 你好,有什么办法让PlaySound功能 和警报只运行一次(指标)?或者你可以直接使用EA睡眠(500)。 谢谢 quest 2009.11.17 08:42 #2154 盈利目标和止损 指标或EA 你好。 我的指标上有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一段时间内显示? 例如:每10秒 我尝试使用函数:Sleep(),不幸的是没有成功。 谢谢你的帮助 //+------------------------------------------------------------------+//| expert initialization function | //+------------------------------------------------------------------+外部 bool Percent = true;外部 bool Play_Sound = true;外置双倍风险=2.0。//+------------------------------------------------------------------+//| 专家启动功能|//+------------------------------------------------------------------+int start(){//----如果(Percent == true)如果(Play_Sound == true)double stop =AccountBalance()*(-Risk)/100;double profit =AccountBalance()*(Risk)/100;double floating_profit =AccountProfit();{如果(StrToDouble(floating_profit) <= stop){如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。{if(StrToDouble(floating_profit) >= profit) {如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。}}}}//----return(0);} quest 2009.11.17 08:45 #2155 盈利目标和止损 指标或EA 你好。 我的指标上有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一段时间内显示? 例如:每10秒 我尝试使用函数:Sleep(),不幸的是没有成功。 谢谢你的帮助 //|专家初始化功能 |//+------------------------------------------------------------------+ extern bool Percent = true;外部 bool Play_Sound = true;外置双倍风险=2.0。//+------------------------------------------------------------------+//|专家启动功能|//+------------------------------------------------------------------+int start(){//----如果(Percent == true)如果(Play_Sound == true)double stop =AccountBalance()*(-Risk)/100;double profit =AccountBalance()*(Risk)/100;double floating_profit =AccountProfit();{如果(StrToDouble(floating_profit) <= stop){如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。{if(StrToDouble(floating_profit) >= profit) {如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。}}}}//----return(0);} quest 2009.11.17 14:20 #2156 播放声音和警报功能 你好。 我的指标有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一定时间内显示? 例如:每10秒 我尝试使用函数:Sleep(),不幸的是没有成功。 谢谢你的帮助 //+------------------------------------------------------------------+//| expert initialization function |//+------------------------------------------------------------------+ 外部 bool Percent = true; 外部 bool Play_Sound = true; 外置双倍风险=2.0。 //+------------------------------------------------------------------+ //| 专家启动功能| //+------------------------------------------------------------------+ int start() { //---- 如果(Percent == true) 如果(Play_Sound == true) double stop =AccountBalance()*(-Risk)/100; double profit =AccountBalance()*(Risk)/100; double floating_profit =AccountProfit(); { 如果(StrToDouble(floating_profit) <= stop) { 如果(Play_Sound) PlaySound("alert.wav")。 Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。 { if(StrToDouble(floating_profit) >= profit) { 如果(Play_Sound) PlaySound("alert.wav")。 Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。 }}}} //---- return(0); } quest 2009.11.17 17:03 #2157 SL和PT警报EA 你好。 我的EA有一个问题,我注意到在实现利润目标和止损 的情况下。如何修改代码,使通知只在一定时间内显示? 例如:每10秒 我尝试使用函数:Sleep(),不幸的是没有成功。 谢谢你的帮助 //+------------------------------------------------------------------+//| expert initialization function | //+------------------------------------------------------------------+外部 bool Percent = true;外部 bool Play_Sound = true;外置双倍风险=2.0。//+------------------------------------------------------------------+//| 专家启动功能|//+------------------------------------------------------------------+int start(){//----如果(Percent == true)如果(Play_Sound == true)double stop =AccountBalance()*(-Risk)/100;double profit =AccountBalance()*(Risk)/100;double floating_profit =AccountProfit();{如果(StrToDouble(floating_profit) <= stop){如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。{if(StrToDouble(floating_profit) >= profit) {如果(Play_Sound) PlaySound("alert.wav")。Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。}}}}//----return(0);} vaclav01 2009.11.18 06:54 #2158 附加的文件: sb.mq4 7 kb snakeborders.mq4 9 kb increase 2009.11.18 07:01 #2159 对这个问题有什么帮助吗? 我在EA中使用一个箭头指标,所以当我激活EA时,直到第一个箭头出现,我才通过icustom获得一个值。 在指标中回查 并找到最后一个箭头值的循环是什么? t4fast 2009.11.18 08:31 #2160 嗨,伙计们。 谁能把这个简单的想法写成代码... 如果蜡烛收于移动平均线 之上......发出一个警报......直到 蜡烛收于同一移动平均线之下......也发出一个警报。 1...209210211212213214215216217218219220221222223...347 新评论 您错过了交易机会: 免费交易应用程序 8,000+信号可供复制 探索金融市场的经济新闻 注册 登录 拉丁字符(不带空格) 密码将被发送至该邮箱 发生错误 使用 Google 登录 您同意网站政策和使用条款 如果您没有帐号,请注册 可以使用cookies登录MQL5.com网站。 请在您的浏览器中启用必要的设置,否则您将无法登录。 忘记您的登录名/密码? 使用 Google 登录
对不起,我忘了修改主题行。
应该是 "从修改后的订单中获取原始单价"。
谢谢。
克里斯
请提供编码组合过滤器
大家好。
有谁能为MQ4编码指标,这是组合式的条形颜色过滤器,请提供。
eurusd, "eur/usd"
eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
gbpusd, "gbp/usd"
eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
AUDUSD, "AUD/USD"
eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~euraud,~gbpaud,adjpy,adnzd,adchf,adcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
NZDUSD, "NZD/USD"
eurusd,gbpusd,audusd,nzdusd,~usdjpy,~usdchf,~usdcad,~eurnzd,~gbpnzd,nzdjpy,~aaudnzd,nzdchf,nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
USDJPY, "USD/JPY"
~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurjpy,gbpjpy,chfjpy,cadjpy,udjpy,nzdjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
USDCHF, "USD/CHF"
~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurchf,gbpchf,~chfjpy,cadchf,udchf,nzdchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
USDCAD, "USD/CAD"
~eurusd,~gbpusd,~audusd,~nzdusd,usdjpy,usdchf,usdcad,eurcad,gbpcad,~cadjpy,~cadchf,audcad,nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
eurjpy, "eur/jpy"
eurusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,usdjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
EURNZD, "EUR/NZD"
eurusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,~nzdusd,gbpnzd,udnzd,~nzdjpy,~nzdchf,~nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
gbpjpy, "gbp/jpy"
gbpusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,usdjpy,eurjpy,audjpy,nzdjpy,cadjpy, chfjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
GBPNZD, "GBP/NZD"
gbpusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,~nzdusd,eurnzd,udnzd,~nzdjpy,~nzdchf,~nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
cadjpy, "cad/jpy"
~usdcad,~eurcad,~gbpcad,~audcad,~nzdcad,cadchf,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy,chfjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
audjpy, "ad/jpy"
audusd,~euraud,~gbpaud,audnzd,audchf,audcad,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
NZDJPY, "NZD/JPY"
nzdusd,~eurnzd,~gbpnzd,~audnzd,nzdchf,nzdcad,usdjpy,eurjpy,gbpjpy,audjpy,nzdjpy,cadjpy, chfjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
eurgbp, "eur/gbp" (欧元/英镑)
eurusd,~gbpusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,~gbpaud,~gbpnzd,~gbpjpy,~gbpchf,~gbpcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
euraud, "欧元/澳元"
eurusd,~audusd,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpaud,~audjpy,~audnzd,~audchf,~audcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
eurchf, "欧元/瑞士法郎"
eurusd,usdchf,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpchf,~chfjpy,cadchf,udchf,nzdchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
EURCAD, "EUR/CAD"
eurusd,usdcad,eurgbp,euraud,eurnzd,eurjpy,eurchf,eurcad,gbpcad,~cadjpy,~cadchf,Audcad,nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
gbpaud, "gbp/aud"
gbpusd,~audusd,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,euraud,~audjpy,~audnzd,~audchf,~audcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
GBPCHF, "GBP/CHF"
gbpusd,usdchf,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,eurchf,~chfjpy,cadchf,udchf,nzdchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
GBPCAD, "GBP/CAD"
gbpusd,usdcad,~eurgbp,gbpaud,gbpnzd,gbpjpy,gbpchf,gbpcad,eurcad,~cadjpy,~cadchf,udcad,nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
CHFJPY, "CHF/JPY"
~usdchf,usdjpy,~eurchf,~gbpchf,~cadchf,~audchf,~nzdchf,eujpy,gbpjpy,chfjpy,cadjpy,audjpy,nzdjpy
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
cadchf, "cad/chf"
~usdcad,usdchf,~eurcad,~gbpcad,~audcad,~nzdcad,cadjpy,eurchf,gbpchf,~chfjpy,cadchf,udchf,nzdchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
audnzd, "aud/nzd"
audusd,~nzdusd,~euraud,~gbpaud,audnzd,audchf,ad,audjpy,eurnzd,gbpnzd,~nzdjpy,~nzdchf,~nzdcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
AUDCHF, "AUD/CHF"
audusd,usdchf,~euraud,~gbpaud,adnzd,audchf,audcad,audjpy,eurchf,gbpchf,~chfjpy,cadchf,nzdchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
audcad, "aud/cad"
audusd,usdcad,~euraud,~gbpaud,adnzd,adchf,adcad,adjpy,eurcad,gbpcad,~cadjpy,nzdcad,~cadchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
NZDCAD, "NZD/CAD"
nzdusd,usdcad,~eurnzd,~gbpnzd,nzdjpy,~audnzd,nzdcad,eurcad,gbpcad,~cadjpy,~cadchf,audcad
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
NZDCHF, "NZD/CHF"
nzdusd,usdchf,~eurnzd,~gbpnzd,nzdjpy,~audnzd,nzdchf,nzdcad,eurchf,gbpchf,~chfjpy,cadchf,udchf
,,,,,,,,,,,,
0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769,0.0769
*美元, "USD"
~eurusd,~gbpusd,usdchf,usdjpy,usdcad,~audusd,~nzdusd
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*欧元,"欧元"
EURUSD,EEGBP,EURCHF,EURJPY,EURCAD,EURAUD,EURNZD
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*GBP, "英镑"
gbpusd,~eurgbp,gbpchf,gbpjpy,gbpcad,gbpaud,gbpnzd
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*瑞士法郎, "CHF"
~usdchf,~eurchf,~gbpchf,chfjpy,~cadchf,~audchf,~nzdchf
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*CAD, "CAD"
~usdcad,~eurcad,~gbpcad,cadjpy,cadchf,~audcad,~nzdcad
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*JPY, "JPY"
~usdjpy,~eurjpy,~gbpjpy,~chfjpy,~cadjpy,~audjpy,~nzdjpy
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*澳元, "AUD"
AUDUSD,~EURAUD,~GBPAUD,AUDJPY,AUDCAD,AUDCHF,AUDNZD
,,,,,,
.175,.175,.175,.175,.1,.1,.1
*NZD, "NZD"
NZDUSD,~EURNZD,~GBPNZD,NZDJPY,~AUDNZD,NZDCHF,NZDCAD
,,,,,,
.175,.175,.175,.175,.1,.1,.1
播放声音和警报
你好,有什么办法让PlaySound功能 和警报只运行一次(指标)?或者你可以直接使用EA睡眠(500)。
谢谢
盈利目标和止损 指标或EA
你好。
我的指标上有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一段时间内显示?
例如:每10秒
我尝试使用函数:Sleep(),不幸的是没有成功。
谢谢你的帮助
//| expert initialization function |
//+------------------------------------------------------------------+
外部 bool Percent = true;
外部 bool Play_Sound = true;
外置双倍风险=2.0。
//+------------------------------------------------------------------+
//| 专家启动功能|
//+------------------------------------------------------------------+
int start()
{
//----
如果(Percent == true)
如果(Play_Sound == true)
double stop =AccountBalance()*(-Risk)/100;
double profit =AccountBalance()*(Risk)/100;
double floating_profit =AccountProfit();
{
如果(StrToDouble(floating_profit) <= stop)
{
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。
{
if(StrToDouble(floating_profit) >= profit) {
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。
}}}}
//----
return(0);
}盈利目标和止损 指标或EA
你好。
我的指标上有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一段时间内显示?
例如:每10秒
我尝试使用函数:Sleep(),不幸的是没有成功。
谢谢你的帮助
//+------------------------------------------------------------------+
extern bool Percent = true;
外部 bool Play_Sound = true;
外置双倍风险=2.0。
//+------------------------------------------------------------------+
//|专家启动功能|
//+------------------------------------------------------------------+
int start()
{
//----
如果(Percent == true)
如果(Play_Sound == true)
double stop =AccountBalance()*(-Risk)/100;
double profit =AccountBalance()*(Risk)/100;
double floating_profit =AccountProfit();
{
如果(StrToDouble(floating_profit) <= stop)
{
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。
{
if(StrToDouble(floating_profit) >= profit) {
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。
}}}}
//----
return(0);
}播放声音和警报功能
你好。
我的指标有一个问题,我注意到在实现利润目标和止损的情况下。如何修改代码,使通知只在一定时间内显示?
例如:每10秒
我尝试使用函数:Sleep(),不幸的是没有成功。
谢谢你的帮助
//| expert initialization function |
//+------------------------------------------------------------------+
外部 bool Percent = true;
外部 bool Play_Sound = true;
外置双倍风险=2.0。
//+------------------------------------------------------------------+
//| 专家启动功能|
//+------------------------------------------------------------------+
int start()
{
//----
如果(Percent == true)
如果(Play_Sound == true)
double stop =AccountBalance()*(-Risk)/100;
double profit =AccountBalance()*(Risk)/100;
double floating_profit =AccountProfit();
{
如果(StrToDouble(floating_profit) <= stop)
{
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。
{
if(StrToDouble(floating_profit) >= profit) {
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。
}}}}
//----
return(0);
}SL和PT警报EA
你好。
我的EA有一个问题,我注意到在实现利润目标和止损 的情况下。如何修改代码,使通知只在一定时间内显示?
例如:每10秒
我尝试使用函数:Sleep(),不幸的是没有成功。
谢谢你的帮助
//| expert initialization function |
//+------------------------------------------------------------------+
外部 bool Percent = true;
外部 bool Play_Sound = true;
外置双倍风险=2.0。
//+------------------------------------------------------------------+
//| 专家启动功能|
//+------------------------------------------------------------------+
int start()
{
//----
如果(Percent == true)
如果(Play_Sound == true)
double stop =AccountBalance()*(-Risk)/100;
double profit =AccountBalance()*(Risk)/100;
double floating_profit =AccountProfit();
{
如果(StrToDouble(floating_profit) <= stop)
{
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。Stopp-loss "+Symbol()+" "+Hour()+": "+Minute()+": "+Seconds())。
{
if(StrToDouble(floating_profit) >= profit) {
如果(Play_Sound) PlaySound("alert.wav")。
Alert("警告价格。盈利目标 "+符号()+" "+小时()+": "+分钟()+": "+秒())。
}}}}
//----
return(0);
}对这个问题有什么帮助吗?
我在EA中使用一个箭头指标,所以当我激活EA时,直到第一个箭头出现,我才通过icustom获得一个值。
在指标中回查 并找到最后一个箭头值的循环是什么?
嗨,伙计们。
谁能把这个简单的想法写成代码...
如果蜡烛收于移动平均线 之上......发出一个警报......直到 蜡烛收于同一移动平均线之下......也发出一个警报。