疯颠布林 通达信主图指标 源码 贴图
{疯颠布林}N:=20;
BOLL:MA(CLOSE,N);
UB:BOLL+2*STD(CLOSE,N);
LB:BOLL-2*STD(CLOSE,N);
UB角度:ATAN((UB/REF(UB,1)-1)*100)*180/3.1416,NODRAW;
BOLL角度:ATAN((BOLL/REF(BOLL,1)-1)*100)*180/3.1416,NODRAW;
LB角度:ATAN((LB/REF(LB,1)-1)*100)*180/3.1416,NODRAW;
AALB:REF(LB角度,1),NODRAW;
IF(BOLL角度 35,BOLL,DRAWNULL),COLORYELLOW,LINETHICK3,NODRAW;
IF(BOLL角度 53,BOLL,DRAWNULL),COLORGREEN,LINETHICK3,NODRAW;
AAA:=(C-UB)/UB*100,NODRAW;{www.9m8.cn 九毛八公式指标网}
ABCC:=REF(BOLL角度,1) 3 AND UB角度 23 AND BOLL角度 7 AND LB角度 -5 AND LB角度 0 AND AAA 3 {AND REF(C,1) REF(UB,1)} AND C
DRAWTEXT(ABCC AND IF(COUNT(ABCC,2) 1 AND V REF(V,1),0,1) AND UB角度 79 AND REF(UB角度,1) 79 AND REF(UB角度,2) 78 ,L,'疯牛2疯牛2疯牛2'),COLORGREEN;
DRAWTEXT( C UB AND REF(C,1) REF(UB,1) AND REF(C,2) REF(UB,2) AND REF(C,3) REF(UB,3) AND V 2.5*LLV(V,3) AND V REF(V,1) AND C O AND C REF(C,1) AND UB角度 70,L,'开始颠了'),COLORGREEN;
DRAWTEXT( C UB AND REF(C,1) REF(UB,1) AND REF(C,2) REF(UB,2) AND REF(C,3) REF(UB,3) AND V 2.5*LLV(V,3) AND V REF(V,1) AND C O AND C REF(C,1) AND UB角度 70,LB,'开始颠了'),COLORRED;