【资料名称】:操盘、均线优化副图/主图指标 通达信 贴图 无加密 不限时介绍【资料描述】:
操盘、均线优化副图/主图指标 通达信 贴图 无加密 不限时
均线优化源码:
N1:=5;
N2:=10;
N3:=20;
N4:=30;
BBI:(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORRED,LINETHICK1;
BB:=BBI<REF(BBI,1);
IF(BB,BBI,DRAWNULL)COLORGREEN,LINETHICK1;
STICKLINE(C>=BBI,O,C,2.5,1),COLOR0000EE;
STICKLINE(C>=BBI AND C>=O,C,H,0,1),COLOR0000EE;
STICKLINE(C>=BBI AND C>=O,O,L,0,1),COLOR0000EE;
STICKLINE(C>=BBI AND C<O,O,H,0,1),COLOR0000EE;
STICKLINE(C>=BBI AND C<O,C,L,0,1),COLOR0000EE;
STICKLINE(C<BBI,O,C,2.5,1),COLORBLUE;
STICKLINE(C<BBI AND C>=O,C,H,0,1),COLORBLUE;
STICKLINE(C<BBI AND C>=O,O,L,0,1),COLORBLUE;
STICKLINE(C<BBI AND C<O,O,H,0,1),COLORBLUE;
STICKLINE(C<BBI AND C<O,C,L,0,1),COLORBLUE;
界1:EMA(CLOSE,120);
界2:EMA(CLOSE,250);
操盘源码:
X1:=(C+L+H)/1.5;
X2:=EMA(X1,3);
X3:=EMA(X2,2.5);
DRAWICON(CROSS(X2,X3),L*0.98,9),COLORRED;
STICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(X2<X3,LOW,HIGH,0,1),COLOR00FF00;
STICKLINE(X2<X3,CLOSE,OPEN,3.2,2),COLOR00FF00;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3.2,0),COLOR00FF00;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (X2<X3),CLOSE,OPEN,3.2,2),COLOR00FF00;
STICKLINE((CLOSE>OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE((CLOSE<OPEN) AND (X2<X3),CLOSE,OPEN,3.2,0),COLOR00FF00;
STICKLINE((CLOSE<OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,0),COLORRED;VAR1F:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR20:=REVERSE(VAR1F);
VAR21:=SMA(VAR1F,3,1);
移动平均: SMA(VAR21,3,1), COLORRED;
参考线: SMA(移动平均,3,1),COLORCYAN ;
走势线:SMA(移动平均,2,1),COLORWHITE;
关注: IF(CROSS(移动平均,参考线) AND 移动平均<30,33,0), COLORCYAN,LINETHICK2;
风险: IF(CROSS(参考线,移动平均) AND 参考线>75,68,100) , COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(移动平均,参考线) AND 移动平均<20,33,'') , COLORWHITE;
A1:IF(CROSS(移动平均,参考线) AND 移动平均<70 AND 移动平均>40,移动平均*1.1,0),STICK,LINETHICK2,COLORRED;
DRAWTEXT(A1,移动平均*1.1,''),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(移动平均,参考线),移动平均,'始');
DRAWTEXT(CROSS(走势线,移动平均),走势线,'终');
gd56385
【下载地址隐藏】: 点:回复可见地址