最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把BBD公式中的笑脸做成选股

把BBD公式中的笑脸做成选股

来源:网络 点击: 时间:2023-01-11 10:37:20

编写要求:

解答:

?网友求助:

源码为:

{BBD}

ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL,0);B:=IF(C BBD:EMA(总0,3)/SUM(VOL,5)*100,LINETHICK0;

STICKLINE(BBD>=0 AND BBD>REF(BBD,1),0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0 AND BBD>REF(BBD,1),0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0 AND BBD>REF(BBD,1),0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0 AND BBD>REF(BBD,1),0,BBD,0.5,0),COLOR0000FF;
STICKLINE(BBD>=0 AND BBD STICKLINE(BBD>=0 AND BBD STICKLINE(BBD>=0 AND BBD STICKLINE(BBD>=0 AND BBD

STICKLINE(BBD<0,0,BBD,8,0),COLOR008800;
STICKLINE(BBD<0,0,BBD,5,0),COLOR00AA00;
STICKLINE(BBD<0,0,BBD,3,0),COLOR00DD00;
STICKLINE(BBD<0,0,BBD,0.5,0),COLOR00FF00;
XH1:=REF(BBD,1)REF(BBD,1) AND BBD>0;
XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBD DRAWICON(XH1,0-2,1);DRAWICON(XH2,0+2,2);


①周:=REF(EMA(C,5),1);
②周:=REF(EMA(C,10),1);
③周:=REF(EMA(C,15),1);
④周:=REF(EMA(C,20),1);
⑤周:=REF(EMA(C,25),1);
⑥周:=REF(EMA(C,30),1);
①X:=EMA(C,5)-①周;
②X:=EMA(C,10)-②周;
③X:=EMA(C,15)-③周;
④X:=EMA(C,20)-④周;
⑤X:=EMA(C,25)-⑤周;
⑥X:=EMA(C,30)-⑥周;
DT2:=①X>=0 AND ②X>=0 AND ③X>=0 AND ④X>=0 AND ⑤X>=0 AND ⑥X>=0;
KT2:=①X<0 AND ②X<0 AND ③X<0 AND ④X<0 AND ⑤X<0 AND ⑥X<0;
GT2:=NOT(DT2) AND NOT(KT2);
AA:=DT2 AND( REF(①X,1)<0 OR REF(②X,1)<0 OR REF(③X,1)<0 OR REF(④X,1)<0 OR REF(⑤X,1)<0 OR REF(⑥X,1)<0);
BB:=GT2 AND (REF(①X,1)<0 AND REF(②X,1)<0 AND REF(③X,1)<0 AND REF(④X,1)<0 AND REF(⑤X,1)<0 AND REF(⑥X,1)<0);
XG1:=AA OR BB;
XG2:=BBD>0 AND BBD>REF(BBD,1) AND REF(BBD,1)<0;
STICKLINE(XG1 AND XG2,0,BBD/2,8,0),COLOR008888;
STICKLINE(XG1 AND XG2,0,BBD/2,5,0),COLOR00AAAA;
STICKLINE(XG1 AND XG2,0,BBD/2,3,0),COLOR00CCCC;
STICKLINE(XG1 AND XG2,0,BBD/2,0.5,0),COLOR00FFFF;


不胜感激!!!
?

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top