联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

S凤凰主力

2016-7-7 21:16:40点击:

大智慧的特色指标,红色持股,蓝色轻仓或减仓,黄色减仓,绿色卖出。

xopen:=(REF(O,1)+REF(C,1))/2;

xclose:=CLOSE;

xhigh:=MAX(HIGH,xopen);

xlow:=MIN(LOW,xopen);

volality:=MA(xhigh-xlow,8);

凰线:MA(xclose,5)+volality/2;

凤线:MA(xclose,5)-volality/2;

bu:=CROSS(xclose,凰线);

sel:=CROSS(凤线,xclose);

var1:=BARSLAST(bu);

var2:=BARSLAST(sel);

DRAWICON(REF(var1,1)>var2 AND var1=0,xlow,1),align1,valign0;

DRAWICON(REF(var2,1)>var1 AND var2=0,xhigh,2),align1,valign2;

STICKLINE(xclose>xopen AND var1<var2,xclose,xopen ,8,0 ),colorred;

STICKLINE(xclose>xopen AND var1<var2,xhigh,xclose ,0.5,0 ),colorred;

STICKLINE(xclose>xopen AND var1<var2,xopen,xlow ,0.5,0 ),colorred;

STICKLINE(xclose<=xopen AND var1<var2,xclose,xopen ,8,0 ),coloryellow;

STICKLINE(xclose<=xopen AND var1<var2,xhigh,xopen ,0.5,0 ),coloryellow;

STICKLINE(xclose<=xopen AND var1<var2,xclose,xlow ,0.5,0 ),coloryellow;

STICKLINE(xclose<=xopen AND var1>var2,xclose ,xopen ,8,0 ),colorgreen;

STICKLINE(xclose<=xopen AND var1>var2,xopen ,xhigh ,0.5,0 ),colorgreen;

STICKLINE(xclose<=xopen AND var1>var2,xclose,xlow ,0.5,0 ),colorgreen;

STICKLINE(xclose>xopen AND var1>var2,xclose ,xopen ,8,0 ),colorblue;

STICKLINE(xclose>xopen AND var1>var2,xclose,xhigh ,0.5,0 ),colorblue;

STICKLINE(xclose>xopen AND var1>var2,xopen,xlow ,0.5,0 ),colorblue;

//大单净量

r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;

//相对强弱

LC := REF(CLOSE,1);//前一日收盘价;

//////主力雷达//////////

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

DRAWTEXT(CROSS(85,RSI1),H,'顶');

DRAWTEXT(CROSS(RSI1,25),L,'底');

主力0:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;

散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;

DRAWTEXT(CROSS(主力0,散户) AND 主力0<-10,L,'升');

DRAWICON(CROSS(主力0,散户) AND 主力0<-10 AND 散户>REF(散户,1) OR CROSS(主力0,散户) AND 散户<-35 ,L,222);

////////主力雷达////////////

RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;

RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;

相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;

wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;

风险系数:=0.5*相对强弱+0.5*短线波段,coloryellow;

//买入条件;

CD1:=IF(风险系数<20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;

CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;

CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;

SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);

X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);

DRAWICON(X,L,"△");

//用法解说

Y1 := NULL;

IF(风险系数>=80 AND REF(风险系数,1)>=80 AND 风险系数<REF(风险系数,1))

{

Y1 := "风险系数曲线目前处于风险区,且开始向下转向,表明股价目前处于超买状态,有下行迹象,建议近期宜防范下跌风险";

}

IF(风险系数<80 AND REF(风险系数,1)>=80)

{

Y1 := "风险系数曲线脱离风险区,目前处于向下回调走势,宜以防范风险为主";

}

IF(风险系数<REF(风险系数,1) AND REF(风险系数,1)>REF(风险系数,2) AND 风险系数<50 AND 风险系数>20 AND REF(风险系数,1)<80)

{

Y1 := "风险系数向下反转,数值偏低,走势偏弱,短期不宜轻率动手";

}

