STICKLINE(C>=O,C,O,3.4,0),COLOR000045;
涨幅三:= C/REF(C,1)>1.03, COLORRED;
STICKLINE(C>=O,C,O,2.2,0),COLOR000085;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
gspt0P := MA(VOL, 4);
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C< O,C,O,3.4,0),COLOR353500;
STICKLINE(C< O,C,O,2.2,0),COLOR555500;
gsptQH := OPEN - LOW;
STICKLINE(C< O,C,O,1,0),COLOR757500;
x_463 := CLOSE - OPEN;
x_AXC := MA(CLOSE, 6) - MA(CLOSE, 39);
x_7YS := SMA(CLOSE, 34, 1);
gspt7H := CLOSE;
STICKLINE(C< O,H,L,0,0),COLOR959500;
gsptXV:EMA(CLOSE,5),COLOR888800,LINETHICK2;
gspt9Y := CLOSE;
IF(C>gsptXV,gsptXV,DRAWNULL),COLOR00AAFF,LINETHICK6;
gsptFS:EMA(CLOSE,10),COLOR555555,LINETHICK2;
IF(C>gsptFS,gsptFS,DRAWNULL),COLORFFFFFF,LINETHICK6;
gsptNS := MA(VOL, 7);
gsptEO:=(REF(gsptXV,1));
gspt7Y:EMA(SLOPE(CLOSE,21)*20+CLOSE,42),LINETHICK2;
gsptNZ := CLOSE;
gsptOG:=CROSS(gsptXV,gspt7Y);
gsptCG:=CROSS(gspt7Y,gsptXV);
x_95R := HHV(HIGH, 24);
gsptAT := 68;
x_3BV := REF(CLOSE, 48);
x_9FY := MA(CLOSE, 19) - MA(CLOSE, 26);
DRAWTEXT(gsptOG AND 涨幅三,H*1.02,'←低位吸筹'),COLORRED,LINETHICK2;
gsptCA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
gspt3L := REF(HIGH, 3);
gsptQW:=SMA(gsptCA,3,1);
gsptZ4:=SMA(gsptQW,3,1);
gspt8D := 64;
gspt5R:=3*gsptQW-2*gsptZ4;
gsptCJ:=95;
DRAWTEXT(CROSS(gspt5R,gsptZ4) AND 涨幅三,L*0.999,'←加仓'),COLOR00FFFF,LINETHICK2;
DRAWTEXT_FIX(1,0.980,20,1,'公式平台,公式源码 http://www.gspt.com'),COLOR333333;
gsptEW := OPEN - LOW;
gsptO0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
gsptG9:=SMA(gsptO0,5,1);
gsptBZ:=SMA(gsptG9,10,1);
gspt29:=CROSS(gsptBZ,gsptG9);
gsptDH:=gsptBZ>80 OR gsptG9>80;
gsptKQ:=gspt29 AND gsptDH;
gsptZC:=HIGH;
gsptDB:=LOW;
gsptYO:=STICKLINE(gsptKQ,gsptZC,gsptDB,4,0);
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.03,'-落袋为安'),COLORYELLOW;