突破重围主图
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC<3 AND DD<0.5 AND O<L;
A1X:=DYNAINFO(6);
A2X:=IF(L>A1X,0,IF(H<A1X,1,(A1X-L+0.01)/(H-L+0.01)));
A3X:=V/WINNER(L);
A4X:=REF(HHV(C,120),1);
A5X:=REF(LLV(C,120),1);
A6X:=100*(C-A5X)/(A4X-A5X);
A7X:=A2X>0 OR A2X=1;
A8X:=A7X AND A3X/REF(A3X,3)>=3 AND A6X<80 ;
A9X:=REF(A8X,1) OR REF(A8X,2) OR REF(A8X,3) OR REF(A8X,4);
A10X:=A8X AND A9X;
A12X:=IF(FILTER(A10X,3) OR EE,10,0);
CCC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD20:=DMA(CLOSE,CCC);
AA20:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道22:=AA20*(200-7)/100;
通道44:=(1-7/100)*DD20;
A20:=C<通道22 AND C<通道44 AND C>O;
TYP2:=(HIGH+LOW+CLOSE)/3;
CCI2:=(TYP2-MA(TYP2,14))/(0.015*AVEDEV(TYP2,14));
MIDD:=MA(CLOSE,20);
LOWERR:=MIDD-2*STD(CLOSE,20);
XGG:=A20 AND CCI2<-100 AND O<LOWERR;
XIN:=A12X AND XGG;
XX:=BARSLAST(XIN);
〖止盈价〗:IF(XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,DRAWNULL),NODRAW,COLORYELLOW;
〖止损价〗:IF(XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,DRAWNULL),NODRAW,COLORWHITE;
〖平仓价〗:IF(XX=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),C,DRAWNULL),NODRAW;
DRAWICON(XIN,C*0.95,13);
DRAWICON(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,2);
DRAWICON(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,2);
DRAWICON(COUNT(H<REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,2);
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX),REF(C,XX),1,0);
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),COLORYELLOW;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX),REF(C,XX),1,0);
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),,COLORYELLOW;
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),,COLORYELLOW;
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX),REF(C,XX),1,0);
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),,COLORYELLOW;
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX=10 AND COUNT(C>=REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
STICKLINE(COUNT(H<=REF(C,XX)*1.1,XX)=XX AND XX<=10 AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H<REF(C,XX)*1.1,XX)=XX,1) AND REF(COUNT(C>REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1);
JJ:=IF(HHV(H,8)<=C*1.1,HHV(H,8),IF(HHV(H,7)<=C*1.1,HHV(H,7),
IF(HHV(H,6)<=C*1.1,HHV(H,6),
IF(HHV(H,5)<=C*1.1,HHV(H,5),
IF(HHV(H,4)<=C*1.1,HHV(H,4),
IF(HHV(H,3)<=C*1.1,HHV(H,3),IF(HHV(H,2)<=C*1.1,HHV(H,2),H)))))));
STICKLINE(XIN,JJ,C*0.95,0.00001,-1);
A1:=C>O AND (C-O)/O>=0.03;
STICKLINE(A1,C-(C-O)/3,C,-1,0),COLORRED;
STICKLINE(A1,(C+O)/2, C-(C-O)/3,-1,0),COLORYELLOW;
下面是选股
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC<3 AND DD<0.5 AND O<L;
A1X:=DYNAINFO(6);
A2X:=IF(L>A1X,0,IF(H<A1X,1,(A1X-L+0.01)/(H-L+0.01)));
A3X:=V/WINNER(L);
A4X:=REF(HHV(C,120),1);
A5X:=REF(LLV(C,120),1);
A6X:=100*(C-A5X)/(A4X-A5X);
A7X:=A2X>0 OR A2X=1;
A8X:=A7X AND A3X/REF(A3X,3)>=3 AND A6X<80 ;
A9X:=REF(A8X,1) OR REF(A8X,2) OR REF(A8X,3) OR REF(A8X,4);
A10X:=A8X AND A9X;
A12X:=IF(FILTER(A10X,3) OR EE,10,0);
CCC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD20:=DMA(CLOSE,CCC);
AA20:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道22:=AA20*(200-7)/100;
通道44:=(1-7/100)*DD20;
A20:=C<通道22 AND C<通道44 AND C>O;
TYP2:=(HIGH+LOW+CLOSE)/3;
CCI2:=(TYP2-MA(TYP2,14))/(0.015*AVEDEV(TYP2,14));
MIDD:=MA(CLOSE,20);
LOWERR:=MIDD-2*STD(CLOSE,20);
XGG:=A20 AND CCI2<-100 AND O<LOWERR;
A12X AND XGG;
|