把出击的条件做个选股条件
2020/1/22 18:52:21
公式编写说明:
MA5:MA(C,5);MA13:MA(C,13),LINETHICK2;MA34:MA(C,34),LINETHICK2;MA55:MA(C,55),LINETHICK2;MA88:MA(C,88);LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 低吸:=CROSS(RSI,11);DRAWTEXT(低吸,L,'★'),COLORWHITE;DRAWTEXT(低吸,L-0.05,' 低吸'),COLORWHITE;VAR7:=EMA(AMOUNT/VOL/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;DRAWTEXT(FILTER(VARB,6),L-0.05,' 坚决买进'),COLORFF00FF;DRAWTEXT(FILTER(VARB,6),L,'★'),COLORFF00FF;VARF:=(2*CLOSE+HIGH+LOW)/4;VA4:=LLV(LOW,34);VA5:=HHV(HIGH,34);VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) ANDCLOSE>OPEN,1,0),L,'★'),COLORYELLOW;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) ANDCLOSE>OPEN,1,0),L,' 出击'),COLORYELLOW;请老师把出击的条件做个选股条件,谢谢!
公式源码回答:
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0);
投股票 网 w ww.tou18.cn
股市公式下载推荐