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...
PlotIndexSetInteger, PlotIndexGetInteger PLOT_ARROW_SHIFT DRAW_ARROW类型垂直箭头转换 PlotIndexSetInteger, PlotIndexGetInteger PLOT_COLOR_INDEXES 颜色数量 PlotIndexSetInteger, PlotIndexGetInteger PLOT_DRAW_BEGIN 在DataWindow中没有描绘和值的原始字节数量 PlotIndexSetInteger, PlotIndexGetInteger PLOT_DRAW_TYPE 图...
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() ...
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!!!
Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typ...
MQL4/MQL5 函数变化对照表|MT5编程交流 MQL4/MQL5 函数变化对照表 管理提醒:本帖被 mt5 从 MQL5语言教学 移动到本区(2011-12-18)
#property indicator_plots 7IndicatorCounted()const int prev_calculatedIndicatorDigits()IndicatorSetInteger(INDICATOR_DIGITS,_Digits);IndicatorShortName()IndicatorSetString(INDICATOR_SHORTNAME,name);SetIndexArrow()PlotIndexSetInteger(0,PLOT_ARROW,213);SetIndexBuffer()SetIndexBuffer(0,MABuffer,INDICATOR_DATA); ...
PlotIndexSetInteger(0, PLOT_ARROW, Mark); } for(int i = 0; i < TFS; ++i) { Handle[i] = iCustom(_WorkSymbol, TF[i], "IndWPR", WPRPeriod); if(Handle[i] == INVALID_HANDLE) return INIT_FAILED; } IndicatorSetInteger(INDICATOR_DIGITS, 2); IndicatorSetString(INDICATOR_...
//--- plot buy #property indicator_label1 "buy" #property indicator_type1 DRAW_ARROW #property indicator_color1 clrDeepSkyBlue #property indicator_style1 STYLE_SOLID #property indicator_width1 1 //--- plot sell #property indicator_label2 "sell" #property indicator_type2 DRAW_ARROW #property...