编写要求:
解答:
?网友求助:
求(将公式中的主力资金动向 向上穿0)写个选股 通达信 谢谢
公式如下:
JH:=VOL*CLOSE;
JHO:=SUM(JH,2)/SUM(VOL,2);
JH0:=EMA(JHO,10);
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORYELLOW;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORWHITE;
红柱持股:SMA(短线,3,1),LINETHICK0,COLORRED;
蓝柱持币:SMA(中线,3,1),COLORSTICK,COLORFFFF00;
黄柱洗盘对倒:0;
白柱对倒打压:0;
{红柱}
STICKLINE(红柱持股0,0,红柱持股,8,0),COLOR0000AA;
STICKLINE(红柱持股0,0,红柱持股,7,0),COLOR0000BB;
STICKLINE(红柱持股0,0,红柱持股,6,0),COLOR0000CC;
STICKLINE(红柱持股0,0,红柱持股,5,0),COLOR0000DD;
STICKLINE(红柱持股0,0,红柱持股,4,0),COLOR0000EE;
STICKLINE(红柱持股0,0,红柱持股,3,0),COLOR0000FF;
STICKLINE(红柱持股0,0,红柱持股,2,1),COLORRED;
STICKLINE(红柱持股0,0,红柱持股,1,0),COLOR00FF00;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,8,0),COLOR0000AA;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,7,0),COLOR0000BB;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,6,0),COLOR0000CC;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,5,0),COLOR0000DD;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,4,0),COLOR0000EE;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,3,0),COLOR0000FF;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,2,0),COLORRED;
STICKLINE(蓝柱持币0,0,蓝柱持币,9,0),COLOR0000FF;
STICKLINE(蓝柱持币0,0,蓝柱持币,7,0),COLOR0033FF;
STICKLINE(蓝柱持币0,0,蓝柱持币,6,0),COLOR0055FF;
STICKLINE(蓝柱持币0,0,蓝柱持币,5,0),COLOR0077FF;
STICKLINE(蓝柱持币0,0,蓝柱持币,4,0),COLOR0099FF;
STICKLINE(蓝柱持币0,0,蓝柱持币,3,0),COLOR00BBFF;
STICKLINE(蓝柱持币0,0,蓝柱持币,2,0),COLOR00DDFF;
STICKLINE(蓝柱持币0,0,蓝柱持币,1,0),COLOR00FFFF;
{蓝柱}
STICKLINE(红柱持股>REF(红柱持股,0)AND 红柱持股<0,0,红柱持股,8,0),COLORFF0000;
STICKLINE(红柱持股>REF(红柱持股,0)AND 红柱持股<0,0,红柱持股,7,0),COLORFF3300;
STICKLINE(红柱持股>REF(红柱持股,0)AND 红柱持股<0,0,红柱持股,6,0),COLORFF5500;
STICKLINE(红柱持股>REF(红柱持股,0)AND 红柱持股<0,0,红柱持股,5,0),COLORFF7700;
STICKLINE(红柱持股>REF(红柱持股,0)AND 红柱持股<0,0,红柱持股,4,0),COLORFF9900;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,3,0),COLORFFBB00;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,2,0),COLORFFDD00;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,2,1),COLORFF00FF;
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(红柱持股
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,10,0),COLOR998800;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,7,0),COLORBBAA90;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,4,0),COLORDDCC99;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,1,0),COLORFFEEBB;
主力资金动向:(JHO-JH0)*20/JHO,COLORWHITE,LINETHICK2;
M:=3;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
W18:EXIST(A1,M),COLORYELLOW;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!