IF(风险系数<REF(风险系数,1) AND REF(风险系数,1)>REF(风险系数,2) AND 风险系数<80 AND 风险系数>50 AND REF(风险系数,1)<80)

{

Y1 := "风险系数向下反转,数值偏高,走势偏强,短期宜提高警惕";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)<REF(风险系数,2) AND 风险系数>50 AND 风险系数<80 AND REF(风险系数,1)<80 AND REF(风险系数,1)>20)

{

Y1 := "风险系数向上走强,数值偏高,但未到达风险区,表明目前走势偏强,可继续持股";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)<REF(风险系数,2) AND 风险系数>20 AND 风险系数<50 AND REF(风险系数,1)<80 AND REF(风险系数,1)>20)

{

Y1 := "风险系数向上走强,数值偏低,但未进入机会区,表明走势偏弱,有转强迹象,仓位不宜过重";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)>REF(风险系数,2) AND 风险系数<80 AND 风险系数>20)

{

Y1 := "风险系数延续向上走势,表明目前股价趋势向上,宜持股不动";

}

IF(风险系数<REF(风险系数,1) AND REF(风险系数,1)<REF(风险系数,2) AND 风险系数<80 AND 风险系数>20)

{

Y1 := "风险系数延续向下走势,表明目前股价趋势向下,建议投资者宜合理控制仓位,防范风险";

}

IF(风险系数<REF(风险系数,1) AND REF(风险系数,1)>20 AND 风险系数<20)

{

Y1 := "风险系数曲线进入机会区,表明短期股价处于超卖状态,不宜轻率动手,可密切关注可能出现的反转迹象";

}

IF(风险系数<REF(风险系数,1) AND REF(风险系数,1)<20 AND 风险系数<20)

{

Y1 := "风险系数曲线目前处于机会区,表明短期股价处于超卖状态,但仍处于下行趋势,不宜轻率动手,可密切关注可能出现的反转迹象";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)<20)

{

Y1 := "股价在机会区出现反转迹象,若有抄底信号提示,近期或企稳反弹";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)<80 AND 风险系数>80)

{

Y1 := "风险系数曲线进入风险区,表明短期股价处于超买状态,但仍处于上行趋势,目前宜持仓不动,但宜提高警惕,防范反转走势";

}

IF(风险系数>REF(风险系数,1) AND REF(风险系数,1)>=80 AND 风险系数>80)

{

Y1 := "风险系数曲线目前位于风险区,表明短期股价处于超买状态,但仍处于上行趋势,目前宜持仓不动,但宜提高警惕,防范反转走势";

}

研判:Y1;

///////////////////主力动向+主力趋势//////www.88gs.com//////////////////////

r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;

MA05:=MA(r0,5);

最小值:=LLV(LOW,10);

最大值:=HHV(HIGH,25);

波动线:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4);

主力:=EMA(波动线,3)-1.85;

VERLINE(主力>=REF(主力,1) AND REF(主力,1)<REF(主力,2),2),colorred;

VERLINE(主力<REF(主力,1) AND REF(主力,1)>=REF(主力,2),2),colorgreen;

主力攻击:=r0-(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)>0 AND 主力>=REF(主力,1) AND REF(主力,1)<REF(主力,2);

主力撤退:=-((r0+(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)<0) AND 主力<=REF(主力,1) AND REF(主力,1)>REF(主力,2));

DRAWTEXT(主力攻击>0,L,'主力攻击'),colorred;

DRAWTEXT(主力撤退<0,H,'主力撤退'),colorgreen;

信息:=主力>=REF(主力,1);

走强:=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);

走弱:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);

量:=VOL>MA(VOL,5);

d=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 主力<-1.35;

S=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 走强=1 AND REF(走强,1)=0 AND 量=1;

dd:=主力>0.15 AND (信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2);

tz:=(信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2) AND MA05<0 AND 走弱=1 AND 主力>-0.85;

DRAWTEXT(d=1,L,'底');

DRAWTEXT(S=1,L,'升');

DRAWTEXT(dd=1,H,'顶');

DRAWTEXT(tz=1,H,'下');