五行八卦图副图指标 源码 通达信
N:=38;
STICKLINE(CLOSE,0,10,4,1),COLORGRAY;
STICKLINE(CLOSE,0,9,4,1),COLORGRAY;
STICKLINE(CLOSE,0,8,4,1),COLORGRAY;
STICKLINE(CLOSE,0,7,4,1),COLORGRAY;
STICKLINE(CLOSE,0,6,4,1),COLORGRAY;
STICKLINE(CLOSE,0,5,4,1),COLORGRAY;
STICKLINE(CLOSE,0,4,4,1),COLORGRAY;
STICKLINE(CLOSE,0,3,4,1),COLORGRAY;
STICKLINE(CLOSE,0,2,4,1),COLORGRAY;
STICKLINE(CLOSE,0,1,4,1),COLORGRAY;
X_1:=MA(LOW+(HIGH-LOW)/2,25)*1.15;
X_2:=MA(LOW+(HIGH-LOW)/2,25)*0.95;
X_3:=(X_1+X_2)/2;
X_4:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
X_5:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
X_6:=(X_4+X_5)/2;
X_7:=X_4>X_2;
X_8:=X_4>X_3;
X_9:=X_4>X_1;
X_10:=X_6>X_2;
X_11:=X_6>X_3;
X_12:=X_6>X_1;
X_13:=X_5>X_2;
X_14:=X_5>X_3;
X_15:=X_5>X_1;
X_16:=X_7+X_8+X_9+X_10+X_11+X_12+X_13+X_14+X_15;
5;
2;
DRAWICON(X_16>8,9.5,41);
DRAWICON(X_16>7,8.5,41);
DRAWICON(X_16>6,7.5,41);
DRAWICON(X_16>5,6.5,41);
DRAWICON(X_16>4,5.5,38);
DRAWICON(X_16>3,4.5,41);
DRAWICON(X_16>2,3.5,41);
DRAWICON(X_16>1,2.5,41);
DRAWICON(X_16>0,1.5,41);