编写要求:
请老师将主力进出{白色线上穿黄色线而且在紫线之上时}副图改在主图上显示“主力加入” 副图源码: 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); 选股 {白色线上穿黄色线而且在紫色线之上时} 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) AND REF(JCS,1)JCM AND JCM>JCL; A3:=BETWEEN(JCS/JCM,1.01,1.001) AND NDAY(JCS,JCM,5); XG:A1 AND A2 AND A3; 即,选股输出信号在主图上显示
公式在线网解答:
MA1:MA(CLOSE,5);