《单 双 线》【使用周线操盘的主图指标】
最好使用周线做票(当然,日线操盘亦可。)。使用周线做票,既省事,又简单。且,盈利稳定。
选股:用选股公式《单双线》做周线选股(必须是周线选股)。再在所选的个股中挑选符合单线伊始条件的、中意的个股做票。
注意:选股时,要尽量回避周线波幅不大、没有人气的绩差股,而力求选择史上周线波幅较大、具有成长性的绩优股。
{《单 双 线》【使用周线操盘的主图指标。日线操盘亦可。】}
{《单 双 线》【使用周线操盘的主图指标。日线操盘亦可。】}
20,COLORBLACK,NODRAW;
生命线05:=MA(C,5),COLORLICYAN,LINETHICK1;
生命线优化:=EMA(生命线05,1),COLORMAGENTA,LINETHICK1;
DA:=6;
FY:=5;
CT:=1;
P:=0;
N:=3;
NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),3,DA);
N1:=IF((MINUTE=5),(NS*48),IF((MINUTE=15),(NS*16),IF((MINUTE=30),(NS*8),IF((MINUTE=60),(NS*4),NS))));
MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100));
M1:=REF(MM,1);
买入:=IF(CROSS(CLOSE,M1),M1,0);
卖出:=IF(CROSS(M1,CLOSE),M1,0);
DW:=BARSLAST((卖出>0));
EX10:=HHV((买入>0),(DW+1));
BJ:=IF((EX10>REF(EX10,1)),买入,0);
SJ:=IF((EX10<REF(EX10,1)),卖出,0);
买:=DRAWICON(CROSS(CLOSE,M1),(LOW*0.96),7);
卖:=DRAWICON(CROSS(M1,CLOSE),(HIGH*1.05),8);
单线多头加仓:LLV(MA(HIGH,(5)),1),LINETHICK1,COLORGREEN;
双线空头减仓:HHV(MA(HIGH,(5)),2),LINETHICK1,COLORRED;
选股:=REF(双线空头减仓,1)>REF(单线多头加仓,1) AND REF(双线空头减仓,0)=REF(单线多头加仓,0);
单线伊始:DRAWICON(选股,L*0.95,9);
提示0:DRAWTEXT_FIX(C!=0,0.01,0.01,0,' ★ 单双线指标的使用方法:。'),COLOR0099FF;
提示1:DRAWTEXT_FIX(C!=0,0.01,0.07,0,' ★ 最好使用周线做票(月线可以做参考)。周线单线伊始,即可买入个股10000股(资金充足的,可买二、三支个股)。尔后,只要个股出现了周'),COLOR0099FF;
提示2:DRAWTEXT_FIX(C!=0,0.01,0.13,0,' ★ 双线,就减仓至100 股。而再出周单线,就再加仓至10000 股。即,逢双线减仓,逢单线加仓。以此类推,循环操作,直至将个股成本降至负数。'),COLOR0099FF;
提示3:DRAWTEXT_FIX(C!=0,0.01,0.19,0,' ★ 选股:用选股公式《单双线》做周线选股(必须的)。再在所选的个股中挑选符合单线伊始条件的、中意的个股做票。'),COLOR0099FF;
提示4:DRAWTEXT_FIX(C!=0,0.01,0.25,0,' ★ 注意:选股时,要尽量回避周线波幅不大、没有人气的绩差股,而力求选择史上周线波幅较大、具有成长性的绩优股。'),COLOR0099FF;
平均成本线:COST(50),COLORBROWN,DOTLINE;
买卖价格参考:=M1,LINETHICK0;
明日买卖价格:=MM,COLORFFFFFF,LINETHICK0;
标识01:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0), COLOR0044FF;
标识02:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0), COLOR0077FF;
标识03:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0), COLOR1199FF;
标识04:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0), COLOR22BBFF;
标识05:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0), COLOR33DDFF;
标识06:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0), COLOR33FFFF;
标识07:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0), COLOR000055;
标识08:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0), COLOR000077;
标识09:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0), COLOR000099;
标识10:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.8,0), COLOR0000BB;
标识11:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.4,0), COLOR0000DD;
标识12:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1,0), COLOR0033FF;
标识13:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,3.0,0),COLORFF4400;
标识14:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,2.6,0),COLORFF7700;
标识15:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,2.2,0),COLORFF9911;
标识16:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1.8,0),COLORFFBB22;
标识17:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1.4,0),COLORFFDD33;
标识18:STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1,0),COLORFFFF33;
标识19:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,3.0,0),COLOR550000;
标识20:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,2.6,0),COLOR770000;
标识21:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,2.2,0),COLOR990000;
标识22:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,1.8,0),COLORBB0000;
标识23:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,1.4,0),COLORDD0000;
标识24:STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,1,0),COLORFF0000;
{红持绿抛②:=MA(CLOSE,25),COLORRED;
红持绿抛③:=MA(CLOSE,30),COLORGREEN;DRAWBAND(红持绿抛②,RGB(255,0,0),红持绿抛③,RGB(0,255,0));}
{压力与支撑}
压力均线画线:=HHV(HIGH,30),COLOR666666,DOTLINE;
支撑均线画线:=LLV(LOW,30),COLOR666666,DOTLINE;
压力均线30:=HHV(LOW,30),COLORFFCC00,DOTLINE;
支撑均线30:=LLV(HIGH,30),COLORFFCC00,DOTLINE;
向上突破:DRAWICON(FILTERX(CROSS(C,支撑均线30),10),L*0.996,1);
向上突破支撑:=DRAWTEXT(FILTERX(CROSS(C,支撑均线30),10),L*0.98,' 支撑位')COLORRED;
向下突破支撑:DRAWICON(FILTERX(CROSS(压力均线30,C),10),H*1.06,2);
{蓝色K线系列}
标识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<生命线05 AND OPEN>=CLOSE,HIGH,LOW,0,0),COLORCYAN;
标识100:STICKLINE(CLOSE<生命线05 AND OPEN>=CLOSE,OPEN,CLOSE,3,0),COLORCYAN;
标识101:STICKLINE(CLOSE<生命线05 AND OPEN<CLOSE,HIGH,CLOSE,0,0),COLORCYAN;
标识102:STICKLINE(CLOSE<生命线05 AND OPEN<CLOSE,OPEN,LOW,0,0),COLORCYAN;
标识103:STICKLINE(CLOSE<生命线05 AND OPEN<CLOSE,OPEN,CLOSE,3,1),COLORCYAN;
{红K线系列}
标识104:STICKLINE(CLOSE>生命线05 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识105:STICKLINE(CLOSE>生命线05 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
标识106:STICKLINE(CLOSE>生命线05 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识107:STICKLINE(CLOSE>生命线05 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识108:STICKLINE(CLOSE>生命线05 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
标识109:STICKLINE(CLOSE>生命线05 AND 生命线优化>REF(生命线优化,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识200:STICKLINE(CLOSE>生命线05 AND 生命线优化>REF(生命线优化,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
标识202:STICKLINE(CLOSE>生命线05 AND 生命线优化>REF(生命线优化,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识203:STICKLINE(CLOSE>生命线05 AND 生命线优化>REF(生命线优化,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识204:STICKLINE(CLOSE>生命线05 AND 生命线优化>REF(生命线优化,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
{SAR抛物线【指标】}
持仓:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORRED;
空仓:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORGREEN;
BS:=STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
SAR持仓标识:DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20)-0.3,'●')COLOR0099FF;
SAR空仓标识:DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20)+0.3,'●')COLORFF0033;
{单 双 线【选股公式】单双线选股}
DA:=6;
FY:=5;
CT:=1;
P:=0;
N:=3;
NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),3,DA);
N1:=IF((MINUTE=5),(NS*48),IF((MINUTE=15),(NS*16),IF((MINUTE=30),(NS*8),IF((MINUTE=60),(NS*4),NS))));
MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100));
M1:=REF(MM,1);
买入:=IF(CROSS(CLOSE,M1),M1,0);
卖出:=IF(CROSS(M1,CLOSE),M1,0);
DW:=BARSLAST((卖出>0));
EX10:=HHV((买入>0),(DW+1));
BJ:=IF((EX10>REF(EX10,1)),买入,0);
SJ:=IF((EX10<REF(EX10,1)),卖出,0);
买:=DRAWICON(CROSS(CLOSE,M1),(LOW*0.96),7);
卖:=DRAWICON(CROSS(M1,CLOSE),(HIGH*1.05),8);
单线多头加仓:=LLV(MA(HIGH,(5)),1);
双线空头减仓:=HHV(MA(HIGH,(5)),2);
选股:REF(双线空头减仓,1)>REF(单线多头加仓,1) AND REF(双线空头减仓,0)=REF(单线多头加仓,0);