求助:编写 通达信 选股指标,请高手帮忙。 要求:大底、中底、小底---全都选出
副图源码如下:X:=MA(AMOUNT,5)/MA(V,5)/100;VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;VAR4:=MA(...
副图源码如下:
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:IF(CROSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
中底:IF(CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4,-0.3,-1);
小底:IF(CROSS(-5,VAR4) AND VAR3<-0.15 AND VAR3>-0.25,-0.6,-1); 展开
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:IF(CROSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
中底:IF(CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4,-0.3,-1);
小底:IF(CROSS(-5,VAR4) AND VAR3<-0.15 AND VAR3>-0.25,-0.6,-1); 展开
1个回答
展开全部
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:=CROSS(-5,VAR4) AND VAR3<-0.4;
中底:=CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4;
小底:=CROSS(-5,VAR4) AND VAR3<-0.15 AND VAR3>-0.25;
XG:大底+中底+小底>=1;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
大底:=CROSS(-5,VAR4) AND VAR3<-0.4;
中底:=CROSS(-5,VAR4) AND VAR3<-0.25 AND VAR3>-0.4;
小底:=CROSS(-5,VAR4) AND VAR3<-0.15 AND VAR3>-0.25;
XG:大底+中底+小底>=1;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询