三色动力指标公式
QB:=(H-L);
SY:=(H-MAX(C,O))/QB*100/100;
ST:=(MAX(C,O)-MIN(C,O))/QB*100/100;
XY:=(MIN(C,O)-L)/QB*100/100;
STICKLINE((C>O OR (C=O AND C>=REF(C,1))) AND
L!=O,0,VOL*XY,2,0),COLORYELLOW;
STICKLINE(C>O OR (C=O AND C>=REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORRED;
STICKLINE((C>O OR (C=O AND C>=REF(C,1))) AND
H!=C,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;
STICKLINE((C<O OR (C=O AND C<REF(C,1))) AND L!=C,0,VOL*XY,2,0),COLORYELLOW;
STICKLINE(C<O OR (C=O AND C<REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORCYAN;
STICKLINE((C<O OR (C=O AND C<REF(C,1))) AND
H!=O,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;
三色量能指标公式
量能:=AMOUNT/10000000,COLORWHITESTICK;
量能1:MA(量能,21),COLORWHITELINETHICK1;
量能2:MA(量能,55),COLORYELLOWLINETHICK1;
量能3:MA(量能,89),COLORREDLINETHICK1;
STICKLINE(量能1>量能2,量能2,量能1,0.001,0),COLORRED;
STICKLINE(量能1<REF(量能1,1),量能2,量能1,0.001,0),COLORCC3300;
STICKLINE(量能1<量能2,量能2,量能1,0.001,0),COLORGREEN;
STICKLINE(量能2>REF(量能2,1)AND量能1<量能2,量能2,量能1,0.001,0),COLORFF00FF;
DRAWICON(量能2>REF(量能2,1)AND量能1<量能2,量能2,15);
DRAWICON(量能1<REF(量能1,1)AND量能2<量能1,量能1,19);
量能:=AMOUNT/10000000;
量能1:MA(量能,5),COLORWHITE,LINETHICK2;
量能2:MA(量能,10),COLORYELLOW,LINETHICK2;
量能3:MA(量能,20),COLORFF00FF,LINETHICK1;
天:HHV(量能1,120),COLORGREEN,LINETHICK2;
地:LLV(量能1,120),COLORFF00FF,LINETHICK2;
我:(天+地)/2,COLORYELLOW,POINTDOT,LINETHICK4;
STICKLINE(量能1>量能2,量能2,量能1,0.001,0),COLORRED;
STICKLINE(量能1<REF(量能1,1)OR量能2<REF(量能2,1),量能2,量能
1,0.001,0),COLORCC3300;
STICKLINE(量能1<量能2,量能2,量能1,0.001,0),COLORGREEN;
STICKLINE(量能2>REF(量能2,1)OR量能1>REF(量能1,1)AND量能1<量能2,量能2,量
能1,0.001,0),COLORFF00FF;
DRAWICON(量能1>REF(量能1,1)ANDREF(量能1,1)<REF(量能1,2),量能1,15);
DRAWICON(量能1<REF(量能1,1)ANDREF(量能1,1)>REF(量能1,2),量能1,19);
E:=AMOUNT/10000000;
E1:=MA(E,5);
E2:=MA(E,10);
T1:=CROSS(E1,E2);
T2:=E1>REF(E1,1);
XG:T1ANDT2;
评论(0)