帮我做一个变色的红K线选股,一个“大胆博”的选股,一个“启动”的选股,谢谢 VAR1:=(CLOSE*2+HIGH+LOW)/4; SK:= EMA(VAR1,13)-EMA(VAR1,73); SD:= EMA(SK,2); SJ:=(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(SK,SD) AND SK<=-0.14 )OR(CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)); STICKLINE(SJ,H,L,0.5,0),COLORRED; STICKLINE(SJ,O,C,5.5,0),LINETHICK3,COLOR000055; STICKLINE(SJ,O,C,4.5,0),LINETHICK3,COLOR000077; STICKLINE(SJ,O,C,3.5,0),LINETHICK3,COLOR000099; STICKLINE(SJ,O,C,2.5,0),LINETHICK3,COLOR0000BB; STICKLINE(SJ,O,C,1.5,0),LINETHICK3,COLOR0000DD; STICKLINE(SJ,O,C,0.5,0),LINETHICK3,COLOR0000FF; EMA13:=EMA(C,13); EMA21:=EMA(C,21); EMA34:=EMA(C,34); EMA60:=MA(C,60); VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3; LC:=REF(CLOSE,1); VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.98),'←大胆搏 '),COLORRED; VAR51:=3; VAR52:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)); DRAWTEXT(CROSS(VAR52,VAR51), LOW,'←启动'),COLORMAGENTA; |
