股票指标公式怎么用呀
如:{5天3%---选}Q_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);Q_3:=CR...
如:{5天3%---选}
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
z1:=L=LLV(L,BARSLAST(Q_3)+1);
z2:=LLV(L,BARSLAST(Q_3)+1);
z3:=H=HHV(H,BARSLAST(Q_4)+1);
z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=LINEVALUE(z1,z2,z3,z4,0,0);
y1:=H=HHV(H,BARSLAST(Q_4)+1);
y2:=HHV(H,BARSLAST(Q_4)+1);
y3:=L=LLV(L,BARSLAST(Q_3)+1);
y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=LINEVALUE(y1,y2,y3,y4,0,0);
x1:=LLV(Q_2,2)=LLV(Q_2,7) ;
x2:=COUNT(Q_2<0,2);
x3:=CROSS(Q_2,MA(Q_2,2));
x4:=REF(Q_B,1)<REF(Q_B,2);
x5:=Q_A>REF(Q_B,1);
买进:(x1 AND x2 AND x3) AND x4 AND x5;
以上举例子行吗?谢谢 展开
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
z1:=L=LLV(L,BARSLAST(Q_3)+1);
z2:=LLV(L,BARSLAST(Q_3)+1);
z3:=H=HHV(H,BARSLAST(Q_4)+1);
z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=LINEVALUE(z1,z2,z3,z4,0,0);
y1:=H=HHV(H,BARSLAST(Q_4)+1);
y2:=HHV(H,BARSLAST(Q_4)+1);
y3:=L=LLV(L,BARSLAST(Q_3)+1);
y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=LINEVALUE(y1,y2,y3,y4,0,0);
x1:=LLV(Q_2,2)=LLV(Q_2,7) ;
x2:=COUNT(Q_2<0,2);
x3:=CROSS(Q_2,MA(Q_2,2));
x4:=REF(Q_B,1)<REF(Q_B,2);
x5:=Q_A>REF(Q_B,1);
买进:(x1 AND x2 AND x3) AND x4 AND x5;
以上举例子行吗?谢谢 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询