共 123 篇文章 |
|
}//+------------------------------------------------------------------+//| |//+------------------------------------------------------------------+void DrawSpreadColumn(string symbolName,int x,int y,string text,int fontSize=8,string fontName="Calibri") { int digits=(int)Mar... 阅1 转自艾云策略 公众公开 23-10-21 10:23 |
MetaTrader 4 自动中文语音报价脚本 自动语音报价.mq4这个脚本是用来配合MT4平台再汇率变动时进行中文语音的自动报价, 具体包含有如下功能:1. 可以设置使用买入价或者卖出价.2. 可以设置两次语音报价之间的最小时间间隔.3. 可以设置是否报出交易货币名称4. 可以设置是否报出两次报价之间的点数变动5. 可以设置两组需要进行语音报价的点数范围 ... 阅1 转自素人堂 公众公开 23-10-21 10:12 |
阅1 转自quanshan 公众公开 21-11-25 20:44 |
阅73 转2 评0 公众公开 21-10-18 20:39 |
double iAlligator( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift,int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int 第 )鳄鱼指标。double iADX( string 币 , int 框, int 周, int 价类, int 均类, int 第)ADX.double iStochastic( string 币, int 框,... 阅201 转0 评0 公众公开 21-10-18 19:42 |
double rsi_2=iRSI(币种,时间周期,RSI周期,PRICE_CLOSE,2); PrintFormat("前三根K线RSI值为:%.5f,%.5f,%.5f",rsi_0,rsi_1,rsi_2); //---------- 获取 EURUSD 日线日收盘RSI值 -----------// double rsi_eurusd=iRSI("EURUSD",PERIOD_D1,14,PRICE_CLOSE,1); PrintFormat("EURUSD日线的RSI值为:%.5f",rsi_eurusd... 阅80 转1 评0 公众公开 20-11-13 10:24 |
if (ObjectFind("LeftTime") != -1) ObjectDelete("LeftTime");int li_12 = Time[0] + 60 * Period() - TimeCurrent();int li_16 = li_12 % 60;li_12 = (li_12 - li_12 % 60) / 60;ObjectSetText("time", " <--" + li_12 + ":" + li_16, 13, "Verdana", 跟随... 阅88 转1 评0 公众公开 20-10-07 11:15 |
MT4屏幕写字。ObjectCreate("label_object", OBJ_LABEL, 0, 0, 0);//物件建立(标签物件)ObjectSetText("label_object","收盘线-阴线设置CC,阳线设置AA 设置好线条后,再开启EA开。关",24,"Arial",Red);//设定标签物件文字,大小,字型,颜色。ObjectSet("label_object", OBJPROP_XDISTANCE, 20... 阅254 转3 评0 公众公开 20-07-22 09:58 |
三、函数中如果定义了自定义变量,那么此变量仅在本函数内部存在,函数运行结束时,自定义变量也就自动注销。4、求自定义指标的值我们经常自己编一些自定义指标,可用iCustom函数来取得自定义函数的值iCustom(商品名,K线周期,自定义指标名称,自定义指标参数1,参数2,参数3,,,自定义指标线编号,位置)如果自定义指标只有一根指标线,则自定义指标... 阅1 转自牛克思ing 公众公开 20-02-06 13:38 |
[ 变量类型] [ 变量名称] = [ 变量值];a<Bars;double Open[] // the array of prices of the current // chart opening barsdouble Close[] // the array of prices of the current // chart closing bars double Bid // the last known buying price in // the current currency pairdouble A... 阅1 转自思行5gzm3... 公众公开 19-09-04 14:19 |