DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
金叉:=CROSS(DIF,DEA);
DIF上拐:=DIF>REF(DIF,1) AND REF(DIF,1)<REF(DIF,2) ;
RSV1:=EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,3);
DS:=EMA(RSV1,3);
JH:=MA(DS,3);
K1:=3*DS-2*JH;
独孤出手:=K1<3;
昨日独孤:=REF(独孤出手,1);
独孤:=独孤出手 OR 昨日独孤 ;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
昨日RSI1:=REF(RSI1,1)<10;
MA13:=MA(CLOSE,M3);
MA55:=MA(CLOSE,M4);
上穿:=CROSS(MA13,MA55);
五日上穿:=REF(上穿,5);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
日金叉:=IF(CROSS(K,D),1,0);
探底:=IF(J<0,J,DRAWNULL);
拐点:=IF(CROSS(J,1),J,1);
十三日上涨:=REF(MA13,1)<MA13;
五十五日上涨:=REF(MA55,1)<MA55;
J上涨:=REF(J,1)<J;
J上拐:=J>REF(J,1) AND REF(J,1)<REF(J,2) ;
昨日探底:=REF(J,1)<0;
三十日涨停:=COUNT(C/REF(C,1)>1.095,30)>0;
最低上移:=L>REF(L,1);
最高上移:=H>REF(H,1);
收盘上移:=C>REF(C,1);
至尊宝:MA13>MA55 AND 五十五日上涨 AND C>MA55 AND J上拐 AND 昨日探底 AND 最低上移 AND 最高上移 AND 收盘上移 AND L<MA55 ,STICK,COLORGREEN;
深海拾贝:(RSI1<10 OR 昨日RSI1 ) AND J上拐 AND 昨日探底 AND 五十五日上涨,STICK,COLORCYAN;
备战:MA13>MA55 AND 五十五日上涨 AND C>MA55 AND J上拐 AND 昨日探底,COLORYELLOW;
昨日备战:=REF(备战,2);
双备战:=备战 AND 昨日备战;
优化深海:深海拾贝 AND (独孤出手 OR 昨日独孤),STICK,COLORGRAY ;
股神: 备战 AND 独孤,STICK,COLORGRAY ;
AAC1:=J上拐 AND 昨日探底;
AAD1:=REF(C,1);
AAE1:=(C-AAD1)*100/AAD1;
AAF1:=AAE1>9.92 AND H>L AND C=H;
AAG1:=REF(BARSLAST(AAF1),1)+1;
AAH1:=COUNT(AAC1,AAG1)=1;
AAI1:=V>1 AND CAPITAL<10240000;
洗盘:AAC1 AND AAH1 AND AAI1,STICK,COLORGRAY ;
黄金反弹:AAC1 AND AAH1 AND AAI1 AND (RSI1<10 OR 昨日RSI1 ) AND 独孤,STICK,COLORMAGENTA;
CV:=CLOSE;
黑马线:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4,COLORYELLOW;
UPR:=BBIBOLL+M*STD(BBIBOLL,N2),COLORMAGENTA;
DWN:=BBIBOLL-M*STD(BBIBOLL,N2);
MA1:=MA(CLOSE,7);
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,9,1);
D2:=SMA(K2,9,1);
黑马线上涨:=REF(黑马线,1)<黑马线;
UPR上涨:=REF(UPR,1)<UPR;
DWN上涨:=REF(DWN,1)<DWN;
阳线实体:=(C-O);
上影:=H-C;
下影:=O-L;
大阳线:=阳线实体>(上影+下影);
CL:=(C*3820+(H+L)*2500+O*1180)/10000;
X:=MA((EMA(CL,3)*2+EMA(CL,5))/3,3);
生命线:=MA(EMA(CL,17),3),POINTDOT,COLORGRAY;
ZSP:=REF(CL,1);
ZHF:=(C-ZSP)*100/ZSP;
光阳刺透:=CROSS(C,X) AND (ZHF>6.2 OR C=H OR O>REF(MAX(C,O),1)) AND (ZHF>2.6 OR X>REF(X,1)),STICK,COLORMAGENTA;
兔子:=光阳刺透 AND MACD.DIF>REF(MACD.DIF,1),STICK,COLORMAGENTA;
MA7:=MA(CL,7);
红灯笼:(L<DWN OR L=DWN) AND (H>UPR OR H=UPR) AND C>O AND 大阳线 AND C>MA7,STICK,COLORRED;
STICKLINE(红灯笼 ,0,3.5,1,0 ),COLORRED;
STICKLINE(黄金反弹 ,0,3,1,0 ),COLORMAGENTA;
STICKLINE(至尊宝 ,0,2,1,0 ),COLORGREEN;
STICKLINE(深海拾贝 ,0,1,1,0 ),COLORCYAN;
DRAWICON(股神,5,26);
DRAWICON(优化深海,2.5,24);
DRAWICON(洗盘,2,1);
|