通达信筹码释义副图指标 源码 贴图
P1:=90;
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
F:=COST(5);
J:=COST(95);
M:=COST(15);
N:=COST(85);
获利比例:WINNER(CLOSE)*100,NODRAW;
STICKLINE(获利比例,获利比例,0,2,1),COLORLIGRAY;
STICKLINE(获利比例>=70,获利比例,0,1,0),COLORLIGRAY;
STICKLINE(获利比例>=80,获利比例,0,1,0),COLORGREEN;
STICKLINE(获利比例>=90,获利比例,0,1,0),COLORRED;
A:=P1+(100-P1)/2;{公式网WWW.GPXIAZAI.COM}
B:=(100-P1)/2;
CC:=COST(A);
DD:=COST(B);
筹码集中度:(CC-DD)/(CC+DD)*100,NODRAW;
STICKLINE(筹码集中度<=10,获利比例/2,0,1,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.1,0,0,'使用方法'),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.1,0,'【1】灰色空心柱代表获利比例,其长短代表获利比例的大小'),COLORCYAN;
DRAWTEXT_FIX(1,0.005,0.2,0,'【2】灰色实柱代表获利比例在70%~80%之间,预备阶段'),COLORCYAN;
DRAWTEXT_FIX(1,0.005,0.3,0,'【3】绿色实柱代表获利比例在80%~90%之间,具备走牛条件'),COLORGREEN;
DRAWTEXT_FIX(1,0.005,0.4,0,'【4】红色实柱代表获利比例在90%以上,拉升阶段'),COLORRED;
DRAWTEXT_FIX(1,0.005,0.5,0,'【5】黄色实柱代表筹码集中度小于10,具备走牛条件'),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.6,0,'【6】黄色+不同颜色混合柱代表二者特性兼有'),COLORMAGENTA;
|