DRAW_CANDLES 以蜡烛台序列展示 绘画风格 DRAW_COLOR_ARROW 描绘多色箭头 绘画风格 DRAW_COLOR_BARS 多色字节 绘画风格 DRAW_COLOR_CANDLES 多色蜡烛台 绘画风格 DRAW_COLOR_HISTOGRAM 从0线开始的多色直方图 绘画风格 DRAW_COLOR_HISTOGRAM2 两个指标缓冲区的多色直方图 绘画风格 DRAW_COLOR_LINE 多色线 绘画风格...
IndicatorShortName()IndicatorSetString(INDICATOR_SHORTNAME,name); SetIndexArrow()PlotIndexSetInteger(0,PLOT_ARROW,213); SetIndexBuffer()SetIndexBuffer(0,MABuffer,INDICATOR_DATA); // or INDICATOR_CALCULATIONS SetIndexDrawBegin()PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,KPeriod); SetIndexEmptyValue()PlotInde...
Mql5 is outdated #property indicator_type1 DRAW_ARROW #property indicator_width1 5 #property indicator_color1 0xFF0015 #property indicator_label1 "Buy" Buffer1[i] = Low[i] - ATR[i]; //Set indicator value at Candlestick Low - Average True Range if (i == ...
nice!!!
//--- draw graphical objects on the chart in the upper left corner int size=((int)ChartGetInteger(0,CHART_HEIGHT_IN_PIXELS)/22); int i=0; int x=10; int y=0; int fz=size-4; y+=size; SetLabel("arrow"+(string)i,arrow(SignalMA),CORNER_RIGHT_UPPER,ANCHOR_RIGHT_UPPER...
SetIndexArrow() PlotIndexSetInteger(0,PLOT_ARROW,213); SetIndexBuffer() SetIndexBuffer(0,MABuffer,INDICATOR_DATA); // or INDICATOR_CALCULATIONS SetIndexDrawBegin() PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,KPeriod); SetIndexEmptyValue() PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0.0); SetIndexLabel() ...
(Average Direction Movement Index) indicators and works quite fast. Easy Trend Visualizer displays itself in the main chart window. It offers a range of alerts: horizontal line appears, horizontal line cross, arrow up, arrow down, previous horizontal line cross (PHLC). Available for MT4 and ...
MQL4/MQL5 函数变化对照表|MT5编程交流 MQL4/MQL5 函数变化对照表 管理提醒:本帖被 mt5 从 MQL5语言教学 移动到本区(2011-12-18)
voiddrawSwingPoint(stringobjName,datetimetime,doubleprice,intarrCode,colorclr,intdirection){if(ObjectFind(0,objName) <0){ObjectCreate(0,objName,OBJ_ARROW,0,time,price);ObjectSetInteger(0,objName,OBJPROP_ARROWCODE,arrCode);ObjectSetInteger(0,objName,OBJPROP_COLOR,clr);ObjectSetInteger(0,objName...
我看有的指标的箭头可以设置很大个。但是我的就很小。是使用了哪一个函数控制的 ? SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,233); SetIndexBuffer(0,UpBuffer_1); SetIndexEmptyValue(0,-40.0);38877 Ziheng Zhuang 2019.07.18 14:30 #1 用预编译指令,更加方便,比如,下图width1,width2 后面的数字就...