AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+7/100)*DD,COLORRED;
通道4:=(1-7/100)*DD;
MID:=MA(C,12);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,12);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
boll:=REF(MID,1),COLORFFFFFF;
UB:REF(UPPER,1),COLORGREEN;
LB:=REF(LOWER,1),COLORFF00FF;
BB:=V>MA(V,5) ;
DD1:=V<MA(V,5);
IF(BB,UB,DRAWNULL),COLORRED,LINETHICK3;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202;
CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORF4E202;
年线:=EMA(C,250);
A:=CG-(EMA(C,3)-CG),COLORFFCCCC;
QQ:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2;
IF(CG=FS,CG,CG), COLORYELLOW,LINETHICK2;
IF(C>CG,CG,DRAWNULL), COLORRED,LINETHICK2;
ZF:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK,’ ‘),HYBLOCK),’ ‘),GNBLOCK),’ ‘),FGBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,ZF),COLORYELLOW;
{博弈k线}
开:=WINNER(O)*100;
高:=WINNER(H)*100;
低:=WINNER(L)*100;
收:=WINNER(C)*100;
博弈K线长阳:=收-开>20;
无量长阳:=收-开>15 AND V/CAPITAL<0.03;
博弈:=无量长阳 OR 博弈K线长阳;
STICKLINE(博弈,O,C,2,0),COLORYELLOW;
LT:=LLVBARS(L,60);
LTT:=BArslAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
A8:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;
TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
AA8:=crOSS(C,CONST(A8));
TJ:=COUNT(AA8,TT+1)=1 AND AA8;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED;
DRAWLINE(LTT=0,L,XGT=0,L,0),COLORRED;
DRAWICON(XGA,L*0.95,9);
{黑马一号}
VASS1:=HHV(H,20);
VASS2:=LLV(L,20);
VASS3:=REF((VASS1/VASS2-1)*100<=30,1);
AHC1:=CLOSE*vol;
AHC22:=EMA((expma(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
通道:=1.0668*AHC22;
起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.005 AND C>O*0.5;
VARR1:=V;
VARR2:=VARR1>MA(V,89);
VARR3:=EXPMA(C,5);
VARR4:=EXPMA(C,29);
VARR5:=VARR3>VARR4;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100;
VARR6:=RSI1>RSI2 AND VARR5 AND VARR2 AND C>REF(HHV(H,40),1);
DRAWTEXT(起爆 AND VARR6 AND VASS3,L*0.97,’↖黑马一号’),COLORYELLOW;
MC:=100;
NN:=0.7;
MIDZ:=MA(CLOSE,MC);
UPPERU:=MIDZ+NN*STD(CLOSE,MC);
LOWERU:=MIDZ-NN*STD(CLOSE,MC);
AN1:=MA(C,3);
AN2:=MA(C,21);
AN3:=(AN1+AN2)/2;
BOLLN2:=MA(CLOSE,13);
UBN2:=BOLLN2+2*STD(CLOSE,13);
LBN2:=BOLLN2-2*STD(CLOSE,13);
BN1:=MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);
分水岭N1:=IF(MA(CLOSE,100)<BN1,BN1,MA(CLOSE,100));
Y1:=分水岭N1-(EMA(C,2)-分水岭N1);
OUT6:=CROSS(LOWERU,Y1);
DRAWTEXT(OUT6,H*1.01,’★突破’),COLORWHITE;
BR:=MA(CLOSE,8)+MA(CLOSE,8)-REF(MA(CLOSE,8),1);
分水岭R:=IF(MA(CLOSE,13)<BR,BR,MA(CLOSE,13));
YR:=分水岭R-(EMA(C,3)-分水岭R);
XGC:=IF(YR>AN3,YR,DRAWNULL);
F2:=BARSLAST(EMA(C,3)<=EMA(C,5));
F3:=IF(EMA(C,3)>=EMA(C,3),EMA(C,5),DRAWNULL);
F5:=IF(CURRBARSCOUNT<CONST(F2+3),F3,DRAWNULL);
OUTF:=CROSS(F5,YR);
DRAWTEXT(OUTF,H,’★开天眼’),COLORWHITE;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)