天地量副图公式
M5均量:MA(VOL,5),colorgreen;
M55均量:MA(VOL,55),colormagenta;
总手:VOL,LINETHICK0;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
STICKLINE(C,0,VOL,8,0),COLOR4D4D4D;
STICKLINE(CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,8,0),COLORRED;
STICKLINE(CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,VOL,8,0),COLOR009F00;
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,0,VOL,8,0);
STICKLINE(VOL<MA(VOL,5)/2 AND V<V12/2,0,VOL,8,0),COLORCE6700;
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05 AND CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,VOL*0.5,0,8,0);
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05 AND CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,VOL*0.5,0,8,0);
STICKLINE(V>=REF(V,1)*2,V,0,4,1),COLORYELLOW;
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),COLORWHITE;
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<V12/2,(V5+V)/2,'地'),COLORWHITE;
DRAWTEXT (CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,'吸'),COLORWHITE;
DRAWTEXT (CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,'出'),COLORWHITE;
DRAWTEXT (V>=2*REF(V,1),0,'倍'),COLORWHITE;
地选:VOL<MA(VOL,5)/2 AND V<V12/2;
吸选:CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975;
A:=BARSLAST(DISPSTATUS=1)+1;
LL:=llv(v,a);
低:llvall(ref(v,1)),coloryellow;
最低:=BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(v=LL)+1));
VERTLINE(最低=0,1),coloryellow;
196322585.jpg
|