DRAWTEXT_FIX(1,0.15,0.05,0,'公式平台 HTTP://WWW.GSPT.COM'),COLOR222222;
趋势1:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
趋势2:=EMA(J,6);
开启:=CROSS(趋势2,趋势1);
STICKLINE(开启,0,10,1,0),COLORLIMAGENTA;
DRAWTEXT(开启,8,'▲开启'),COLORCYAN;
GG0:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3);
GG1:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
GG2:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20);
GG3:=(CLOSE-REF(CLOSE,60))/REF(CLOSE,60);
GG4:=(CLOSE-REF(CLOSE,120))/REF(CLOSE,120);
GG5:=(CLOSE-REF(CLOSE,250))/REF(CLOSE,250);
GG6:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10);
DP0:=(INDEXC-REF(INDEXC,3))/REF(INDEXC,3);
DP1:=(INDEXC-REF(INDEXC,5))/REF(INDEXC,5);
DP2:=(INDEXC-REF(INDEXC,20))/REF(INDEXC,20);
DP3:=(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);
DP4:=(INDEXC-REF(INDEXC,120))/REF(INDEXC,120);
DP5:=(INDEXC-REF(INDEXC,250))/REF(INDEXC,250);
DP6:=(INDEXC-REF(INDEXC,10))/REF(INDEXC,10);
RS3:=GG0-DP0;
RS5:=GG1-DP1;
RS10:=GG6-DP6;
RS20:=GG2-DP2;
RS60:=GG3-DP3;
RS120:=GG4-DP4;
RS250:=GG5-DP5;
逆风:(6*RS3+5*RS5+4*RS20+3*RS60+2*RS120+RS250)/21*25,LINETHICK2,COLORRED;
TX:3.5,LINETHICK2,COLORGREEN;
上攻:=CROSS(逆风,TX);
DRAWTEXT(上攻,3.8,'▲凤凰振翅'),COLORYELLOW;