aa:=hhv(c,66)/ref(c,60)>=2;cc:=l(c,30)and c>ma(c,30);dd:=c/ma(c,30)>1.0 and c/ma(c,30);ee:=cc or dd;sc:aa and ee;您好试试上述公式,已经通过测试,希望能够帮助到您,也祝愿您投资顺利,心想事成,财源广进,也欢迎追问
a:=ma(c,5);a1:=ma(c,10);a2:=ma(c,20);a3:=ma(c,60);a4:=ma(c,120);value_a:=c>a and c>a1 and c>a2 and c>a3 and c>a4;value_b:=cross(macd.macd,0);value:value_a and value_b;