通达信龍飞凤舞指标公式

通达信万能KDJ指标公式

通达信龍飞凤舞指标公式:

VAR22:=REF(LOW,1);

VAR23:=((SMA(Abs((LOW - VAR22)),3,1) / SMA(MAX((LOW - VAR22),0),3,1)) * 100);

VAR24:=EMA(IF((CLOSE * 1.2),(VAR23 * 10),(VAR23 / 10)),3);

VAR25:=LLV(LOW,38);

VAR26:=HHV(VAR24,38);

VAR27:=IF(LLV(LOW,90),1,0);

VAR28:=((EMA(IF((LOW <= VAR25),((VAR24 + (VAR26 * 2)) / 2),0),3) / 618) * VAR27);

主力秘密筹码:stICKLINE(VAR28,-30,VAR28/3-30,6,1),COLORRED;

VAR111:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

VAR112:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR113:=(SMA(VAR112,3,1)-18)*1.55;

VAR114:=SMA(VAR113,3,1);

VAR115:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;

VAR116:=SMA(VAR115,10,1);

VAR117:=(EMA(SMA(VAR116,8,1),34)-25)*2.6;

VAR118:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VAR119:=POW(MA(LOW,5),2)+MA(LOW,5);

VAR11A:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VAR11B:=((VAR118-LLV(VAR119,64))/(HHV(VAR11A,64)-LLV(VAR119,64))*150+65-10)/2;

VAR11C:=SMA(VAR11B,3,1)*1.5-46;

VAR11D:=SMA(VAR11C,3,1);

VAR11E:=3*VAR11C-2*VAR11D;

VAR11F:=(VAR111+VAR112+VAR115)/3;

VAR1110:=((VAR113+VAR113+VAR116+VAR11C)/4-15)*1.67;

VAR1111:=((VAR114+VAR114+VAR117+VAR11D)/4-15)*1.67;

VAR1112:=((VAR111+VAR115*2+VAR11F+VAR1110+VAR1111+VAR11B+VAR11C+VAR11D+VAR11E)/10-15)*1.67;

VAR1113:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;

VAR1114:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;

VAR1115:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;

VAR1116:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;

VAR1117:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;

VAR1118:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;

VAR1119:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;

VAR111A:=((VAR1113*8+VAR1114*8+VAR1115*8+VAR1116+VAR1117+VAR1118+VAR1119)/28-0.1)*185;

VAR111B:=SMA(VAR111A,3,1);

VAR111C:=(SMA(VAR111B,8,1)-8)*1.18;

浮筹1:=(VAR1110+VAR1111+VAR1112+VAR11C+VAR11D+VAR11E+VAR111C+VAR117)/13,COLORWHITE,POINTDOT;

浮筹2:=(VAR1110+VAR1111+VAR1112+VAR11C+VAR11D+VAR11E+VAR111C+VAR117)/21,COLORWHITE,POINTDOT;

浮筹3:=(VAR1110+VAR1111+VAR1112+VAR11C+VAR11D+VAR11E+VAR111C+VAR117)/34,COLORWHITE,POINTDOT;

{主要部分}

原点:=5,COLORGREEN;

止损:=CLOSE/(1.04);

逃命:=CLOSE/(1.06);

趋势0:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORWHITE;

趋势:=EMA(趋势0,13)COLORWHITE;

买1:=IF(趋势<=30,-30,0),LINETHICK1,COLORGREEN;

买2:=IF(趋势<=25,-25,0),LINETHICK1,COLORYELLOW;

买3:=IF(趋势<=15,-15,0),LINETHICK1,COLORMAGENTA;

低买:IF(趋势<=10,-10,0),LINETHICK3,COLORRED;

逃顶:IF(趋势>=105,96,105),LINETHICK2,COLORLIBLUE;

卖4:=IF(趋势>=95,86,95),LINETHICK2,COLORRED;

卖3:=IF(趋势>=88,79,88),LINETHICK2,COLORYELLOW;

卖2:=IF(趋势>=81,66,81),LINETHICK2,COLORMAGENTA;

卖1:=IF(趋势>=74,57,74),LINETHICK2,COLORBLUE;

低位启动:IF(crOSS(趋势,原点),0,-30),COLORMAGENTA,LINETHICK2;

私募买点:=IF((趋势<=3),-20,-30),COLORD9D919,LINETHICK2;

机构建增补仓:IF((趋势<5),-10,-30),COLORWHITE,LINETHICK2;

{中长趋势}

RSV1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

K1:=SMA(RSV1,6,1);

D1:=SMA(K1,6,1);

中线:STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1) ,EMA(D1,3) ,REF(EMA(D1,3),1) ,3 ,0),COLORRED;

STICKLINE(EMA(D1,3)<REF(EMA(D1,3),1) ,EMA(D1,3) ,REF(EMA(D1,3),1) ,3 ,0 ),COLORYELLOW;

RSV2:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;

K2:=SMA(RSV2,12,1);

D2:=SMA(K2,12,1);

长线:STICKLINE(EMA(D2,6)>REF(EMA(D2,6),1) ,EMA(D2,6) ,REF(EMA(D2,6),1) ,3 ,0),COLORMAGENTA;

STICKLINE(EMA(D2,6)<REF(EMA(D2,6),1) ,EMA(D2,6) ,REF(EMA(D2,6),1) ,3 ,0 ),COLORGREEN;

{筹码}

VAR1:=1;

VAR2:=1/WINNER(CLOSE);

VAR3:=MA(CLOSE,13);

VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);

VAR5:=LLV(LOW,75);

VAR6:=HHV(HIGH,75);

VAR7:=(VAR6-VAR5)/100;

VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);

VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);

VARA:=3*VAR8-2*SMA(VAR8,15,1);

VARB:=3*VAR9-2*SMA(VAR9,15,1);

VARC:=100-VARB;

主力:=(100-VARA)*VAR1;

散户:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1;

打压:(100-IF(VAR2>5,IF(VAR2<100,VAR2,VAR4-10),0))*VAR1;

VARD:=散户>VAR4;

VARE:=REF(LOW,1)*0.9;

VARF:=LOW*0.9;

VAR10:=(VARF*vol+VARE*(CAPITAL-VOL))/CAPITAL;

VAR11:=EMA(VAR10,30);

VAR12:=CLOSE-REF(CLOSE,1);

VAR13:=MAX(VAR12,0);

VAR14:=ABS(VAR12);

VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;

VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;

VAR17:=BARSCOUNT(CLOSE);

VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;

VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,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:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;

空中加油:STICKLINE(VARD,105,90,1,0),COLORWHITE;

长期阴跌建仓:STICKLINE(1,打压,100,1,-1),COLORYELLOW;

超跌反弹:STICKLINE(VAR20,105,90,3,0),COLORRED,COLORLIGREEN;

超跌:-30,LINETHICK2,COLORRED;

通达信主升开始选股指标公式