圣火令源码
SVAR0:=DATE;
SVAR1:=0;
SVAR2:=14;
SVAR3:=7;
SVAR4:=31;
SVAR5:=1000000+SVAR4+SVAR3*100+SVAR2*10000;
SVAR6:=SVAR0<SVAR5 AND SVAR1=0;
TDXSTEP349:SVAR6=0;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
XG1:=CROSS(J,REF(J+0.01,1)) AND X AND J<19;
SR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
SR4:=CROSS(SR1,(-5));
SR5:=CROSS(SR1,(-8));
SR7:=SR4 OR SR5;
VARX:=3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,7,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),3,1);
绝情崖76%:IF(SR7 AND FILTER(SR7,5) AND XG1 OR VARX<4,10,0)*SVAR6,LINESTICK,COLOR00BBBB,LINETHICK2;
TJ:=MA(LOW<=LLV(LOW,34),3);
万劫谷68%:IF(REF(TJ,2)>REF(TJ,3) AND TJ<REF(TJ,1),(-10),0)*SVAR6,LINESTICK,COLORRED,LINETHICK3;
Z:=(LOW-REF(LOW,3))/REF(LOW,3);
DD:(-SUM(Z,1))*100*SVAR6,COLOR66FF00,LINETHICK2;
CC:=(MA(CLOSE,55)-LOW)/MA(CLOSE,89)*200;
低点:=CC>30;
ZZ:=MA(CLOSE,13);
VAR3:=(MA(CLOSE,5)-ZZ)/ZZ;
VAR5:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,13)/MA(VOL,13)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
圣火令83%:REF(VAR5,1)<5 AND VAR5>REF(VAR5,1) AND REF(VAR5,1)<REF(VAR5,2) AND VAR3<(-0.03) AND 低点*SVAR6,NODRAW,COLORRED;
TDXSTEP350:STICKLINE(圣火令83%,0,10,1,0),COLORRED;
TDXSTEP351:DRAWICON(圣火令83%,11,9);