程序化指标布林捉妖主图指标公式
发布日期: 2025-08-23 | 阅读量:37
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
M120:=MA(C,120);
BOLL:MA(CLOSE,20);DRAWKLINE(H,O,L,C);
UPPER:(BOLL+2*STD(CLOSE,20));
LOWER:BOLL-2*STD(CLOSE,20);
DD:=UPPER-LOWER;
布林开口:=CROSS(0.5,DD=LLV(DD,30));
DRAWTEXT(布林开口,LOW*0.98,'←布林开口'),COLORYELLOW;
站上上轨:=REF(C<UPPER,1) AND C>UPPER*0.98;
AA:=C>MAX(M5,MAX(M10,MAX(M20,MAX(M60,M120))));
BB:=OBV>=HHV(OBV,60);
上轨捉妖1:=AA AND BB AND 站上上轨;
上轨捉妖2:=REF(上轨捉妖1,1)=0 AND 上轨捉妖1 ,COLORRED;
DRAWTEXT(上轨捉妖2,LOW*0.98,'←埋伏捉妖'),COLORCYAN;
