手机端
当前位置:爱约股 > 公式技巧 > 把牛主图当白线大于绿线做个选股

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

恳请老师把指标里面的白线大于绿线,也就是只要白线绿线上面为信号。不是金叉或者上叉。 如下图所示谢谢
多: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;
 

TAG:主图 选股
分享至:

相关推荐