你好麻烦你帮我写出“追”和“抓牛”的选股公式.VAR1:=LOW=LLV(LOW,120) OR REF(LOW,1)=LLV(REF(LOW,1),120) OR REF(LOW,2)=LLV(REF(LOW,2),120);VAR2:=CLOSE/REF(CLOSE,1)>=1.06;VAR3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;VAR4:=(CLOSE-MA(C
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 21:30:39
你好麻烦你帮我写出“追”和“抓牛”的选股公式.VAR1:=LOW=LLV(LOW,120) OR REF(LOW,1)=LLV(REF(LOW,1),120) OR REF(LOW,2)=LLV(REF(LOW,2),120);VAR2:=CLOSE/REF(CLOSE,1)>=1.06;VAR3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;VAR4:=(CLOSE-MA(C
你好麻烦你帮我写出“追”和“抓牛”的选股公式.
VAR1:=LOW=LLV(LOW,120) OR REF(LOW,1)=LLV(REF(LOW,1),120) OR REF(LOW,2)=LLV(REF(LOW,2),120);
VAR2:=CLOSE/REF(CLOSE,1)>=1.06;
VAR3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
VAR4:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
关注:CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,15)) AND CROSS(CLOSE,MA(CLOSE,18)) AND CROSS(VAR3,0) AND CROSS(VAR4,0) AND (CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(VAR3,0) AND CROSS(VAR4,0));
DRAWTEXT(关注>0,30.10,'牛'),COLORFFFF00;
DRAWTEXT(关注>0,55.10,'抓'),COLORFFFF00;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
VAR6:=100-3*SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,21,1)+2*SMA(SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,75))*100,21,1),6,1);
VAR7:=100-3*SMA((OPEN-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,21,1)+2*SMA(SMA((OPEN-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,75))*100,21,1),6,1);
VAR8:=VAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR8 AND COUNT(VAR8,26)=1,20.5,'追');
你好麻烦你帮我写出“追”和“抓牛”的选股公式.VAR1:=LOW=LLV(LOW,120) OR REF(LOW,1)=LLV(REF(LOW,1),120) OR REF(LOW,2)=LLV(REF(LOW,2),120);VAR2:=CLOSE/REF(CLOSE,1)>=1.06;VAR3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;VAR4:=(CLOSE-MA(C
VAR3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
VAR4:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
关注:=CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,15)) AND CROSS(CLOSE,MA(CLOSE,18)) AND CROSS(VAR3,0) AND CROSS(VAR4,0) AND (CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(VAR3,0) AND CROSS(VAR4,0));
VAR6:=100-3*SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,21,1)+2*SMA(SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,75))*100,21,1),6,1);
VAR7:=100-3*SMA((OPEN-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*100,21,1)+2*SMA(SMA((OPEN-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,75))*100,21,1),6,1);
VAR8:=VAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
抓牛:=关注>0;
追:=VAR8 AND COUNT(VAR8,26)=1;
XG:抓牛 OR 追;