通達信猛虎出籠多空指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2024-03-15 來源:互聯網
通達信猛虎出籠多空指標公式:
P:=60;Q:=30;
A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,40)/A1/100;
A4:=SUM(AMOUNT,80)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-B1)/B1*100;
B4:=(CLOSE-B2)/B2*100;
控盤:1,COLORYELLOW,LINETHICK1;
高點:5,,COLORFF6600;
風險:-1,COLORGREEN,LINETHICK2;
低點:-4,COLORCCFF33;
現價:C,NODRAW;
DRAWTEXT(ISLASTBAR AND C,4,' 愿賭服輸四段分時'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,3,' 操作選擇正確時段'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,2,' 黃線上方謹慎看多'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-1.5,' 綠線下方保持警惕'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-2.5,' 嚴格遵守操作紀律'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-3.5,' 心態平衡投資順利'),COLOR0000BB;
分時確認:MA(REF(HHV(C,60),1),2),NODRAW;
均價:SUM(現價*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
回調認同:EMA(EXPMA(C,20),13),NODRAW;
分時壓力:MA(REF(HHV(C,30),1),2),NODRAW;
分時支撐:MA(REF(LLV(C,30),1),2),NODRAW;
STICKLINE(FILTER(C,60)>0,高點,低點,0.5,0),COLORRED;
STICKLINE(B4>0,0,B4,1,0),COLORYELLOW;
STICKLINE(B3>0,0,B3,1,0),COLORRED;
STICKLINE(B3<=0,0,B3,1,0),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR2:=EMA(J,6);
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
VAR5:=CEILING(SMA(VAR4,13,8));
VAR6:="SSRP.MA1";
VAR7:="SSRP.MA2";
SIGNAL1:=CROSS(VAR5,VAR2) AND C>=均價;
SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均價);
SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均價);
DRAWTEXT(SIGNAL1,-1,'虎'),COLOR0000BB;
DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2,'出'),COLORFF00FF;
DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2.8,'籠'),COLORFF00FF;
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2,'出'),COLORRED;
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2.8,'籠'),COLORRED;
通達信猛虎出籠多空指標公式實例圖解:
通達信猛虎出籠多空指標公式