通達信量能飽和度2指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2024-04-18 來源:互聯網
通達信量能飽和度2指標公式:
N:=20;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
量能飽和度:IF(SAT>1,1,SAT)*100,NODRAW;
AAA:=量能飽和度<=10;
BBB:=量能飽和度>10 AND 量能飽和度<=20;
CCC:=量能飽和度>20 AND 量能飽和度<=30;
DDD:=量能飽和度>30 AND 量能飽和度<=50;
EEE:=量能飽和度>50 AND 量能飽和度<=70;
FFF:=量能飽和度>70 AND 量能飽和度<=80;
GGG:=量能飽和度>80 AND 量能飽和度<=90;
HHH:=量能飽和度>90;
HH:=HHV(H,60);
LL:=LLV(L,60);
三分之一:=(HH-LL)/3;
再分八:=三分之一/9.5;
A1:=MA(CLOSE,13);
STICKLINE(AAA,A1,A1+再分八*2.5,3.5,1),COLORWHITE;
STICKLINE(BBB,A1,A1+再分八*3.5,3.5,1),COLORWHITE;
STICKLINE(CCC,A1,A1+再分八*4.5,3.5,1),COLORWHITE;
STICKLINE(DDD,A1,A1+再分八*5.5,3.5,1),COLORWHITE;
STICKLINE(EEE,A1,A1+再分八*6.5,3.5,1),COLORWHITE;
STICKLINE(FFF,A1,A1+再分八*7.5,3.5,1),COLORWHITE;
STICKLINE(GGG,A1,A1+再分八*8.5,3.5,1),COLORWHITE;
STICKLINE(HHH,A1,A1+再分八*9.5,3.5,1),COLORWHITE;
STICKLINE(C AND AAA,A1,A1+再分八,3,0),COLOR66CCCC;
STICKLINE(C AND BBB,A1,A1+再分八*2,3,0),COLOR6699CC;
STICKLINE(C AND CCC,A1,A1+再分八*3,3,0),COLOR6666CC;
STICKLINE(C AND DDD,A1,A1+再分八*4,3,0),COLOR6633CC;
STICKLINE(C AND EEE,A1,A1+再分八*5,3,0),COLOR00CCCC;
STICKLINE(C AND FFF,A1,A1+再分八*6,3,0),COLOR0099CC;
STICKLINE(C AND GGG,A1,A1+再分八*7,3,0),COLOR0066CC;
STICKLINE(C AND HHH,A1,A1+再分八*8,3,0),COLOR0000CC;
DRAWTEXT(AAA,A1+再分八*2,'1'),COLOR6699CC;
DRAWTEXT(BBB,A1+再分八*3,'2'),COLOR6666CC;
DRAWTEXT(CCC,A1+再分八*4,'③'),COLOR6633CC;
DRAWTEXT(DDD,A1+再分八*5,'④'),COLOR00CCCC;
DRAWTEXT(EEE,A1+再分八*6,'⑤'),COLOR0099CC;
DRAWTEXT(FFF,A1+再分八*7,'⑥'),COLOR0066CC;
DRAWTEXT(GGG,A1+再分八*8,'⑦'),COLOR0000CC;
DRAWTEXT(HHH,A1+再分八*9,'八'),COLORRED;
通達信量能飽和度2指標公式實例圖解:
通達信量能飽和度2指標公式