N:=35;M:=35;N1:=3;
B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;
B2:=SMA(B1,N,1)+100;
B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘:(IF(B6>N1,B6-N1,0))*2.5,COLORYELLOW;
控盘度:(IF(B4>N1,B4-N1,0))*2.5,COLORMAGENTA;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
洗盘再买:IF(黄金 AND RSVV<VARB2-2,180,0),COLORRED,LINETHICK3;
{N 1 100 12}
{N2 1 100 26}
个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
黑马初现:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;
DRAWTEXT(CROSS(个股,9),66,'黑马'),COLOR00FF00;
DRAWTEXT(CROSS(个股,9),60,'1'),COLOR00FF00;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,21);
VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;
VAR4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
VAR5:=CROSS(VAR1,VAR2) AND VAR4 AND VAR3;
黑马:IF(VAR5,60,0),STICK,LINETHICK3,COLORF00FF0;
DRAWTEXT(VAR5,78,'黑马!'),COLORF00FF0;
拉升线:80,COLORGREEN,LINETHICK2;
试庄线:20,COLORWHITE,LINETHICK2;
强弱线:50,COLORRED,LINETHICK2;
X_1:=CLOSE>REF(CLOSE,1) AND REF(OPEN>=CLOSE,1);
X_2:=21;
X_3:=5;
X_4:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),X_2);
X_5:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),X_2);
X_6:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),X_2);
X_7:=100*(X_4*2+X_6)/(X_5*2+X_6);
X_8:=MA(X_7,X_3);
X_9:=CROSS(X_7,X_8);
X_10:=X_8<100;
X_11:=X_8<150 AND X_8>REF(X_8,1);
X_12:=X_9 AND X_10;
X_13:=X_9 AND X_11;
X_14:=FILTER(X_12,5);
X_15:=FILTER(X_13,8);
准备:IF(X_14 AND X_15 AND X_1,3,0),COLORFFFF99,LINETHICK2;
X_16:=OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
X_17:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
X_18:=SMA(X_17,2,1);
抄底:IF(X_18>REF(X_18,1) AND REF(X_18,1)<REF(X_18,2) AND X_18<23,100,0) AND X_16,COLORGREEN,LINETHICK2;
X_19:=CROSS(X_18,20) AND REF(CLOSE<OPEN,1) AND X_16;
拉升:IF(X_19,100,0),COLOR3366FF,LINETHICK2;
满仓:抄底>0 AND X_19,NODRAW,COLORYELLOW;
DRAWICON(抄底>0 AND X_19,2,30);
N01:=5;N2:=10;
STICKLINE(C>0,0,10,15,0),COLOR781816;
LC:=REF(CLOSE,1);
RSI5:SMA(MAX(CLOSE-LC,0),N01,1)/SMA(ABS(CLOSE-LC),N01,1)*10,COLORFF00FF,LINETHICK1;
RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;
VAR01:=C-REF(C,1);
VAR02:=100*EMA(EMA(VAR01,6),6)/EMA(EMA(ABS(VAR01),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:(LLV(VAR02,2)=LLV(VAR02,7) AND COUNT(VAR02<0,2) AND CROSS(VAR02,MA(VAR02,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
0,COLORFF00FF;
10,COLORFF0000;
DRAWTEXT(BT,3,'短牛'),COLOR0000FF;
TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;
ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);
DRAWTEXT(ST,9,'卖'),COLOR00FF00;
|