九毛八公式指标
公式模块:
N:=8;
M:=REF(CLOSE,1);
A:=SMA(MAX(CLOSE-M,0),N,1)/SMA(ABS(CLOSE-M),N,1)*100,COLORYELLOW,LINETHICK1;
B0:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),1,A),COLOR00FF00;
B1:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),A,1),COLOR00FF00;
B2:= A<REF(A,1);
B3:=A>REF(1,A);
C1:=DRAWICON(B1 AND B2,A,9);
C2:=DRAWICON(B0 AND B3,A,15);
DRAWICON(FILTER(C1>0,1),L*0.97,9);
DRAWICON(FILTER(C2>0,1),H*1.02,15);
网1:=EXPMEMA(CLOSE,5);
网2:=MA(CLOSE,12),POINTDOT;
网3:=MA(CLOSE,33),COLORFF00FF,LINETHICK3;
想改成当图标9和15出现时的选股公式,请老师和同学们帮帮忙,多谢了!!
1、
N:=8;
M:=REF(CLOSE,1);
A:=SMA(MAX(CLOSE-M,0),N,1)/SMA(ABS(CLOSE-M),N,1)*100;
B1:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),A,1);
B2:=
A<REF(A,1);
C1:=DRAWICON(B1 AND B2,A,9);
XG:FILTER(C1>0,1);
2、
N:=8;
M:=REF(CLOSE,1);
A:=SMA(MAX(CLOSE-M,0),N,1)/SMA(ABS(CLOSE-M),N,1)*100,COLORYELLOW,LINETHICK1;
B0:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),1,A),COLOR00FF00;
B3:=A>REF(1,A);
C2:=DRAWICON(B0
AND B3,A,15);
XG:FILTER(C2>0,1);
因为DRAWLINE的原因,信号会漂移,而且也选不出票。