国内新闻
求高手翻译移动平均线指标编程!!
2019-01-12 01:34  浏览:818
马上注册,结交更多好友,下载更多资源

您需要 登录 才可以下载或查看,没有帐号?注册 #property indicator_chart_window
 #property indicator_buffers 1
 #property indicator_color1 Red
 //---- indicator parameters
 extern int MA_Period=13;
 extern int MA_Shift=0;
 extern int MA_Method=0;
 //---- indicator buffers
 double ExtMapBuffer[];
 //----
 int ExtCountedBars=0;
 //+------------------------------------------------------------------+
 //| Custom indicator initialization function                  |
 //+------------------------------------------------------------------+
 int init()
    {
   int    draw_begin;
   string short_name;
 //---- drawing settings
   SetIndexStyle(0,DRAW_LINE);
   SetIndexShift(0,MA_Shift);
   IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
   if(MA_Period
外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!

发表评论
0评