当前位置:首页 > 免费资源 > 正文

「翔博精选指标」擒庄,和谐通达信公式源码分享 副图

2022-01-30原创 编 辑:翔博软件

 擒庄

VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=(-2)*(VAR2-VAR3)*3.8;
VAR5:=2*(VAR2-VAR3)*3.8;
STICKLINE(VAR5>0,0,VAR5*10,3.2,4),COLORRED;
STICKLINE(VAR5<0,0,VAR5*10,3.2,4),COLORGREEN;
VAR6:=EMA(EMA(CLOSE,9),9);
VAR7:=(VAR1-REF(VAR6,1))/REF(VAR6,1)*30;
VAR8:=CROSS(VAR7,0);


无庄控盘:IF(VAR7<0,VAR7,0),NODRAW,COLORYELLOW;
开始控盘:IF(VAR8,15,0),COLORMAGENTA,LINETHICK3;
有庄控盘:IF(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0),NODRAW,COLORRED;
VAR9:=100*WINNER(CLOSE*0.95);
高度控盘:IF(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0),NODRAW,COLORMAGENTA;
散户资金线:VAR4,COLORGREEN;
主力资金线:VAR5,COLORYELLOW,LINETHICK2;
VAR10:=CROSS(主力资金线,散户资金线);
建仓:IF(VAR10,4,0),COLORMAGENTA;
VAR11:=EMA(COST(80),13);
启动:主力资金线>REF(主力资金线,1) AND 主力资金线>(-1.3) AND CLOSE/REF(CLOSE,1)>1.05 AND CLOSE>VAR11 AND 高度控盘>1,COLORRED;
主力出货:IF(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0),NODRAW,COLORCYAN;
清仓:CROSS(散户资金线,主力资金线),COLORGREEN;
STICKLINE(VAR7<0,VAR7,0,2.8,0),COLOR00AAFF;
STICKLINE(VAR7<0,VAR7,0,1.5,0),COLOR00CCFF;
STICKLINE(VAR7<0,VAR7,0,0.5,0),COLORYELLOW;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,2.8,0),COLOR000055;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,2,0),COLOR000088;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,1.5,0),COLOR0000AA;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,1,0),COLOR0000CC;
STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR7,0,0.5,0),COLOR0000EE;
STICKLINE(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0,2.8,0),COLOR550055;
STICKLINE(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0,2,0),COLOR880088;
STICKLINE(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0,1.5,0),COLORAA00AA;
STICKLINE(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0,1,0),COLORCC00CC;
STICKLINE(VAR9>50 AND COST(80)<CLOSE AND VAR7>0,VAR7,0,0.5,0),COLOREE00EE;
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,2.8,0),COLOR555500;
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,2,0),COLOR888800;
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,1.5,0),COLORAAAA00;
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,1,0),COLORCCCC00;
STICKLINE(VAR7<REF(VAR7,1) AND VAR7>0,VAR7,0,0.5,0),COLOREEEE00;
DRAWTEXT(建仓,5,722),COLORMAGENTA;
DRAWICON(启动 AND NOT(REF(启动,1)),VAR5*10+5,1);
DRAWTEXT_FIX(1,0,0.05,0,723),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.1,0,724),COLORRED;
DRAWTEXT_FIX(1,0,0.15,0,725),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.2,0,726),COLORGREEN;
VAR12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR13:=COUNT(VAR12>8,120);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.2,0,0,VAR13),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,727),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0,0,728),COLORYELLOW;
VAR14:=CCI(84)/10;
DRAWTEXT(CROSS(VAR14,0),0,729),COLORYELLOW;
DRAWTEXT(CROSS(VAR14,25),25,730),COLORWHITE;
DRAWTEXT(CROSS(VAR14,12),12,731),COLORYELLOW;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标