编写要求:
请老师将<主力><均线><先知><十线>这四个选股公式组合为一个选股公式
主力
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);
VAR3:=EMA(VAR2,1);
JCS:=VAR3;
JCM:=MA(VAR3,12);
JCL:=MA(VAR3,26);
A1:=REF(JCS,2)>REF(JCS,1);
A2:=JCS>JCM AND JCM>JCL;
A3:=BETWEEN(JCS/JCM,1.006,1.001) AND NDAY(JCS,JCM,3);
XG:A1 AND A2 AND A3;
均线
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
AA:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60;
CC:=L
解答:
?VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);
VAR3:=EMA(VAR2,1);
JCS:=VAR3;
JCM:=MA(VAR3,12);
JCL:=MA(VAR3,26);
A1:=REF(JCS,2)>REF(JCS,1);
A2:=JCS>JCM AND JCM>JCL;
A3:=BETWEEN(JCS/JCM,1.006,1.001) AND NDAY(JCS,JCM,3);
XG1:=A1 AND A2 AND A3;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
AA:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60;
CC:=L
XG2:=AA AND CC AND ABS(O-C)/C<0.012
AND MA10>REF(MA10,1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);
先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
DK1:=K1-REF(K1,1);
价位:= (HIGH + LOW + CLOSE)/3;
均价:=(HIGH+LOW+CLOSE*2)/4;
讲价:=EMA(均价,8);
讨价:=STD(均价,8);
卖价:=(均价-讲价)/讨价*100;
买价:=EMA(卖价,7);
CCI:=(价位-MA(价位,8))/(0.015*AVEDEV(价位,8)),LINETHICK1,COLORWHITE;
AX1:=REF(CCI,2)>REF(CCI,1) AND REF(CCI,1)
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
B1:=SUM(LLJX,1);
XG4:=B1>REF(B1,1) AND REF(B1,2)>REF(B1,1);
XG:XG1 AND XG2 AND XG3 AND XG4;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!