以下是通达信罗汉翻天印(指标 副图贴图)源码
通达信罗汉翻天印(指标 副图贴图)源码:
ma5:=EMA(C,5);EMA10:=EMA(C,10);
MV5:=EMA(V,5);
MV10:=EMA(V,10);
K:=".K"(6,3,3);
D:="kdJ.D"(6,3,3);
V1:=MA5 REF(MA5,1)ANDEMA10 REF(EMA10,1)ANDC REF(C,1)ANDC/O 1.01;
VV1:=MV5 REF(MV5,1)ANDMV10 =REF(MV10,1)ANDV REF(V,1)*3.2;
KD1:=K REF(K,1)ANDD =REF(D,1);
VA:=COUNT(crOSS(K,D),4) =1ANDCOUNT(CROSS(MA5,EMA10),4) =1AND
COUNT(CROSS(MV5,MV10),4)
V1ANDVV1ANDKD1ANDVA;
N:=5;
M:=3;
CV:=CLOSE;
BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:BBIBOLL+M*STD(BBIBOLL,N);
DWN:BBIBOLL-M*STD(BBIBOLL,N);
VAR1:=(OPEN+LOW+HIGH+CLOSE)/4;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
DRAWBAND(A,RGB(255,0,0),B,RGB(0,0,255));
QWX4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
QWX5:=CONST((1-7/100)*(DMA(CLOSE,QWX4)));
QWX6:=CONST((1+7/100)*(DMA(CLOSE,QWX4)));
支撑:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=5),QWX5,DRAWNULL),DRAWNULL),LINETHICK3,COLORYELLOW;
阻力:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=5),QWX6,DRAWNULL),DRAWNULL),LINETHICK3,COLORGREEN;
通达信罗汉翻天印(指标 副图贴图)截图