九毛八公式指标
公式模块:
为什么在副图上不能显示三角形标志,能帮我解决并改成选股公式吗?
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J2:partline(J>REF(J,1),J),colorred;
J1:partline(J<REF(J,1),J)color00ff00;
J0:=(VAR2-REF(VAR2,1))/REF(VAR2,1) AND J>REF(J,1) AND REF(J,1)<REF(J,2);
DRAWICON(J0,J,1);
AAAA1:=BArslAST(REF(J0,1));
BBBB1:=REF(C,AAAA1+1)>C AND REF(D,AAAA1+1)<D AND J0;
DRAWTEXT(BBBB1,J-0.10,'▲'),COLORWHITE;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3) COLORYELLOW;
K: MA(J,1)COLORWHITE;
J2:partline(J>REF(J,1),J),colorred;
J1:partline(J<REF(J,1),J)color00ff00;
J0:j<-0.5 and J>REF(J,1) AND REF(J,1)<REF(J,2);
DRAWICON(J0,J,1);
AAAA1:=BARSLAST(REF(J0,1));
BBBB1:=REF(C,AAAA1+1)>C AND REF(D,AAAA1+1)<D AND J0;
DRAWTEXT(BBBB1,J-0.10,'▲'),COLORWHITE;
//============================================
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
j<-0.5 and J>REF(J,1) AND REF(J,1)<REF(J,2);