HORILINE(g3 and g1 13,g3,20),LINETHICK2,COLORYELLOW;
涨停:=IF(REF(C,1)*1.1-C 0.01 ,1,0);
HH:=ref(COUNT(涨停,13) =1,1);
STICKLINE(涨停 AND COUNT(涨停,13) =1,c,o,4.5,0),COLORYELLOW;
DRAWTEXT(涨停 AND COUNT(涨停,13) =1,h*1.015,'涨'),COLORYELLOW,LINETHICK2;
DRAWTEXT(涨停 AND COUNT(涨停,13) =1,h*1.028,'停'),COLORYELLOW;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
V1:=v/ma(ref(v,1),5);V2:=indexv/ma(ref(indexv,1),5);v0:=v1/v2;
d4:=WINNER(c)*100;
s2:=WINNER(ref(c,1))*100;
d1:=o ma7 and c ma7 and EMA(CLOSE,17) ref(EMA(CLOSE,17),1) and hh;
DRAWTEXT(d1 0,l*0.98,'启动'),COLORYELLOW;
f1:=(d4 s2+20 or (cross(d4,86) and ref(d4,1) 80)) and hh;
DRAWTEXT(f1 0 and c ref(g2,1),l,'强势'),COLORYELLOW;
DIFF1:=EMA(INDEXC,12)-EMA(INDEXC,26);
DEA1 :=EMA(DIFF1,9);
MACD1:=2*(DIFF1-DEA1);
大盘:MACD1-REF(MACD1,1),LINETHICK0;
DRAWFLAGTEXT(大盘 0,l,'大盘稳健'),COLORYELLOW,LINETHICK5;
DRAWFLAGTEXT(大盘 0,l,'大盘风险'),DOTLINE,LINETHICK5;