【通达信源码分享】精品指标公式-窥探主力绝顶
{自动坐标系:50;250;400}
LC:=REF(CLOSE,1);
动力:SUM(IF(CLOSE>LC,VOL,0),26)/SUM(IF(CLOSE<=LC,VOL,0),26)*100,,COLORGRAY,LINETHICK2;
STICKLINE(CROSS(250,动力),350,400,9,0),,COLOR00FF00;
洗盘:0,COLOR00FF00;
STICKLINE(CROSS(400,动力),300,400,9,0),,COLORFF00FF;
舔血:0,COLORFF00FF;
关注:IF(动力<70,70,50),LINETHICK2,COLORFFCC66;
WVAD10:=MA((CLOSE-OPEN)/(HIGH-LOW)*VOL,10)/1000+50;
真金:IF(CROSS(WVAD10,50) AND 关注>50 AND 动力<400 AND ZIG(1,19)>REF(ZIG(1,19),1),200,50),LINETHICK2,COLORBLUE;
白银:IF(CROSS(WVAD10,50) AND 动力<400 AND ZIG(1,19)>REF(ZIG(1,19),1),150,50),LINETHICK2,COLORYELLOW;
铜钱:IF(CROSS(WVAD10,50),100,50),LINETHICK2,COLORRED,;
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
{持股:}STICKLINE(VAR3>VAR4,258,288,2,0),,COLOR0066FF,LINETHICK2;
持股:0,COLOR0066FF;
{持币:}STICKLINE(VAR3<VAR4,218,248,2,0),,COLORGREEN,LINETHICK2;
持币:0,COLORGREEN;
50,LINETHICK2,COLORYELLOW;
250,LINETHICK2,COLORFF00FF;
400,LINETHICK2,COLORGREEN;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!