最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把牛主图当白线大于绿线做个选股

把牛主图当白线大于绿线做个选股

来源:网络 点击: 时间:2023-01-02 01:15:51

编写要求:

解答:

?网友求助:

恳请老师把指标里面的白线大于绿线,也就是只要白线在绿线上面为信号。不是金叉或者上叉。 如下图所示谢谢
多:EMA(C,3),COLORYELLOW,linethick0;
空:EMA(C,5),COLOR00FF00,linethick0;
均衡:EMA(空,5),COLORWHITE;
a1:=1;
a2:=(EMA(CLOSE,3)) * a1;
a3:=(EMA(CLOSE,5)) * a1;
a4:=(EMA(CLOSE,2)) * a1;
a5:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * a1;
红绿黏合为强势:(HHV((MA(HIGH,13)),13)) * a1,linethick2,colorRed;
绿线下方为弱势:(LLV((MA(HIGH,13)),1)) * a1,linethick1,colorGreen;
a6:=(EMA(CLOSE,4)) * a1;
DRAWTEXT((CLOSE <= 绿线下方为弱势),LOW,'↓'),colorGreen;
DRAWTEXT(((((CROSS(a2,a3)) AND (a4 >= a5)) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (CLOSE > 绿线下方为弱势)),(LOW * 0.987),'追'),colorYellow;
DRAWTEXT(((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)),LOW,'▲'),colorMagenta;
a7:=((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)) AND ((REF(绿线下方为弱势,1)) < (REF(红绿黏合为强势,1)));
DRAWTEXT(a7,(LOW * 0.987),'牛'),colorYellow;
a8:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5) * a1;
a9:=(REF(a8,1)) * a1;
a10:=((SMA((MAX((a8 - a9),0)),10,1)) / (SMA(ABS((a8 - a9)),10,1))) * 100;
a11:=IF((((((COUNT((a10 < 20),5)) >= 1) AND ((COUNT((a8 = (LLV(a8,10))),10)) >= 1)) AND (CLOSE >= (OPEN * 1.038))) AND (VOL > ((MA(VOL,5)) * 1.2))),1,0);
DRAWTEXT(a11,LOW,'超跌关注'),colorRed;
DRAWTEXTREL(15,30,'出现‘▲’买'),linethick2,colorMagenta;
DRAWTEXTREL(180,30,'出现‘↓’卖'),linethick2,colorGreen;
?

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

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

    Top