smhlucky 发表于 2011-10-3 18:14:31

一个程序问题

您好,请教问题,下面的程序无法输出‘下穿均线’的箭头,而上穿可以。找不到原因,请指教,谢谢!
//======================================================
#propertyindicator_chart_window
#propertyindicator_buffers 2         
#propertyindicator_color1 Red
#propertyindicator_color2 Purple
extern int均线=5;
double md[];
double mk[];
double temp0,temp1;
int init()
    {
      IndicatorBuffers(2);
      SetIndexBuffer(0,md);
      SetIndexBuffer(1,mk);
      SetIndexStyle(0,DRAW_ARROW);
      SetIndexStyle(1,DRAW_ARROW);
      SetIndexArrow(0,204);
      SetIndexArrow(1,233);
      IndicatorDigits(Digits);
   return(0);
    }
int start()
    {
   int limit;
   int counted_bars=IndicatorCounted();
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   for(int i=0; itemp0&& Close

不要找他 发表于 2012-11-22 01:12:18

今天无聊来逛逛

lr兑换 发表于 2012-11-22 01:12:18

来几句吧

加Q2219910020 发表于 2012-11-22 01:36:01

HOHO~~~~~~

醉醒翁 发表于 2012-11-22 01:36:01

#无语

福尔摩斯 发表于 2012-11-22 01:36:01

小心大家盯上你哦

baoshan2007 发表于 2012-11-22 01:36:01

好帖,有才

搁浅 发表于 2012-11-22 01:36:01

呵呵 哪天得看看 `~~~~

金银 发表于 2012-11-22 01:36:01

老大,我好崇拜你哟

gjjking 发表于 2012-11-22 01:36:01

支持一下吧
页: [1] 2 3
查看完整版本: 一个程序问题