通達信多空生命線橫空出世主圖指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2024-12-20 來源:互聯(lián)網(wǎng)
通達信多空生命線橫空出世主圖指標(biāo)公式:
生命線:MA(CLOSE,26),COLORRED,LINETHICK2;STICKLINE(C>=生命線 AND C>=O,C,O,7,0),COLORRED;STICKLINE(C>=生命線 AND C>=O,H,L,0,0),COLORRED;DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ;
多頭線:EMA(C,1.5),COLORYELLOW;
空頭線:EMA(C,5),COLOR00FF00;
均衡線:EMA(空頭線,5),COLORWHITE;
VARF1:=COUNT(CROSS(多頭線,均衡線),2)=1;
VARF2:=COUNT(CROSS(空頭線,均衡線),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡線*0.98,' 主力拉升'),COLOR00FF00;
MTM:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;
白買進:0,COLORWHITE,LINETHICK0;
黃加倉:0,COLORYELLOW,LINETHICK0 ;
藍跌:0,COLORBLUE,LINETHICK0;
綠見頂:0,COLORGREEN,LINETHICK0;
粗紅強勢:0,COLORRED,LINETHICK0;
紅藍調(diào)整:0,COLORRED,LINETHICK0;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'買 '),COLOR4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'賣 '),COLORFFFF34;
VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);
VAR4:=EMA(C,20);VAR5:=EMA(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE;STICKLINE(VAR7<1*REF(VAR7,1),O,C,5,1),COLORBLUE;STICKLINE(VAR7>1*REF(VAR7,1),H,L,0.5,0),COLORRED;STICKLINE(VAR7>1*REF(VAR7,1),O,C,5, 1),COLORRED;STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0.5,0),COLORGREEN;STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,5, 1),COLORGREEN;買進價:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;買進條件:=CROSS(C,買進價) AND 買進價>REF(買進價,1);STICKLINE(買進條件,H,L,0.5,1),COLORWHITE,LINETHICK2;STICKLINE(買進條件,O,C,6,0),COLORWHITE,LINETHICK2;加碼價:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;加碼條件:=CROSS(C,加碼價) AND 加碼價>REF(加碼價,1);STICKLINE(加碼條件,H,L,0.5,1),COLORYELLOW,LINETHICK2;STICKLINE(加碼條件,O,C,6,0),COLORYELLOW,LINETHICK2;
通達信多空生命線橫空出世主圖指標(biāo)公式實例圖解:
通達信多空生命線橫空出世主圖指標(biāo)公式