一、午后出擊
MA5:=MA(C,5);
MA10:=MA(C,10);
MA25:=MA(C,25);
MA60:=MA(C,60);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DT:=MA5>MA10 AND MA10>MA25 AND
MA25>MA60;
T:= CLOSE>1.09*REF(CLOSE,1) ;
VAR1:=C>MA(C,5) AND OPEN<MA(C,5) AND
C>MA(C,25) AND L<MA(C,25);
VAR2:=C>MA(C,8) AND
OPEN<MA(C,8);
VAR3:=C>MA(C,13) AND
OPEN<MA(C,13);
VAR4:=C>MA(C,35) AND
OPEN<MA(C,35);
VAR5:=C>MA(C,45) AND
OPEN<MA(C,45);
VAR6:=C>MA(C,55) AND
OPEN<MA(C,55);
VAR7:=ABS(MA(C,5)-MA(C,55))/MA(C,55)<0.01;
VAR8:=COUNT( CROSS(K,D) ,3)>=1 ;
XG1:=T AND VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND
VAR6 ;
XG2:=DT AND T AND VAR1;
XG1 OR XG2;
二、全倉出擊
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
S3:=DYNAINFO(17)>0;
S4:=FINANCE(7)<=2000000000;
S6:=C>4.0 &&
C<=40;
SS1:=IF(CODELIKE('300'),0,1);
SSS1:=S1 AND S2 AND S3 AND SS1 AND
S4 AND S6;
SG:=EMA(HHV(HIGH,1),8);
X1:=EMA(CLOSE,8);
X30:=((X1 < REF(X1,1)) AND (CLOSE <
X1));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
全倉出擊:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))
AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1))
> 0.085)) * 89)
;
選股:全倉出擊>=89 AND SSS1;
選股:全倉出擊>=89;
三、漲停介入
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA8:=MA(CLOSE,8);
MA21:=MA(CLOSE,21);
MA25:=MA(CLOSE,25);
MA60:=MA(CLOSE,60);
MV5:=MA(VOL,5);
MV10:=MA(VOL,10);
MV60:=MA(VOL,60);
昨陰:= REF(O,1)>REF(C,1) AND
REF(H,1)>REF(O,1) ;
昨陽:= REF(C,1)>REF(O,1) AND
REF(H,1)>REF(C,1);
上影 := 昨陰 OR 昨陽 ;
ZT1:= 上影 AND C >REF(CLOSE,1)*1.09 AND V
<REF(V,1)*1.99;
ZT2:=COUNT( CROSS(MA5,MA10) ,5)>=1
AND COUNT( CROSS(MA5,MA25) ,5)>=1
AND MA10>=REF(MA10,1)
AND C>=REF(C,1)*1.06
AND C>=H*0.99 ;
ZT3:=COUNT( CROSS(MA5,MA10) ,5)>=1
AND L<=MA25
AND L<=MA5
AND C>=MA25
AND C>=REF(C,1)*1.06
AND C>=H*0.99 ;
ZT4:= L<=MA60
AND L<=MA25
AND L<=MA10
AND L<=MA5
AND C>=MA60
AND C>=REF(C,1)*1.06
AND C>=H*0.99 ;
ZT5:=COUNT( CROSS(MA5,MA25) ,3)>=1
AND COUNT( CROSS(MA10,MA25) ,3)>=1
AND C>=REF(C,1)*1.06
AND C>=H*0.99 ;
ZT1 OR ZT2 OR ZT3 OR ZT4 OR ZT5;
四、強(qiáng)勢出擊
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA8:=MA(CLOSE,8);
MA21:=MA(CLOSE,21);
MA25:=MA(CLOSE,25);
MA60:=MA(CLOSE,60);
MV5:=MA(VOL,5);
MV10:=MA(VOL,10);
MV60:=MA(VOL,60);
CX:=L<=MA10 AND
L<=MA25;
T:=COUNT( CROSS(MA5,MA10) ,5)>=1 OR CX;
Q4:=T AND C>=MA25
AND V>=REF(V,1)*0.8
AND C=H
AND V/REF(MA(V,5),1)>=1.2
AND 100*VOL/(FINANCE(7)/100)>=2
AND C>=REF(C,1)*1.02
;
Q1:=COUNT( CROSS(MA5,MA10) ,8)>=1
AND MA10<MA25
AND C>=REF(C,1)*1.05 AND
C>=H*0.98 ;
Q2:=COUNT( CROSS(MA5,MA10) ,5)>=1
AND C>=REF(C,1)*1.05 AND
C>=H*0.98
AND L<MA25 AND
L<MA10
AND C>= MA25;
Q3:= L<MA5
AND L<MA25 AND
L<MA10
AND C>= MA5
AND C>= MA10
AND C>= MA25
AND C>=REF(C,1)*1.05 AND
C>=H*0.98;
Q1 OR Q2 OR Q3 OR Q4;
五、j躺0
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
B:=3*K-2*D;
J:IFF(B<0,0,IFF(B>100,100,B));
六、MA5:MA(C,5);
MA10:MA(C,10);
MA25:MA(C,25);
MA55:MA(C,55);
MA89:MA(C,89);
MA144:MA(C,144);
IF(MA25>REF(MA25,1),MA25,DRAWNULL)LINETHICK2,COLORRED;
PP1:=H>=MA(C,5)*(100+8)/100;
PP2:=L*(100+20)/100<=MA(C,25);
DRAWICON(PP1,H*1.02,15);
DRAWICON(PP2,L*0.97,26);
STICKLINE(CROSS(MA(C,5),MA(C,25)),O,C,1,0),COLORYELLOW;
DRAWICON((MA(C,4)*4+MA(C,25))/5>=MA(C,25) AND
MA(C,5)<MA(C,25),L*0.97,1);2560主圖
七、2560附圖預(yù)測量:IF(CURRBARSCOUNT=1 AND
PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
MAVOL1:MA(預(yù)測量,M1);
MAVOL2:MA(預(yù)測量,M2);
BB:=CROSS(MAVOL1,MAVOL2);
CC:=CROSS(MAVOL2,MAVOL1);
STICKLINE(BB,0,VOL,1,0),COLORYELLOW;
STICKLINE(CC,0,VOL,1.5,0),COLORGREEN;
地量:=預(yù)測量<=LLV(V,N);
DRAWICON(地量,MA(預(yù)測量,60),25);
DRAWICON((MA(V,4)*4+V)/5>=MA(V,60) AND
MA(V,5)<MA(V,60),預(yù)測量*1.2,1);
八、自用主圖
MA5:MA(C,5);
MA10:MA(C,10);
MA25:MA(C,25);
MA55:MA(C,55);
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT>CC+T1 AND
H>T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2 AND
HIGH>T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
TY:=C;
A1:=REF(TY,5)=HHV(TY,2*5+1); B11:=FILTER(A1,5);
C1:=BACKSET(B11,5+1); HD:=FILTER(C1,5);
A2:=REF(TY,5)=LLV(TY,2*5); B22:=FILTER(A2,5); C2:=BACKSET(B22,5+1);
LD:=FILTER(C2,5);
前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT;
前期低位:REF(L,BARSLAST(LD)),COLOR00FF00,POINTDOT;
STICKLINE(H,前期高位,前期高位,5,0),COLORRED;
過高點(diǎn):=CROSS(C,前期高位);
STICKLINE(過高點(diǎn),H,L,0,0),,COLORLIMAGENTA;
均價(jià)線:=AMOUNT/V/100;
漲停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(漲停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(漲停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(漲停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄┄';
DRAWTEXT(均價(jià)線 AND 漲停,均價(jià)線,B1),COLORGREEN;
B3:='┄┄┄┄┄';
DRAWTEXT((O+C)/2 AND 漲停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄┄';
DRAWTEXT(漲停,L,B2),COLORGRAY;
LC:=REF(CLOSE,1);
操作線:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趨勢線:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震倉線:=45;
震倉線2:=50;
逃命線:=80;
抄底線:=20;
絕底線:=5;
PP2:=操作線<震倉線2 AND REF(操作線,1)>震倉線2
;
PP:=操作線<震倉線 AND REF(操作線,1)>震倉線
;
PP3:=操作線<抄底線 AND
REF(操作線,1)>抄底線;
HH:=COUNT(漲停,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
九、精華臥60
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA8:=MA(CLOSE,8);
MA13:=MA(CLOSE,13);
MA25:=MA(CLOSE,25);
MA60:=MA(CLOSE,60);
MV5:=MA(VOL,5);
MV10:=MA(VOL,10);
MV60:=MA(VOL,60);
JT:= COUNT( CROSS(MA10,MA60) ,8)>=1
AND COUNT( CROSS(MA25,MA60) ,2)>=1;
AA1:=MV5>=MV60*0.99 AND
V<=MV60*1.23;
AA2:=V=LLV(V,4);
AA3:=AA1 OR AA2;
AA4:=C<=REF(C,2);
AA5:=C<=REF(C,3);
W60:=C>=MA60
AND COUNT( C>=MA60
,3)>=2
AND COUNT(
L<=MA60*1.02,3)>=1
AND COUNT( C<=MA25
,3)>=2
AND COUNT( JT ,30)>=1;
COUNT( W60 ,15)>=2
AND C>=MA60*0.99
AND W60;
十、重倉
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1);
V5:=SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
大漲買:=IF((V7 AND COUNT(V7,3)=1),50,0),COLORMAGENTA,LINETHICK2;
V10:=PEAKBARS(3,15,1)<10;
V12:=IF(V10=1,50,0);
頭部:= IF(V12=50,100,0);
賣:=IF(頭部>REF(頭部,1),50,0),COLORGREEN,LINETHICK2;
V9:=TROUGHBARS(3,15,1)<10;
V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
買:=IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK2;
雙買1 :=REF(買,1) AND 大漲買;
雙買2 :=買 AND 大漲買;
雙買1 OR 雙買2 ;
十一、夜情指標(biāo)數(shù)據(jù)
MV:=MA(V,5);
A1:=REF(C,1)>REF(O,1)*1.045 AND
REF(C,1)>REF(C,2)*1.06;
A2:=O>REF(C,1) AND
L>REF(C,1) AND H>O AND
C<O AND C>L;
A3:=V*100/CAPITAL>4.5 AND
V*100/CAPITAL<10.5;
A4:=REF(MV,1)>REF(MV,2);
xg:A1 AND A2 AND A3 AND
A4
十二、回調(diào)預(yù)警
阻擊1:=REF(C>REF(C,1)*1.09,1)
AND C<REF(C,1)*0.972;
阻擊2:=REF(C,2)>REF(C,3)*1.09
AND C<REF(C,2)*0.94
AND C>REF(L,3);
阻擊3:=REF(C,3)>REF(C,4)*1.09
AND C<REF(C,3)*0.94
AND C>REF(L,4);
阻擊1 OR 阻擊2 OR 阻擊3;
|