薛斯通道·主图【经典指标】
{薛斯通道·主图【经典指标】}
{薛斯通道·主图【经典指标】 参数:LY:=5; BL:=45;}
生命线:MA(C,5),COLORBROWN;
使用说明:DRAWTEXT_FIX(C!=0,0.015,0.01,0,' ★ 《内上轨》上穿《外上轨》,即是见顶信号。《内下轨》下刺《外下轨》,即是见底信号。'),COLORCYAN;
买点说明:DRAWTEXT_FIX(C!=0,0.015,0.08,0,' ★ 盘中,一旦发现《内下轨》下刺了《外下轨》,即表明股价即将触底了。其后,交易者最好是选择阴线,在收盘前逢低买进。【注意关注《主力进场》指标 “新庄” 数值<20 的棕色柱】。'),COLORRED;
卖点说明:DRAWTEXT_FIX(C!=0,0.015,0.15,0,' ★ 盘中,一旦发现《内上轨》上穿了《外上轨》,即表明股价即将触顶了。其后,交易者就可以选择阳线,于盘中逢高卖出了。'),COLORGREEN;
LY:=5; {可在个位数上对参数做微调。 参数原值:LY:=10; BL:=40;}
BL:=45;
CJQS:=XMA(CLOSE,LY);{CJQS:=XMA(CLOSE,LY)}
JBQS:=XMA(CLOSE,BL);{JBQS:=XMA(CLOSE,BL)}
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
外上轨:IF(CURRBARSCOUNT>BL/2,JBQS*1.10,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1)COLORYELLOW,LINETHICK1;
外下轨:IF(CURRBARSCOUNT>BL/2,JBQS*0.92,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9)COLOR0099FF,LINETHICK1;
内上轨:IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05)COLORRED,;
内下轨:IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95)COLORMAGENTA,;
{LY:=10;
BL:=40;
CJQS:=XMA(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
JB上轨:IF(CURRBARSCOUNT>BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);
JB下轨:IF(CURRBARSCOUNT>BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);
CJ上轨:IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);
CJ下轨:IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95);}
外上通道:IF(外上轨<REF(外上轨,1),外上轨,DRAWNULL),COLOR009900,LINETHICK1,{淡蓝色};
外下通道:IF(外下轨<REF(外下轨,1),外下轨,DRAWNULL),COLORFF0000,LINETHICK1,{士官服蓝色};
内上通道:IF(内上轨<REF(内上轨,1),内上轨,DRAWNULL),COLORGREEN,,{绿色};
内下通道:IF(内下轨<REF(内下轨,1),内下轨,DRAWNULL),COLORLICYAN,,{紫罗蓝 COLORE66878};
{立桩量}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
图标3:STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF;
买一跌破内轨:=DRAWTEXT(EXIST(CROSS(内下轨,REF(CLOSE,0)),2)AND CROSS(REF(CLOSE,0),REF(OPEN,0))AND REF(内下轨,0)>REF(内下轨,1),REF(LOW,0)-0.5,'1')COLORLIMAGENTA;
买二跌破外轨:=DRAWTEXT(CROSS(外下轨,REF(LOW,0))AND REF(外下轨,0)>REF(外下轨,1),REF(LOW,0)-0.5,'2')COLORLIMAGENTA;
买三跌破双轨:=DRAWTEXT(FILTERX(CROSS(内下轨,REF(CLOSE,0))AND CROSS(REF(外下轨,0),REF(CLOSE,0)),5),REF(LOW,0)-0.5,'3')COLORLIMAGENTA;
卖一雏鸡破壳:=DRAWTEXT(CROSS(REF(CLOSE,0),REF(内上轨,0)),REF(HIGH,0)+0.5,'1')COLORGREEN;
卖二破二重天:=DRAWTEXT(CROSS(REF(CLOSE,0),REF(内上轨,0))AND CROSS(REF(CLOSE,0),REF(外上轨,0)),外上轨+0.5,'2')COLORGREEN;
卖三白龙回首:=DRAWTEXT(CROSS(REF(外上轨,1),REF(外上轨,0)),外上轨+0.5,'3')COLORGREEN;
支撑均线:=LLV(HIGH,30),,COLORFFCC00;
标注000:DRAWICON(FILTERX(CROSS(C,支撑均线),10),外下通道-0.1,1);
标识002:STICKLINE(CLOSE=OPEN,HIGH,LOW,0,0),COLORCYAN;
标识003:STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORCYAN;
标识005:STICKLINE(CLOSE>OPEN,LOW,OPEN,0,0),COLORCYAN;
标识006:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
标识007:STICKLINE(OPEN>CLOSE,HIGH,LOW,0,0),COLORCYAN;
标识008:STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3,0),COLORGREEN;
标识009:STICKLINE(CLOSE<生命线 AND OPEN>=CLOSE,HIGH,LOW,0,0),COLORCYAN;
标识100:STICKLINE(CLOSE<生命线 AND OPEN>=CLOSE,OPEN,CLOSE,3,0),COLORCYAN;
标识101:STICKLINE(CLOSE<生命线 AND OPEN<CLOSE,HIGH,CLOSE,0,0),COLORCYAN;
标识102:STICKLINE(CLOSE<生命线 AND OPEN<CLOSE,OPEN,LOW,0,0),COLORCYAN;
标识103:STICKLINE(CLOSE<生命线 AND OPEN<CLOSE,OPEN,CLOSE,3,1),COLORCYAN;
标识104:STICKLINE(CLOSE>生命线 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识105:STICKLINE(CLOSE>生命线 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
标识106:STICKLINE(CLOSE>生命线 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识107:STICKLINE(CLOSE>生命线 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识108:STICKLINE(CLOSE>生命线 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
标识109:STICKLINE(CLOSE>生命线 AND 生命线>REF(生命线,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识200:STICKLINE(CLOSE>生命线 AND 生命线>REF(生命线,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
标识202:STICKLINE(CLOSE>生命线 AND 生命线>REF(生命线,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识203:STICKLINE(CLOSE>生命线 AND 生命线>REF(生命线,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识204:STICKLINE(CLOSE>生命线 AND 生命线>REF(生命线,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
顶:DRAWTEXT(内上轨>外上轨 AND REF(C,0)>外上轨,REF(外上轨,0)+2.2,'顶')COLORYELLOW;
底:DRAWTEXT(FILTER(内下轨<外下轨 AND REF(C,0)<REF(OPEN,0),9),REF(外下轨,0)-0.5,'底')COLORMAGENTA;
阴线紫色柱:=STICKLINE(内下轨<外下轨 AND REF(C,0)<REF(OPEN,0) AND REF(外上轨,0)>REF(外上轨,1),CLOSE,(OPEN+CLOSE)/2,3,0)COLORMAGENTA;
底部:72.80,COLORBLACK;