回零即买(获利、底部、大底、短线)
100,POINTDOT;0;50;
获利:WINNER(C)*100,COLOR808000,LINETHICK1;
買二:=C/WINNER(C);
回零既買:IF(買二>940,-10,0);
STICKLINE(回零既買<=0 AND 回零既買< REF(-4.5,1),-10,0,6,0),COLORFF3333;
底部:= IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>(100-ABS(((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100+(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100+(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100)/3)),100,0), COLORSTICK,COLORRED; {IF(VAR1>5,IF(VAR1<100,VAR1,VAR2-10),0), COLORSTICK;}
大底:IF(REF(底部,1)>0 AND 底部=0,100,0),STICK, ,COLORRED,LINETHICK3;
DRAWTEXT(大底,50.2,'大底'),COLORWHITE,LINETHICK2;
DRAWTEXT( IF(CROSS(85, 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)),100,0),96,'逃'), COLORWHITE;
买入:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>50 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),100,0),STICK,COLORRED;
DRAWTEXT(买入>0,90,'买50'), , COLORCCCCFF ,LINETHICK8;
买入A:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,COLORRED,LINETHICK2;
DRAWTEXT(买入A>0,25,'买30'), , COLORYELLOW,LINETHICK3;
W:(EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,10)+EMA(CLOSE,13)+EMA(CLOSE,20)+EMA(CLOSE,30)+EMA(CLOSE,34)+EMA(CLOSE,55)+EMA(CLOSE,60)+EMA(CLOSE,90)+EMA(CLOSE,120)+EMA(CLOSE,250))/13,COLORYELLOW LINETHICK0;
VAR1:=REF({CLOSE}W,2);
短线: SMA(MAX(W{CLOSE}-VAR1,0),7,1)/SMA(ABS(W{CLOSE}-VAR1),7,1)*100, COLORCYAN;
车弩机: IF(短线<12,30,0);
VAR2:=REF({CLOSE}W,1);
VAR3:=SMA(MAX(W{CLOSE}-VAR2,0),7,1)/SMA(ABS(W{CLOSE}-VAR2),7,1)*100;
弯弓: IF(VAR3<12,30,0);
逢高派发区: STICKLINE(短线>85,短线+10,短线-10,1.5,0), COLORRED;
VAR1J:=CLOSE/(EMA(EMA((C+L+H)/3,3),26)*0.9)<0.95 ;
放箭:IF(VAR1J,15,0),STICK,LINETHICK3,COLORRED;
DRAWTEXT(VAR1J ,8,'箭'),COLORF0F000;
VARE1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
VARE2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
VARE3:=IF(VARE1>0.010, 0.900, 1) AND IF(VARE1>(-0.025), 1, 1.200);
VARE4:=VARE3*(VARE2-VARE1)*100;
VARE5:=SUM(VARE4, 10);
VARE6:=SMA(VARE5, 40, 1);
VARE7:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{VAR38>VAR39;}
VARE8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VARE7>0, 91, 0);
追击:IF(VARE8>90,30,0),STICK,LINETHICK3,COLORBLUE;
DRAWTEXT(VARE8>90,30,'追击'),COLORYELLOW;
IF(VAR1>5,IF(VAR1<100,VAR1,VAR2-10),0), COLORSTICK; |