DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.01,0,'【操作时间:下午2:30】'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.08,0,'【买入信号:出现 B买入 时买入】'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.15,0,'【卖出信号:出现 卖 时坚决卖出】'),COLORGREEN;
AA:=(4*LOW+2*OPEN+6*CLOSE)/12;
BB:=(4*HIGH+2*OPEN+6*CLOSE)/12;
熊线:=(20*AA+19*REF(AA,1)+18*REF(AA,2)+17*REF(AA,3)+16*REF(AA,4)+15*REF(AA,5)+14*REF(AA,6)+13*REF(AA,7)+12*REF(AA,8)+11*REF(AA,9)+10*REF(AA,10)+9*REF(AA,11)+8*REF(AA,12)+7*REF(AA,13)+6*REF(AA,14)+5*REF(AA,15)+4*REF(AA,16)+3*REF(AA,17)+2*REF(AA,18)+REF(AA,20))/210,COLORGRAY;
牛线:=(20*BB+19*REF(BB,1)+18*REF(BB,2)+17*REF(BB,3)+16*REF(BB,4)+15*REF(BB,5)+14*REF(BB,6)+13*REF(BB,7)+12*REF(BB,8)+11*REF(BB,9)+10*REF(BB,10)+9*REF(BB,11)+8*REF(BB,12)+7*REF(BB,13)+6*REF(BB,14)+5*REF(BB,15)+4*REF(BB,16)+3*REF(BB,17)+2*REF(BB,18)+REF(BB,20))/210,COLORRED;{www.9m8.cn 九毛八公式指标网}
熊市区:IF(熊线,熊线,0),COLORGRAY,LINESTICK,LINETHICK1;
SEU:=IF(熊线,熊线,0),COLORGRAY,LINESTICK,LINETHICK1;
STICKLINE(C SEU AND C =O,O,C,3,1),COLORRED;
STICKLINE(C SEU AND C =O,H,C,0,0),COLORRED;
STICKLINE(C SEU AND C =O,L,O,0,0),COLORRED;
STICKLINE(C SEU AND C O,O,C,1.8,0),COLORRED;
牛市区:IF(牛线,牛线,0),COLORRED,LINETHICK1;
SES:=IF(牛线,牛线,0),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(C,SES),L*0.99,' B 买入'),COLORYELLOW,LINETHICK3;
STICKLINE(C O,O,H,0,1),COLORRED;
STICKLINE(C O,C,L,0,1),COLORRED;
DRAWTEXT(CROSS(SEU,C),H*1.01,'卖'),COLORGREEN,LINETHICK3;
STICKLINE(C SES AND C SEU AND C O,O,C,1.8,1),COLORGREEN;
STICKLINE(C SES AND C SEU AND C =O,C,O,3,0),COLORGREEN;
STICKLINE(C SES AND C SEU AND C =O ,H,L,0,0),COLORGREEN;
STICKLINE(C SES AND C SEU AND C O ,C,H,0,1),COLORGREEN;
STICKLINE(C SES AND C SEU,SES,SEU,0.0,0),COLORGREEN;
STICKLINE(C SES AND C SEU AND C O ,O,L,0,1),COLORGREEN;
STICKLINE(C SEU AND C SES,SEU,SES,0.0,0),COLORRED;