主力动向 超绝 源码 副图
2014-8-20 12:18:25点击:
C1:10000*C/INDEXC;
O1:=10000*O/INDEXO;
ZLDX:=MA(C1,5);
STICKLINE(C1>=O1 AND C1>ZLDX,C1,ZLDX,2,0),COLORRED;
STICKLINE(C1<O1 AND C1<=ZLDX ,ZLDX,C1,2,0),COLORCYAN;
V1:=(2*C+H+L+O)/5;
V2:=LLV(L,21);
V3:=HHV(H,21);
GG:=EMA((V1-V2)/(V3-V2),5);
{PARTLINE(ZLDX,GG>=REF(GG,1),RGB(255,0,0),GG<=REF(GG,1),RGB(0,255,0)),LINETHICK3;};
IF(GG>=REF(GG,1),ZLDX,DRAWNULL),COLORRED,LINETHICK2;
IF(GG<REF(GG,1),ZLDX,DRAWNULL),COLORGREEN,LINETHICK2;
O1:=10000*O/INDEXO;
ZLDX:=MA(C1,5);
STICKLINE(C1>=O1 AND C1>ZLDX,C1,ZLDX,2,0),COLORRED;
STICKLINE(C1<O1 AND C1<=ZLDX ,ZLDX,C1,2,0),COLORCYAN;
V1:=(2*C+H+L+O)/5;
V2:=LLV(L,21);
V3:=HHV(H,21);
GG:=EMA((V1-V2)/(V3-V2),5);
{PARTLINE(ZLDX,GG>=REF(GG,1),RGB(255,0,0),GG<=REF(GG,1),RGB(0,255,0)),LINETHICK3;};
IF(GG>=REF(GG,1),ZLDX,DRAWNULL),COLORRED,LINETHICK2;
IF(GG<REF(GG,1),ZLDX,DRAWNULL),COLORGREEN,LINETHICK2;