一个程序问题
您好,请教问题,下面的程序无法输出‘下穿均线’的箭头,而上穿可以。找不到原因,请指教,谢谢!//======================================================
#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 今天无聊来逛逛 来几句吧 HOHO~~~~~~ #无语 小心大家盯上你哦 好帖,有才 呵呵 哪天得看看 `~~~~ 老大,我好崇拜你哟 支持一下吧