GSPT0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GSPT3:=SMA(GSPT0,3,1);
GSPT1:=SMA(GSPT3,4,1)-10;
GSPT4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
GSPT5:=SMA(GSPT4,3,1);
GSPT2:=SMA(GSPT5,4,1)-90;
STICKLINE(REF(GSPT1,1)<GSPT1,GSPT1,REF(GSPT1,1),10,0),COLOR0000FF;
0, CIRCLEDOT;
STICKLINE(REF(GSPT1,1)>GSPT1,GSPT1,REF(GSPT1,1),5,0),COLOR00FF00;
STICKLINE(REF(GSPT2,1)>GSPT2,GSPT2,REF(GSPT2,1),10,0),COLOR0000FF;
双龙:=BARSLASTCOUNT((REF(GSPT1,1)<GSPT1) AND (REF(GSPT2,1)>GSPT2))=1;
STICKLINE(双龙,60,-60,1,1),COLORMAGENTA;
DRAWICON(双龙,0,9);
0,COLOR0000FF;
STICKLINE(REF(GSPT2,1)<GSPT2,GSPT2,REF(GSPT2,1),5,0),COLOR00FF00;
STICKLINE(CROSS(GSPT1,GSPT2),60,-60,2,0),COLORYELLOW;
DRAWICON(CROSS(GSPT1,GSPT2),0,23);
DRAWTEXT(双龙,18,' 共振'),COLORMAGENTA;
DRAWTEXT(CROSS(GSPT1,GSPT2),18,' 合一'),COLORWHITE;