ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);
M1:=EMA(ABV,12);
M2:=EMA(ABV,26);
MTM:=CLOSE-REF(CLOSE,1);
gspt11:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
gspt12:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
gspt13:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
gspt14:=C-REF(C,1);
gspt15:=100*EMA(EMA(gspt14,9),9)/EMA(EMA(ABS(gspt14),9),9);
gspt16:=MA(gspt15,5);
gspt21:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
gspt22:=REF(gspt21,1);
gspt23:=MAX(gspt21-gspt22,0);
gspt24:=ABS(gspt21-gspt22);
gspt25:=SMA(gspt23,10,1);
gspt26:=SMA(gspt24,10,1);
gspt28:=COUNT(((gspt25)/(gspt26)<0.2),5);
gspt29:=COUNT((LLV(gspt21,10)=gspt21),10);
金柱进:IF((gspt11>REF(gspt11,1) AND gspt15>REF(gspt15,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),COLORWHITE,POINTDOT,LINETHICK7;
主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(gspt15,gspt16);STICKLINE(金柱进 OR 主进主轨,65,0,4,1),COLORWHITE;
精准买点:=gspt28>=1 AND gspt29>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND gspt11>gspt13 AND CROSS(ABV,M2);
短线买点:=gspt28>=1 AND gspt29>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(gspt11,gspt13) AND ABV>REF(ABV,1);
中线买点:=gspt28>=1 AND gspt29>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND gspt11>gspt13 AND CROSS(gspt12,gspt13) AND gspt11>REF(gspt11,1) AND gspt12>REF(gspt12,1) AND gspt13>REF(gspt13,1);
主进主买:=ABV>M2 AND gspt15>gspt16 AND CROSS(gspt11,gspt13) AND gspt11>REF(gspt11,1) AND gspt12>REF(gspt12,1) AND gspt13>REF(gspt13,1);
短中共振:=精准买点 OR 短线买点 OR 中线买点 OR 主进主买;
如意信号:IF(短中共振,60,0),COLORFF00FF,POINTDOT;STICKLINE(如意信号,60,0,4,1),COLORFF00FF;
金柱增:IF(ABV>M2 AND gspt11>gspt13 AND CROSS(gspt15,gspt16) AND gspt15>REF(gspt15,1) AND gspt16>REF(gspt16,1),55,0),COLORFFCC66,POINTDOT,LINETHICK6; STICKLINE(金柱增,55,0,4,1),COLORFFCC66;
gspt31:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
gspt32:=SMA(gspt31,3,1);
波:=SMA(gspt32,3,1);
段:=SMA(波,3,1);
gspt39:=CROSS(段,波) AND 波>80;
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
风险:80,COLOR00FF00;
天险:89,COLORFF00FF;
太空:100,COLORFFCC66;
王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);
起势:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;STICKLINE(起势,40,0,4,1),COLORYELLOW;
DRAWTEXT_FIX(1,0.980,20,1,'公式平台,公式源码 http://www.gspt.com'),COLOR333333;
gspt8A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
gspt8B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
gspt8C:=SMA(gspt8B...省略