通達信合并趨勢頂?shù)撞俦P指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 副圖
- 日期:2019-10-06 來源:互聯(lián)網(wǎng)
通達信合并趨勢頂?shù)撞俦P指標(biāo)公式:
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=VAR11-CLOSE;
VAR13:=REF(CLOSE,1);
VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;
VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;
VAR16:=BARSCOUNT(CLOSE);
VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1A:=(SMA(VAR19,4,1)-50)*2;
VAR1B:=SMA(VAR1A,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50,100,0),LINETHICK3,COLORYELLOW ;
極限反擊:= VAR20;
STICKLINE (極限反擊>0,1,89,1.3,0),COLORGREEN;
STICKLINE (極限反擊>0,3,87,0.00001,0),COLORBLACK;
W:80,COLOR996699;
S:20,COLORGREEN;
Y:10,COLORCC6633,LINETHICK2;
T:90,COLOR9966FF,LINETHICK2;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
長期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:(REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線) ;
頂區(qū):(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4,COLORRED;
頂部:FILTER(頂區(qū),4);
底區(qū):(長期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長期線<10 AND 中期線<7 AND 短期線<1),COLORYELLOW ;
STICKLINE(頂部,99,103,4,1 ),COLORRED,LINETHICK2;
STICKLINE( 底區(qū),-4,0,4,0 ),COLORGREEN;
低位金叉:=長期線<15 AND REF(長期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長期線 OR REF( 短期線,1)<1 );
STICKLINE( 低位金叉,0,5,4,0 ),COLORRED;
DRAWICON (CROSS(長期線,中期線) ,0,2);
DRAWICON(CROSS(中期線,長期線),0,1);
STICKLINE( 見頂,99.5,102.5,3,0 ),COLORGREEN;
STICKLINE( 見頂,100.5,101.5,1.5,0 ),COLORRED;
VAR111:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR222:=EMA(VAR111,30);
VAR333:=EMA(VAR222,30);
VAR444:=3*VAR222-2*VAR333;
勢:=EMA(VAR444,5),COLORBLUE,LINETHICK3;
持幣:IF(勢<REF(勢,1),-5,DRAWNULL),CIRCLEDOT,COLORGREEN;
持股:IF(勢>REF(勢,1),-5,DRAWNULL),CIRCLEDOT,COLOR000099;
通達信合并趨勢頂?shù)撞俦P指標(biāo)公式實例圖解:
通達信合并趨勢頂?shù)撞俦P指標(biāo)公式