把两个公式合二为一
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

这有两个公式,请老师把两个公式合二为一,谢谢!!公式一:VAR41:=(2*CLOSE+HIGH+LOW)/4;VAR42:=LLV(LOW,5);VAR43:=HHV(HIGH,4);红线上穿买:=EMA((VAR41-VAR42)/(VAR43-VAR42)*100,4);进出快线:=100*(C-LLV(L,9))/(HHV(C,9)-LLV(L,9)),COLORFFFF00;买:=CROSS(进出快线,红线上穿买);VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);SJ:= (VAR2-REF(VAR2,1))/REF(VAR2,1)*100;SK:= MA(SJ,1); SD:=MA(SJ,2);VAR3:=CROSS(SK,SD) AND SK<0;停牌:=DYNAINFO(4)=0;双柱同现:VAR3 AND 买 AND NOT(停牌);公式二:A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;Q:=A*1.03;K:=SMA(A,2,1);反弹1:CROSS(Q,15) AND K>REF(K,1);

解答:

 VAR41:=(2*CLOSE+HIGH+LOW)/4;

VAR42:=LLV(LOW,5);
VAR43:=HHV(HIGH,4);
红线上穿买:=EMA((VAR41-VAR42)/(VAR43-VAR42)*100,4);
进出快线:=100*(C-LLV(L,9))/(HHV(C,9)-LLV(L,9)),COLORFFFF00;
买:=CROSS(进出快线,红线上穿买);
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:= (VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
SK:= MA(SJ,1); SD:=MA(SJ,2);
VAR3:=CROSS(SK,SD) AND SK<0;
停牌:=DYNAINFO(4)=0;
双柱同现:=VAR3 AND 买 AND NOT(停牌);
 
A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
Q:=A*1.03;
K:=SMA(A,2,1);
反弹1:CROSS(Q,15) AND K>REF(K,1) and 双柱同现;
 

选股票看什么指标最好 >股票指标网