通达信波段猎手指标公式
通达信牛暴涨主图指标公式
通达信波段猎手指标公式:
AX1:=REF(C,1);
AX2:=DCLOSE;
AX3:=(AX2-AX1)/AX1*100;
AAX1:=(AX3-REF(AX3,1));
AAX2:=9.8;
选股1:=crOSS(AAX1,AAX2);
A11:=REF(V,1);
A12:=Dvol;
A13:=A12/A11;
AA3:=(A13-REF(A13,1));
AA4:=500;
选股2:=CROSS(AA3,AA4);
抢劫:=选股1 AND 选股2;
XVAR1:=(HHV(H,13)-LLV(L,13));
XVAR2:=(HHV(H,13)-C);
XVAR3:=(C-LLV(L,13));
XVAR4:=XVAR2/XVAR1*100-70;
XVAR5:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
XVAR6:=(2*C+H+L)/4;
XVAR7:=SMA((XVAR3/XVAR1*100),3,1);
XVAR8:=LLV(L,34);
XVAR9:=SMA(XVAR7,3,1)-SMA(XVAR4,9,1);
XVAR10:=IF(XVAR9>100,XVAR9-100,0);
XVARA:=HHV(H,34);
防线:=EMA((XVAR6-XVAR8)/(XVARA-XVAR8)*100,8);
BB:EMA(防线,5);
DRAWBAND(BB,RGB(250,10,10),50,RGB(80,55,150));
stICKLINE(CROSS(BB,50),50,60,4,0);
BBB:=EMA(防线,30);
Q:=REF(防线-BB<0,5) AND REF(防线-BB<0,4) AND REF(防线-BB<0,3) AND REF(防线-BB<0,2) AND REF(防线-BB<0,1) {AND 防线<30} AND CROSS(防线>BB,0.5),LINETHICK0;
IF(BB>REF(BB,1) AND BB<50,BB,DRAWNULL)COLORLIMAGENTA,LINETHICK2;
IF(BB<REF(BB,1) AND BB>50,BB,DRAWNULL)COLORLIBLUE,LINETHICK2;
IF(BB<REF(BB,1) AND BB<50,BB,DRAWNULL)COLORWHITE,LINETHICK2;
IF(BB>REF(BB,1) AND BB>50,BB,DRAWNULL)COLORYELLOW,LINETHICK2;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
{DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));}
{STICKLINE(C>0,90,10,10,0),COLOR000000;}
RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K1:=SMA(RSV1,13,1);
D1:=SMA(K1,13,1);
ddx:EMA(D1,3)COLORCYAN;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),8,0),COLOR0055AA;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),7,0),COLOR0099DD;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),6,0),COLOR01BEE7;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(Abs(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);
操作:=EMA(B1,5),COLORRED;
生命:=EMA(VARD,1),COLORYELLOW;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
{STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),COLORYELLOW;}
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ,COLORFF9900 ;
安全:10,COLORWHITE,DOTLINE;
转强:=IF(CROSS(A5,安全),9,0),STICK,COLORLIRED,LINETHICK2;
拉升:=IF(CROSS(VARC,生命) AND VARC>VARD AND VARC<55 AND C>O,9,0),STICK,COLORRED,LINETHICK2;
VAR18:=HHV(HIGH,30);
VAR19:=LLV(LOW,30);
NL:=EMA((CLOSE-VAR19)/(VAR18-VAR19)*100,5)/8*10,COLORYELLOW,LINETHICK2;
VAR44:=REF(CLOSE,1);
VAR45:=SMA(MAX(CLOSE-VAR44,0),6,1)/SMA(ABS(CLOSE-VAR44),6,1)*100;
STICKLINE(CROSS(84,VAR45),100,105,0.8,1),COLORGREEN;
DRAWTEXT(CROSS(84,VAR45),100,'做顶')COLORGREEN;
STICKLINE(BB<50 AND BB>REF(BB,1) AND 选股1 AND 选股2,0,20,3,1);
DRAWTEXT(BB<50 AND BB>REF(BB,1) AND 选股1 AND 选股2,5,'抢'),COLORYELLOW;
VARA1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));
VARA2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
VARA3:=REF(CLOSE,1);
VARA4:((SMA(MAX((CLOSE - VARA3),0),6,1) / SMA(ABS((CLOSE - VARA3)),6,1)) * 100);
VARA5:MAX(VARA4,10);
VARA6:MAX(VARA5,20);
VARA7:MAX(VARA6,30);
VARA8:MAX(VARA7,60);
VARA9:MAX(VARA8,89)COLORBLUE,DOTLINE;
DRAWTEXT(CROSS(NL,20),10,'做底'),COLORRED;
IF(VARA7>REF(VARA7,1),VARA7,DRAWNULL),LINETHICK2,COLORRED;
通达信一号趋势指标公式