同花顺量价关系副图源码
2017-09-12网络 编 辑:翔博软件
N:=(C-REF(C,55))/REF(C,55)*100;
量价关系:=100*N/SUM(V,55);
STICKLINE(量价关系>0,量价关系*2,0,2,0),colorred;
STICKLINE(量价关系<=0,量价关系*2,0,2,0),colorgreen;
N1:=(C-REF(C,34))/REF(C,34)*100;
量价关系1:=100*N1/SUM(V,34);
STICKLINE(量价关系1>0,量价关系1*1,0,2,0),COLOR8977FF;
STICKLINE(量价关系1<=0,量价关系1*1,0,2,0),COLORFFFF00;
N2:=(C-REF(C,13))/REF(C,13)*100;
量价关系2:=100*N2/SUM(V,13);
STICKLINE(量价关系2>0,量价关系2*0.5,0,2,0),COLOR00FFFF;
STICKLINE(量价关系2<=0,量价关系2*0.5,0,2,0),COLORFFFFFF;
量价关系:=100*N/SUM(V,55);
STICKLINE(量价关系>0,量价关系*2,0,2,0),colorred;
STICKLINE(量价关系<=0,量价关系*2,0,2,0),colorgreen;
N1:=(C-REF(C,34))/REF(C,34)*100;
量价关系1:=100*N1/SUM(V,34);
STICKLINE(量价关系1>0,量价关系1*1,0,2,0),COLOR8977FF;
STICKLINE(量价关系1<=0,量价关系1*1,0,2,0),COLORFFFF00;
N2:=(C-REF(C,13))/REF(C,13)*100;
量价关系2:=100*N2/SUM(V,13);
STICKLINE(量价关系2>0,量价关系2*0.5,0,2,0),COLOR00FFFF;
STICKLINE(量价关系2<=0,量价关系2*0.5,0,2,0),COLORFFFFFF;