以下是通达信筹码为王副图指标公式源码

筹码为王副图指标 源码 通达信 贴图

 白色柱为散户套牢,蓝色柱为主力控盘,黄色为底部资金

{N(0,100,21)}  散户套牢:(100 * (1 – WINNER(CLOSE))),COLORFFFFFF,LINETHICK3;
STICKLINE((CLOSE > 1),散户套牢,0,0.5,0),COLORFFFFFF;
KDCM:=(100 * WINNER(CLOSE));
主力控盘:KDCM,STICK,COLORAA0033,LINETHICK3;
STICKLINE((CLOSE > 1),KDCM,0,2,1),LINETHICK2,COLORAA0033;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR330000;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR440011;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR550022;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR660033;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR770044;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR880055;
STICKLINE((CLOSE > 1),KDCM,0,2,0),COLOR990066;
DDCM:=EMA((100 * WINNER(CLOSE)),13);
STICKLINE(((CLOSE >1) AND (DDCM < KDCM)),KDCM,DDCM,4,1),LINETHICK2,COLORAA0033;{浅蓝色}
STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLORFF0000;{蓝色}
{STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLOR11FF00;}{绿色}
{STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLOR33FF00;
STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLOR44FF00;
STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLOR55FF00;
STICKLINE(((CLOSE > 1) AND (DDCM < KDCM)),KDCM,DDCM,2,0),COLOR66FF00;}
DRAWICON((KDCM < 2),0,10);
VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1);
底部资金: IF(VAR1<0,VAR2,0),COLOR00FFFF, LINESTICK;
获利平均值:=MA(COST(99),5);
获利99:=MA(COST(80),5);
获利80:=MA(CLOSE,5);
均线5日:=MA(COST(20),5);
获利20:=MA(COST(1),5);
获利1:=(((获利平均值 – 获利99) / 获利99) * 100);
A1:=(((获利99-均线5日)/均线5日)*100);
TJ:=CROSS(((CLOSE>1) AND (DDCM<KDCM)),0.1);

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。