通达信真龙共振擒龙抄底追涨副图指标公式源码:
真龙1:=CLOSE;真龙2:=LOW;真龙3:=OPEN;真龙4:=HIGH;龙飞凤舞1:=(真龙1-LLV(真龙2,27))/(HHV(真龙4,27)-LLV(真龙2,27))*100;龙飞凤舞2:=SMA(龙飞凤舞1,3,1);
龙飞凤舞3:=SMA(龙飞凤舞2,3,1);龙飞凤舞4:=REF(真龙2,1);龙飞凤舞5:=SMA(ABS(真龙2-龙飞凤舞4),3,1)/SMA(MAX(真龙2-龙飞凤舞4,0),3,1)*100;
龙飞凤舞6:=EMA(IF(真龙1*1.2,龙飞凤舞5*10,龙飞凤舞5/10),3);龙飞凤舞7:=LLV(真龙2,30);龙飞凤舞8:=HHV(龙飞凤舞6,30);
龙飞凤舞9:=IF(LLV(真龙2,58),1,0);龙飞凤舞10:=DMA((3*真龙4+真龙2+真龙3+2*真龙1)/7,VOL/(SUM(AMOUNT,8)/(AMOUNT/VOL/100)/100));
龙飞凤舞11:=DMA((3*真龙4+真龙2+真龙3+2*真龙1)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100));龙飞凤舞12:=DMA((3*真龙4+真龙2+真龙3+2*真龙1)/7,VOL/(SUM(AMOUNT,20)/(AMOUNT/VOL/100)/100));龙飞凤舞13:=EMA(EMA(真龙1,18)-EMA(真龙1,34),11);龙飞凤舞14:=EMA(EMA(龙飞凤舞13,11),11);
龙飞凤舞15:=2*(龙飞凤舞13-龙飞凤舞14);龙飞凤舞16:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
龙飞凤舞17:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);龙飞凤舞18:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);
龙飞凤舞19:=(HHV(真龙4,24)-真龙1)/(HHV(真龙4,24)-LLV(真龙2,24))*100;龙飞凤舞20:=(真龙1-LLV(真龙2,18))/(HHV(真龙4,18)-LLV(真龙2,18))*100;
龙飞凤舞21:=(2*真龙1+真龙4+真龙2)/4;龙飞凤舞22:=LLV(真龙2,26);龙飞凤舞23:=HHV(真龙4,34);龙飞凤舞24:=EMA((龙飞凤舞21-龙飞凤舞22)/(龙飞凤舞23-龙飞凤舞22)*100,16);
龙飞凤舞25:=SMA(SMA(龙飞凤舞20,3,1)+3,3,1);龙飞凤舞26:=EMA(龙飞凤舞24,7);龙飞凤舞27:=SMA(龙飞凤舞19,3,1);龙飞凤舞28:=(真龙1-MA(真龙1,6))/MA(真龙1,6)*100;
龙飞凤舞29:=(真龙1-MA(真龙1,24))/MA(真龙1,24)*100;龙飞凤舞30:=(真龙1-MA(真龙1,32))/MA(真龙1,32)*100;龙飞凤舞31:=(龙飞凤舞28+龙飞凤舞29+龙飞凤舞30)/3;
龙飞凤舞32:=IF(龙飞凤舞31<=(-20),10,0);龙飞凤舞33:=HHV(龙飞凤舞32,10);龙飞凤舞34:=LLV(真龙2,36);龙飞凤舞35:=HHV(真龙4,30);
龙飞凤舞36:=EMA((真龙1-龙飞凤舞34)/(龙飞凤舞35-龙飞凤舞34)*4,4)*25;龙飞凤舞37:=((真龙1-LLV(真龙2,9))/(HHV(真龙4,9)-LLV(真龙2,9))*100/2+22)*1;
龙飞凤舞38:=(真龙1-EMA(AMOUNT,13)/EMA(VOL,13)/100)/(EMA(AMOUNT,13)/EMA(VOL,13)/100)*100;龙飞凤舞39:=1;龙飞凤舞41:=1;
龙飞凤舞42:=IF(真龙1>REF(真龙1,1),88,0)*龙飞凤舞41;龙飞凤舞43:=IF(真龙1/REF(真龙1,1)>1.05 AND 真龙4/真龙1<1.01 AND 龙飞凤舞42>0,91,0)*龙飞凤舞39;
龙飞凤舞44:=FILTER(龙飞凤舞43>90,22.5)=1;龙飞凤舞45:=FILTER(龙飞凤舞43>90,35)=1;龙飞凤舞46:=FILTER(龙飞凤舞43>90,45)=1;
龙飞凤舞47:=FILTER(龙飞凤舞43>90,67.5)=1;龙飞凤舞48:=FILTER(龙飞凤舞43>90,90)=1;龙飞凤舞49:=FILTER(龙飞凤舞43>90,135)=1;
龙飞凤舞50:=FILTER(龙飞凤舞43>90,180)=1;龙飞凤舞51:=FILTER(龙飞凤舞43>90,270)=1;X真龙:龙飞凤舞44 AND 龙飞凤舞45 AND 龙飞凤舞46 AND 龙飞凤舞47 AND 龙飞凤舞48 AND 龙飞凤舞49*龙飞凤舞41;
STICKLINE(IF(X真龙,(-120),0),80,0,4,0),COLORDD00DD;STICKLINE(IF(X真龙,(-120),0),80,0,3,0),COLORYELLOW;STICKLINE(IF(X真龙,(-120),0),80,0,2,0),COLORRED;