GSPT1:=EMA(C,8)-EMA(C,13)>EMA(EMA(C,8)-EMA(CLOSE,13),5);
GSPT2:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
GSPT3:=SMA(GSPT2,3,1)>SMA(SMA(GSPT2,3,1),3,1);
GSPT4:=(SMA(MAX(C-REF(C,1),0),5,1))/(SMA(ABS(C-REF(C,1)),5,1))*100;
GSPT5:=(SMA(MAX(C-REF(C,1),0),13,1))/(SMA(ABS(C-REF(C,1)),13,1))*100;
GSPT6:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
GSPT7:=SMA(GSPT6,3,1)>SMA(SMA(GSPT6,3,1),3,1);
GSPT8:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
GSPT9:=CLOSE-REF(CLOSE,1);
GSPT10:=100*EMA(EMA(GSPT9,5),3)/EMA(EMA(ABS(GSPT9),5),3);
GSPT11:=100*EMA(EMA(GSPT9,13),8)/EMA(EMA(ABS(GSPT9),13),8);
GSPT12:=(GSPT1 AND GSPT3 AND GSPT4>GSPT5 AND GSPT7 AND C>GSPT8 AND GSPT10>GSPT11);
GSPT13:=GSPT12 AND REF(GSPT1 AND GSPT3 AND GSPT4>GSPT5 AND GSPT7 AND C>GSPT8 AND GSPT10>GSPT11,1)=0;
GSPT14:=MA(HIGH,30)*(1+15/100);
GSPT15:=(C>MA(C,5))AND(MA(C,5)>MA(C,10))AND(MA(C,10)>MA(C,20));
GSPT16:=EMA(CLOSE,12)-EMA(CLOSE,26);
GSPT17:=CROSS(2*(GSPT16-EMA(GSPT16,9)),0);
GSPT18:=EMA(CLOSE,12)-EMA(CLOSE,26);
GSPT19:=EMA(GSPT18,9);
GSPT20:=EMA(C,7)-EMA(C,21);
GSPT21:=EMA((0.668*REF(GSPT20,1)+0.333*GSPT20),1);
GSPT22:=MA(AMOUNT/(100*V),13);
GSPT23:=(C-GSPT22)/GSPT22*100;
GSPT24:=GSPT23>4.5 AND GSPT18>GSPT19 AND C>=EMA(C,5) AND GSPT20-GSPT21>0;
GSPT25:=HHV(MA(CLOSE,5),60);
GSPT26:=O>REF(C,1)*1.02 AND C>O AND C>=GSPT25 AND GSPT25>=REF(C,1);
GSPT27:=GSPT26 AND MA(C,5)>REF(MA(C,5),1) AND DYNAINFO(13)>0;
GSPT28:=IF((CLOSE>REF(CLOSE,1)),88,0);
GSPT29:=IF(C/REF(C,1)>1.05 AND H/C<1.01 AND GSPT28>0,91,0);
VAR48:=FILTER((GSPT29>90),45);
VAR49:=CROSS(2*(GSPT16-EMA(GSPT16,9)),0) AND GSPT15 AND GSPT13 AND C>=GSPT14;
DRAWTEXT(VAR49,0.78,'●最强潜龙'),COLORRED;
DRAWICON(VAR49,VAR49,9);
潜龙1:GSPT17 AND GSPT15 AND GSPT13,COLORWHITE;
DRAWTEXT(潜龙1,0.58,'●潜龙'),COLORRED;
DRAWICON(潜龙1,潜龙1,9);
潜龙2:GSPT27 AND GSPT17 AND GSPT13,COLORYELLOW;
DRAWTEXT(潜龙2,0.48,'●早盘潜龙'),COLORRED;
DRAWICON(潜龙2,潜龙2,9);
潜龙3:VAR48 AND GSPT24 AND GSPT13 OR (VAR48 AND GSPT24 AND GSPT27),COLORMAGENTA;
DRAWTEXT(潜龙3,0.38,'●盘中潜龙'),COLORRED;
DRAWICON(潜龙3,潜龙3,9);