通达信专测大盘副图指标 源码 贴图
2023-02-13 11:26:00来源:本站整理浏览:801
通达信专测大盘副图指标 源码 贴图
{专测大盘 TDX副图}{公式网WWW.GPXIAZAI.COM}
LC:=REF(CLOSE,1);
动力1:EMA(EMA((SUM(IF(INDEXC>LC,VOL,0),42)/SUM(IF(INDEXC<=LC,VOL,0),42)),5),2)*100,COLORGRAY,LINETHICK2;
动力2:EMA(EMA((SUM(IF(INDEXC>LC,VOL,0),55)/SUM(IF(INDEXC<=LC,VOL,0),55)),5),2)*100,COLORD49D56,LINETHICK2;
STICKLINE(CROSS(250,动力1),350,400,9,0),COLOR00FF00;
STICKLINE(CROSS(400,动力1),300,400,9,0),COLORFF00FF;
关注:IF(动力1<70,70,50),LINETHICK2,COLORFFCC66;
WVAD10:=MA((INDEXC-INDEXO)/(INDEXH-INDEXL)*VOL,10)/1000+50;
真金:IF(CROSS(WVAD10,50) AND 关注>50 AND 动力1<400 AND ZIG(1,19)>REF(ZIG(1,19),1),200,50),LINETHICK2,COLORBLUE;
白银:IF(CROSS(WVAD10,50) AND 动力1<400 AND ZIG(1,19)>REF(ZIG(1,19),1),150,50),LINETHICK2,COLORYELLOW;
铜钱:IF(CROSS(WVAD10,50),100,50),LINETHICK2,COLORRED;
VAR2:=(INDEXC+INDEXH+INDEXL)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
{持股:}STICKLINE(VAR3>VAR4,258,288,2,0),COLOR0066FF,LINETHICK2;
{持币:}STICKLINE(VAR3<VAR4,218,248,2,0),COLORGREEN,LINETHICK2;
大盘:=COUNT(INDEXC>REF(INDEXC,1),3)=3; {连续N天上涨}
动力:=COUNT(动力1<REF(动力1,1),3)=3; {连续N日下跌}
DRAWTEXT(FILTER(大盘 AND 动力,2),动力1,'小心'),COLORFFE900;
DRAWICON(FILTER(大盘 AND 动力,2),动力1+30,8);
50,LINETHICK2,COLORYELLOW;
250,LINETHICK2,COLORFF00FF;
STICKLINE(C>0,400,400,5,0),LINETHICK2,COLORGREEN;
LC:=REF(CLOSE,1);
动力1:EMA(EMA((SUM(IF(INDEXC>LC,VOL,0),42)/SUM(IF(INDEXC<=LC,VOL,0),42)),5),2)*100,COLORGRAY,LINETHICK2;
动力2:EMA(EMA((SUM(IF(INDEXC>LC,VOL,0),55)/SUM(IF(INDEXC<=LC,VOL,0),55)),5),2)*100,COLORD49D56,LINETHICK2;
STICKLINE(CROSS(250,动力1),350,400,9,0),COLOR00FF00;
STICKLINE(CROSS(400,动力1),300,400,9,0),COLORFF00FF;
关注:IF(动力1<70,70,50),LINETHICK2,COLORFFCC66;
WVAD10:=MA((INDEXC-INDEXO)/(INDEXH-INDEXL)*VOL,10)/1000+50;
真金:IF(CROSS(WVAD10,50) AND 关注>50 AND 动力1<400 AND ZIG(1,19)>REF(ZIG(1,19),1),200,50),LINETHICK2,COLORBLUE;
白银:IF(CROSS(WVAD10,50) AND 动力1<400 AND ZIG(1,19)>REF(ZIG(1,19),1),150,50),LINETHICK2,COLORYELLOW;
铜钱:IF(CROSS(WVAD10,50),100,50),LINETHICK2,COLORRED;
VAR2:=(INDEXC+INDEXH+INDEXL)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
{持股:}STICKLINE(VAR3>VAR4,258,288,2,0),COLOR0066FF,LINETHICK2;
{持币:}STICKLINE(VAR3<VAR4,218,248,2,0),COLORGREEN,LINETHICK2;
大盘:=COUNT(INDEXC>REF(INDEXC,1),3)=3; {连续N天上涨}
动力:=COUNT(动力1<REF(动力1,1),3)=3; {连续N日下跌}
DRAWTEXT(FILTER(大盘 AND 动力,2),动力1,'小心'),COLORFFE900;
DRAWICON(FILTER(大盘 AND 动力,2),动力1+30,8);
50,LINETHICK2,COLORYELLOW;
250,LINETHICK2,COLORFF00FF;
STICKLINE(C>0,400,400,5,0),LINETHICK2,COLORGREEN;
- 上一篇公式:通达信大资金买进副图指标 源码 贴图
- 下一篇公式:通达信布林波段行情主图指标 源码 贴图