GSPT1:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
GSPT2:=EMA(HHV(HIGH,10),3);
GSPT3:=EMA(LLV(LOW,10),3);
WEKR:EMA(GSPT1*2-GSPT3,10),COLORBLUE,LINETHICK9;
IF(CLOSE>=REF(WEKR,1),WEKR,DRAWNULL),COLORMAGENTA,LINETHICK9;
IF(CLOSE<=REF(WEKR,1),WEKR,DRAWNULL),COLORBLUE,LINETHICK9;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
GSPT4:=(CLOSE/REF(CLOSE,1)-1)*100>7;
GSPT5:=OPEN<WEKR AND CLOSE>WEKR AND GSPT4;
STICKLINE(GSPT5,OPEN,CLOSE,4,0),COLORYELLOW;
DRAWTEXT(GSPT5,LOW*0.955,'买入'),COLORRED;
STICKLINE(CLOSE>OPEN,HIGH,LOW,0.01,0),COLOR00009A;
STICKLINE(CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000FA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0),COLOR00006A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.4,0),COLOR00007A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR00008A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.2,0),COLOR00009A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,0),COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0),COLOR0000BA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0),COLOR0000CA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.1,0),COLOR0000DA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.7,0),COLOR0000E5;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.2,0),COLOR0000EF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.7,0),COLOR0000F5;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.2,0),COLOR0000FA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.05,0),COLOR0000FC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,LOW,HIGH,0,0),COLOR00AACC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,LOW,HIGH,0,0),COLOR11FFFF;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.5,0),COLOR0044AA;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.4,0),COLOR0055AA;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.3,0),COLOR0066BB;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.2,0),COLOR0077BB;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.1,0),COLOR0088CC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.8,0),COLOR0099CC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.5,0),COLOR00AADD;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.1,0),COLOR00bbdD;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,1.7,0),COLOR00CCEE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,1.2,0),COLOR00ddeE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.7,0),COLOR00EEEE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.2,0),COLOR00F0F3;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.05,0),COLOR00F6F3;
www70822com:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
STICKLINE(CLOSE<OPEN,HIGH,LOW,0.01,0),COLORAA4433;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0,0),COLORAABB33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.5,0),COLORAA4433;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.4,0),COLORAA5533;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.3,0),COLORAA6633;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.2,0),COLORAA7733;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.1,0),COLORAA8833;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.8,0),COLORAA9933;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.5,0),COLORAAAA33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.1,0),COLORAABB33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.7,0),COLORAACC33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.2,0),COLORAADD33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.7,0),COLORAAE933;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.2,0),COLORAAF333;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.05,0),COLORAAF633;
GSPT6:=STRCAT(2,FGBLOCK);
DRAWTEXT_FIX(1,0.05,0,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0.65,0,0,3),COLORFF6000;
DRAWTEXT_FIX(1,0.75,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.85,0,0,DYBLOCK),COLORBLUE;