通达信知顶知底量能指标源码
能指标理想论坛很少有人发表,我今天给大家带来啦,闲了时候再给大家做一个模板,我会一一说明的
1、中线量能指标
量能:=AMOUNT/10000000,COLORWHITE STICK;
量能1:MA(量能,21),COLORWHITE LINETHICK1;
量能2:MA(量能,55),COLORYELLOW LINETHICK1;
量能3:MA(量能,89),COLORRED LINETHICK1;
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);
2、短线量能指标
量能:=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) AND REF(量能1,1)<REF(量能1,2),量能1,15);
DRAWICON(量能1<REF(量能1,1) AND REF(量能1,1)>REF(量能1,2),量能1,19);