大智慧五彩量价指标公式
input:M1(5,1,10,1),M2(20,10,60,1),N(4,1,10);
成交:=vol;
均量3:MA(VOL,3),LAYER0,ColorYELLOW,LINETHICK2;
均量5:=MA(VOL,M1);
均量20:MA(VOL,M2),LAYER0,colorGREEN,LINETHICK2;
均量50:MA(VOL,50),COLORRED,LAYER0,LINETHICK2;
HS:=V/CAPITAL*100;
放量:=IF(crOSS(HS,N),1,0);
DRAWTEXTAbs(5,5,'指标网 www.zhibiaow.com'),linethick1,COLOR00EEff;
DRAWICON(放量 AND CROSS(均量5,均量20) and 均量3>ref(均量3,1) ,vol,12),colorYELLOW,ALIGN1,VALIGN1,LINETHICK1;
JV:=(OPEN+CLOSE+HIGH+LOW)/4;
JG:=AMOUNT/VOL/100;
均价5:MA(JG,5),colorred;
均价20:MA(JG,20),colorff00ff;
持股:stICKLINE(均价20<JV and 均价5<JV,0,V,8,0),colorred;
STICKLINE(均价20< JV and 均价5<JV,0,V,8,0 ),Color041CEC;
STICKLINE(均价20< JV and 均价5<JV,0,V,6.6,0 ),Color0F26FB;
STICKLINE(均价20< JV and 均价5<JV,0,V,4.4,0 ),Color2439FB;
STICKLINE(均价20< JV and 均价5<JV,0,V,2.2,0 ),Color485AFB;
STICKLINE(均价20< JV and 均价5<JV,0,V,1,0 ),Color6473FB;
持币:STICKLINE(均价20>JV and 均价5>JV,0,V,8,0),COLORFF7700;
STICKLINE(均价20>JV and 均价5>JV,0,V,6.6 ,0 ),COLORFF8811;
STICKLINE(均价20>JV and 均价5>JV,0,V,4.4,0 ),COLORFFAA22;
STICKLINE(均价20>JV and 均价5>JV,0,V,3.3,0 ),COLORFFBB33;
STICKLINE(均价20>JV and 均价5>JV,0,V,2 ,0 ),COLORFFDD44;
STICKLINE(均价20>JV and 均价5>JV,0,V,0.8 ,0 ),COLORFFEE55;
警戒:STICKLINE(均价20<JV and 均价5>JV,0,V,6,0),colorBB11AA;
STICKLINE(均价20<JV and 均价5>JV,0,V,8,0 ),COLORBB11BB;
STICKLINE(均价20<JV and 均价5>JV,0,V,6.6,0 ),COLORBB11AA;
STICKLINE(均价20<JV and 均价5>JV,0,V,4.4,0 ),COLORCC22BB;
STICKLINE(均价20<JV and 均价5>JV,0,V,3.3,0 ),COLORDD33BB;
STICKLINE(均价20<JV and 均价5>JV,0,V,2,0 ),COLOREE44BB;
STICKLINE(均价20<JV and 均价5>JV,0,V,0.8,0 ),COLORFF55BB;
关注:STICKLINE(均价20>JV and 均价5<JV,0,V,6,0),color00BBFF;
STICKLINE(均价20>JV and 均价5<JV,0,V,8,0),COLOR00AAFF;
STICKLINE(均价20>JV and 均价5<JV,0,V,4.4,0),COLOR00CCFF;
STICKLINE(均价20>JV and 均价5<JV,0,V,3.3,0),COLOR00ddfF;
STICKLINE(均价20>JV and 均价5<JV,0,V,2,0),COLOR00EEFF;
STICKLINE(均价20>JV and 均价5<JV,0,V,1.1,0),COLOR00FFFF;
DRAWTEXTABS(40,0,'[成交量和股价关系图示,黄线上交绿线,成交量放大,买入!红柱VOL持股,黄柱关注,紫柱警戒减仓,青柱空仓持币] '),LINETHICK1,colorYELLOW;