通达信MA金蜘蛛主图指标 买卖提示
P1:=5;
P2:=10;
P3:=20;
P4:=30;
P5:=60;
P6:=60;
P7:=0;
P8:=0;
MA1 : MA(CLOSE,P1);
MA2 : MA(CLOSE,P2);
MA3 : MA(CLOSE,P3);
MA4 : MA(CLOSE,P4);
MA5 : MA(CLOSE,P5);
MA6 : MA(CLOSE,P6);
MA7 : MA(CLOSE,P7);
MA8 : MA(CLOSE,P8);
X_1:=(C+L+H)/3;
X_2:=EMA(X_1,6);
X_3:=EMA(X_2,5);
B点:=CROSS(X_2,X_3);
S点:=CROSS(X_3,X_2);
持股:=B点>0 AND REF(B点,1)>0;
信号:=IF( B点,2,IF(S点,-1, IF(持股,1,0)));
DRAWICON(CROSS(X_2,X_3),L*1.18,7);{B}
DRAWICON(CROSS(X_3,X_2),H*1.08,8);{S};