{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
BN:=BARSLAST(BS 信号数:SUM(BS 0,0),NODRAW;
BJJ:=REF(PA,BN);
DRAWICON(信号 0 AND (BJJ/REF(BJJ,1)-1)*100 -N*2,LLV(L,7)*0.99,3);
DRAWICON(信号 0,LLV(L,7)*0.99,7);
P1:=HHV(H BJJ*1.03 AND BN 0 AND BN =3,BN+1);
短线机会%3:100*SUM(P1=1 AND REF(P1,1)=0,0)/信号数,NODRAW;
P2:=HHV(H BJJ*1.05 AND BN 0 AND BN =7,BN+1);
%7:100*SUM(P2=1 AND REF(P2,1)=0,0)/信号数,NODRAW;
M3:MA(C,30),LINETHICK2;
M6:MA(C,60),LINETHICK2;
M12:MA(C,125),LINETHICK2;
M25:MA(C,250),LINETHICK2;
N1:=300;{注:锁定显示区为310条K线时正常显示}
N2:=IF(TON N1,TON,N1);
AH:=CONST(HHV(H,N2)); AL:=CONST(LLV(L,N2)); AHL:=AH-AL;
DRAWTEXT(CURRBARSCOUNT=N2,AH+AHL*0.05,IF(CT=0,'上轨★信号数','下轨★信号数')),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=INTPART(N2*0.85),AH+AHL*0.05,' ★短线概率 ■三天3%】'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=INTPART(N2*0.63),AH+AHL*0.05,' % ■七天5%】 %★短线概率高低说明操盘相对安全性'),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=INTPART(N2*0.9),AH+AHL*0.05, CONST(信号数)),COLOR0088FF;
DRAWNUMBER(CURRBARSCOUNT=INTPART(N2*0.68),AH+AHL*0.05,CONST(短线机会%3)),COLOR0088FF;
DRAWNUMBER(CURRBARSCOUNT=INTPART(N2*0.52),AH+AHL*0.05,CONST(%7)),COLOR0088FF;