资源描述:
《大智慧高级箱体指标公式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、大智慧高级箱体指标公式BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,colorwhite,linethick2;EBBI:(ema(c,6)+ema(c,18)+ema(c,54)+ema(c,162))/4,colorff00ff,linethick2;DRAWTEXT(cross(bbi,ebbi),l-0.13,'太牛啦'),coloryellow;DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,'←买入'),
2、COLORRED;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,'←走人'),colorgreen;NN:=DISPSTATUS=2;A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);B1:=FILTER(A1,3);C1:=BACKSET(B1,3+1);D1:=FILTER(C1,3);A2:=REF(LOW,3)=LLV(LOW,2*3+1);B2:=FILTER(A2,3);C2:=BACKSET(B2,3+1);D2:=FILTER(C2,3);E1:=(
3、REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E2:=(HIGH+LOW)/2;H1:=(D1ANDNOT(D2ANDE1>=E2))ORBARSTATUSORBARSCOUNT(CLOSE)=1;L1:=(D2ANDNOT(D1ANDE1=E2));X1:=REF(BARSLAST(H1),1)+1;F1:=BACKSET(H1ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));G1:=F1>REF(F1,1);I1:=BACKSET(G1,2);LD:
4、=I1>REF(I1,1);L2:=LDORBARSTATUSORBARSCOUNT(CLOSE)=1;X2:=REF(BARSLAST(L2),1)+1;F2:=BACKSET(L2ANDCOUNT(H1,X2)>0,HHVBARS(IF(H1,HIGH,0),X2));G2:=F2>REF(F2,1);I2:=BACKSET(G2,2);HD:=I2>REF(I2,1);UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1);VV:=UU>REF(UU,1);WW:=BACKSET(VV,REF(BARSLAST(L
5、D),1)+2);XX:=WW>REF(WW,1);UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1);VV2:=UU2>REF(UU2,1);WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);XX2:=WW2>REF(WW2,1);前一低支撑:REF(L,BARSLAST(VV)),PRECIS2,COLOR99FF66,LINETHICK1,DOTLINE;箱体下沿:REF(L,BARSLAST(XX)),ColorFFFF00,PRECIS2;前一高压力:REF(H,BARSLA
6、ST(VV2)),PRECIS2,COLOR99FF66,LINETHICK1,DOTLINE;箱体上沿:REF(H,BARSLAST(XX2)),PRECIS2,Color00FFFF;DRAWTEXT(nn,前一低支撑,'前一低支撑:'+NUMTOSTRN(前一低支撑,2)+'元'),ALIGN2,Color00dd00,VALIGN0;DRAWTEXT(nn,前一高压力,'前一高压力:'+NUMTOSTRN(前一高压力,2)+'元'),ALIGN2,Color00dd00,VALIGN2;DRAWTEXT(nn,箱体下沿,'箱体下沿:
7、'+NUMTOSTRN(箱体下沿,2)+'元'),ALIGN2,ColorFFFF00,LINETHICK1,VALIGN0;DRAWTEXT(nn,箱体上沿,'箱体上沿:'+NUMTOSTRN(箱体上沿,2)+'元'),ALIGN2,Color00FFFF,LINETHICK1,VALIGN2;Y:=(HIGH+LOW)/2;AO:=MA(Y,5)-MA(Y,21);DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,
8、1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);劫:IF(TDU3