超赢BS买卖系统简化版(大智慧),让主力无所遁形(大智慧)

股票公式 | 发布于2021-10-21

超赢BS买卖系统简化版(大智慧)

源码:a:="LTFunc4@FORLT2";

s1:="LTFunc4@LT_S1";

hs:="LTFunc4@LT_HS";

ls:="LTFunc4@LT_LS";

p1:="LTFunc4@LT_P1";

upp:="LTFunc4@LT_UPP";

udd:="LTFunc4@LT_UDD";

{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};

d1:=ema(abs("ddx.ddx"),60);

d2:=max("ddx.ddx"/d1+7.5,7.5);

d3:=min("ddx.ddx"/d1,10);

stICKLINE(p1=1 and c>=o and o<>0,c,o,d2,0),color0000ff;

STICKLINE(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;

STICKLINE(p1=1 and c>=o and o<>0,c,c,7.5,0),color0000ff;

STICKLINE(p1=1 and c>=o and o<>0,o,o,7.5,0),color0000ff;

STICKLINE(p1=1 and c>=o and o<>0,o,c,7.5,1),color0000ff;

STICKLINE(p1=1 and c<=o,o,c,7.5,0),color0000ff;

STICKLINE(p1=1 and c<=o,l,c,0.5,0),color0000ff;

STICKLINE(p1=1 and c<=o,h,o,0.5,0),color0000ff;

STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,0),color00ff00;

STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,0),color00ff00;

STICKLINE((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,0),color00ff00;

fb:=if(s1=0,hs,ls);

tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n');

tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');

tr4:='3.能量:'+numtostrn(d3,1)+'级';

DRAWTEXTABS(5,10,'□明日收盘价<'+numtostrn(udd,2)+' 出现S点'),color00ffff;

DRAWTEXTABS(5,25,'□明日收盘价>'+numtostrn(upp,2)+' 出现B点'),color00ff00;

DRAWTEXTABS(5,40,'□明日收盘价<'+numtostrn(ls,2)+' 短线卖出机会'),colorffff00;

DRAWTEXTABS(5,55,'□明日收盘价>'+numtostrn(hs,2)+' 短线买入机会'),colorff00ff;

DRAWTEXTABS(5,70,'□能量级别 '+numtostrn(d3,1)+' 级'),color00ffff;

DRAWTEXTABS(5,85,'□紫◆短线买入 B点持股'),color0000ff;

DRAWTEXTABS(5,100,'□兰◆短线卖出 S点持币'),ColorFF0000;

DRAWTEXT(p1=1 and ref(p1,1)=0,l*0.995,'◆'),colorff00ff,align1;

DRAWTEXT(p1=0 and ref(p1,1)=1,h*1.01,'◆'),colorffff00,align1;

DRAWTEXT(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l*0.995,'B'),color00ffff,align1;

DRAWTEXT(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h*1.01,'S'),ColorFF0000,align1;

简化后

让主力无所遁形(大智慧)

N:=21;

JJ:=(H+L+C)/3;

JJJ:=SUM(JJ,5)/5;

VV:=IF(C>JJJ,vol,0-VOL);

LDJ:=SUM(VV,N);

stICKLINE(LDJ>=0,0,LDJ,8,0),COLOR000011;

STICKLINE(LDJ>=0,0,LDJ,6.5,0),COLOR000033;

STICKLINE(LDJ>=0,0,LDJ,5,0),COLOR000055;

STICKLINE(LDJ>=0,0,LDJ,3.5,0),COLOR000077;

STICKLINE(LDJ>=0,0,LDJ,2,0),COLOR000099;

STICKLINE(LDJ>=0,0,LDJ,0.5,0),COLOR0000BB;

STICKLINE(LDJ<0,0,LDJ,8,0),COLOR222200;

STICKLINE(LDJ<0,0,LDJ,6.5,0),COLOR333300;

STICKLINE(LDJ<0,0,LDJ,5,0),COLOR444400;

STICKLINE(LDJ<0,0,LDJ,3.5,0),COLOR555500;

STICKLINE(LDJ<0,0,LDJ,2,0),COLOR666600;

STICKLINE(LDJ<0,0,LDJ,0.5,0),COLOR777700;

LN1:SMA(LDJ,3,1),COLORWHITE,PRECIS0,LAYER0;

LN2:Sma(LN1,3,1),COLORYELLOW,PRECIS0,LAYER0;

LN3:SMA(LN2,5,1),COLORFF00FF,PRECIS0,LAYER0;

飞鲸投研从多维度分析,整理了一份《成长50》的名单,可以关注同名公众号:"飞鲸投研":feijingtouyan,进行领取(点击复制)

该文观点仅代表作者本人,飞鲸投研系信息发布平台

/阅读下一篇/

如何寻找经典指标RSI的两次撞击或者说W底(大智慧),猴王出世(大智慧)

热门推荐