红色波段趋势向上时出现钱袋信号,这是低吸成功率较高。
Z1:=STRCAT(HYBLOCK,’ ‘);
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,’ ‘);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORMAGENTA;
DRAWBAND(MA(C,60),RGB(120,0,0),MA(C,120),RGB(0,0,200));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5)COLORWHITE;
MA10:MA(CLOSE,10)COLORYELLOW;
MA20:MA(CLOSE,20)COLORMAGENTA,LINETHICK2;
MA30:MA(CLOSE,30)COLORRED;
MA60:MA(CLOSE,60)COLORGREEN;
MA250:MA(CLOSE,250),COLORFF3399,LINETHICK3;
MA5倾角:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1415926,NODRAW;
MA20倾角:ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1415926,NODRAW;
{涨跌停颜色标志}
STICKLINE(H>1.097*REF(C,1)&&C<1.097*REF(C,1)&&C>O,C,O,2.8,0)COLORMAGENTA;
STICKLINE(C>1.097*REF(C,1)&&C>O,C,O,2.8,0)COLORRED;
STICKLINE(H>1.197*REF(C,1)&&C>O,C,O,1.18,0)COLORYELLOW;
STICKLINE(C<0.907*REF(C,1),C,O,2.8,0)COLORGREEN;
BOLL:=MA(CLOSE,20);
UB:BOLL+2*STD(CLOSE,20),DOTLINE,COLORMAGENTA,LINETHICK1;
UB倾角:ATAN((UB/REF(UB,1)-1)*100)*180/3.1415926,NODRAW;
LB:BOLL-2*STD(CLOSE,20),DOTLINE,COLORGREEN,LINETHICK1;
DB:=UB-LB;
AA:=DB<=REF(LLV(DB,15),1);
AB:=DB<=REF(LLV(DB,21),1);
AC:=DB<=REF(LLV(DB,55),1);
BBB:=AA OR AB OR AC;
DRAWICON(BBB,LB-0.01,9);
评论(0)