通達信蘭色飄帶主圖波段買賣指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2023-11-08 來源:互聯(lián)網
通達信蘭色飄帶主圖波段買賣指標公式:
N:=5;CT:=0;
TON:=TOTALBARSCOUNT;
NN:=IF(BARSCOUNT(C)<N,BARSCOUNT(C),N);
上軌:REF(MA(H,NN),1),NODRAW;
下軌:REF(MA(L,NN),1),NODRAW;
帶寬:100*(上軌/下軌-1),NODRAW;
STICKLINE(C,上軌,下軌,4,0),COLOR660000;
PA:=IF(CT=0,上軌,下軌);
BS:=FILTER(CROSS(C,PA),9);
信號:IF(BS,PA,0),NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE),COLOR00FFFF;
BN:=BARSLAST(BS>0); 信號數(shù):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)/信號數(shù),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)/信號數(shù),NODRAW;
M3:MA(C,30),LINETHICK2;
M6:MA(C,60),LINETHICK2;
M12:MA(C,125),LINETHICK2;
M25:MA(C,250),LINETHICK2;
N1:=300;{注:鎖定顯示區(qū)為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,'上軌★信號數(shù)','下軌★信號數(shù)')),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(信號數(shù))),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;
通達信蘭色飄帶主圖波段買賣指標公式實例圖解:
通達信蘭色飄帶主圖波段買賣指標公式