波段顶底:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K:=SMA(波段顶底,5,1);{选股公式-选股指标www.gs6699.com}
D:=MA(K,7);
E:=MA(K,3);
J:=3*K-2*D;
STICKLINE((K-D>0),K,E,8,1),COLORRED;
STICKLINE((K-D<0),K,E,8,1),COLORGREEN;
买卖点wwccc:=(2*CLOSE+HIGH+LOW)/4;
公式无未来:=LLV(LOW,34);
ccvvvv4:=HHV(HIGH,34);
swwee1:EMA((买卖点wwccc-公式无未来)/(ccvvvv4-公式无未来)*100,13);
swwee2:= EMA(0.667*REF(swwee1,1)+0.333*swwee1,2);
swwee3:swwee2;
swaa1:STICKLINE(CROSS(swwee1,20) AND swwee2<swwee1,swwee1+19,swwee1-10,4,1),COLORRED;
swaa2:DRAWTEXT(CROSS(swwee1,20) AND swwee2<swwee1,swwee1-5,'建仓 '),
LINETHICK3, COLORMAGENTA ;
gvvvd1:STICKLINE(swwee2<swwee1,swwee1,swwee2,2.5,1),COLORRED;
gvvvd2:STICKLINE(swwee2>swwee1,swwee1,swwee2,2.5,1),COLORBLUE;
gvvvd3:=CROSS(swwee1,30) AND swwee2<swwee1;
wwccc1:DRAWICON(CROSS(swwee1,swwee2),swwee2,5);
wwccc2:DRAWICON(CROSS(swwee2,swwee1),swwee2,15);