ENUM_TIMEFRAMESChartPeriod( longchart_id=0// 图表 ID ); 参量 chart_id=0 [in] 图表 ID. 0 意味着当前图表。 返回值 函数返回ENUM_TIMEFRAMES值之一,如果图表不存在,返回0。 示例: //+---+ //| 脚本程序起始函数 | //+---+ voidOnStart() { //--- 取得当前图表的周期并在日志中显示...
通过指定change_id,从日历数据库状态根据ID获得事件值数组 经济日历函数 CalendarValueLast 通过指定change_id和根据国家和/或货币进行排序的能力,从日历数据库状态获得所有事件值数组 经济日历函数 ceil 从上面返回最靠近的整数数值 数学函数 CharArrayToString 转换符号代码(ansi)到单符号数组 函数转换 ChartApp...
0240、CHARTEVENT_OBJECT_CREATE—创建图解物件; 0241、CHARTEVENT_OBJECT_CHANGE—通过属性对话框改变物件属性; 0242、CHARTEVENT_OBJECT_DELETE—删除图解物件; 0243、CHARTEVENT_CLICK—鼠标单击图表; 0244、CHARTEVENT_OBJECT_CLICK—鼠标单击属于图表的图解物件; 0245、CHARTEVENT_OBJECT_DRAG—用鼠标移动图解物件; 0246...
rates_high=CopyHigh(NULL,PERIOD_M1,time_start,time_end,iHigh); if(rates_high<0) PrintErrorOnCopyFunction("CopyHigh",_Symbol,PERIOD_M1,GetLastError()); //--- 复制每个柱形的最低价 rates_total=CopyLow(NULL,PERIOD_M1,time_start,time_end,iLow); if(rates_total<0) PrintErrorOnCopyFunction("...
3 Ema moving averages identify trend change with rsi confirm QuickTrend Scalper This Expert Advisor (EA) is designed for high-frequency trading on the 1-minute (M1) chart in both forex and crypto markets. It uses RSI and candlestick patterns to identify buy and sell signals, automatically exe...
(之 创建 创建 对象名 前名 6 0 0 CHARTEVENT_OBJECT_DELETE 名称 名称 称, 称对 等于 等于 对象名 象被 7 0 0 CHARTEVENT_OBJECT_CREATE 之前 没有警告 之前 称, 删除 名称 名称 对象名 而新 8 0 0 CHARTEVENT_OBJECT_CHANGE 对象 对象 称 对象 的创 的创 同时 建时 建时 创建) 间 间 修改...
0238、onchartevent 7、() 是chartevent 的处理程序:0239、chartevent_keydown 击键,图表窗口定格;0240、chartevent_object_create 创建图解物件;0241、chartevent_object_change 通过属性对话框改变物件属性;0242、chartevent_object_delete 删除图解物件;0243、chartevent_click 鼠标单击图表;0244、chartevent_object_...
If I need to have synchronized data in the indicator, I perform a synchronization check. Unfortunately, if there is no next tick coming (e.g. on weekends), there is no further call to OnCalculate and the indicator is not calculated. I helped myself by calling the ChartSetSymbolPeriod func...
Where is the function Chart Set Integer(...) ? I want to set the X-range of chart in MQL prigram, is it possiblr 4 okwh 13 September 2012 at 18:03 Added topic how to creat indicator with other priod?? I used indicator with other priod not current period,but no data received...
CHARTEVENT_CHART_CHANGE 通过属性对话框改变图表大小或更改图表属性 OnChartEvent CHARTEVENT_CLICK 点击一个图表 OnChartEvent CHARTEVENT_CUSTOM 事件的首写字符在自定义事件中 OnChartEvent CHARTEVENT_CUSTOM_LAST 事件的最后一个字符在自定义事件中 OnChartEvent CHARTEVENT_KEYDOWN 打键次数 OnChartEvent CHARTEVEN...