强弱分界: MA(CLOSE,27),linethick2,Color0000FF; 上极限: 强弱分界+3*STD(CLOSE,21),ColorFF0080; 下极限:强弱分界-2.9*STD(close,21),Color4080FF; 风标:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4,2),Color00FF00; Var1:=(2*CLOSE+HIGH+LOW)/4; Var2:=LLV(LOW,34); Var3:=HHV(HIGH,34); Var4:=EMA((Var1-Var2)/(Var3-Var2)*100,13); Var5:=REF(CLOSE,1); Var6:=SMA(MAX(CLOSE-Var5,0),7,1)/SMA(ABS(CLOSE-Var5),7,1)*100; Var7:=EMA((CLOSE-llV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,7); Var8:=EMA((CLOSE-Var2)/(Var3-Var2)*100,5); Var9:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20); Var10:=FILTER(CROSS(Var8,Var9) AND Var9<30 ,5)AND Var7>REF(Var7,1)AND C<强弱分界 AND C>O AND Var4>REF(Var4,1); DRAWICON(REF(L,1)<下极限 AND L>下极限 AND C>O OR Var10,下极限 ,10); DRAWTEXT(Var10,下极限,'下买'); DRAWICON(FILTER(REF(H,1)<风标 AND CROSS(C,风标) AND 风标>REF(风标,1) AND 风标<强弱分界,3)AND C>O,L,1); DRAWICON(REF(H,1)>上极限 AND H<上极限 AND L<风标 AND CDRAWICON( CROSS(80,Var6)AND L<风标,H*1.03,5); DRAWTEXT(cross(H,上极限)and l>风标 and c/ref(c,10)>1.2 AND Var8>80,H+0.12,'上卖'),Color00FFFF; |