看买线:MA(CLOSE,3),COLORWHITE,LINETHICK1;
看卖线:MA(CLOSE,13),COLORYELLOW,LINETHICK1;
BB10:=((ATAN((看买线 - REF(看买线,1))) * 3.1416) * 10);
BB12:=((ATAN((看卖线 - REF(看卖线,1))) * 3.1416) * 10);
STICKLINE(看卖线>看买线,看卖线,看买线,4,0),COLORMAGENTA,LINETHICK2;
STICKLINE(看买线>看卖线,看卖线,看买线,4,0),COLORYELLOW,LINETHICK2;
STICKLINE((((看卖线 <= 看买线) AND (BB12 >= 1)) AND (BB10 >= 1)),看买线,看卖线,8,0),COLORRED;
STICKLINE((((看卖线 >= 看买线) AND (BB10 <= 1)) AND (BB10 <= 1)),看买线,看卖线,8,0),COLORGREEN;
X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
看卖线-0.13,'∠45上升'),COLORWHITE;
短期趋时:=MA(C,20);
MA60:=MA(C,60);
MA250:=MA(C,250);
压力:IF(HHV(H,55),CONST(HHV(H,18)),DRAWNULL),COLORCYAN;
支撑:IF(LLV(L,5),CONST(LLV(L,13)),DRAWNULL),COLORLIRED;
短期极底:MA(REF(LLV(C,21),1),2),COLORBLUE;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>89),55),支撑*1.045,'★加仓'),COLORLIRED;
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
DRAWTEXT(VAR18,H*0.96,'★减仓'),COLORGREEN;
短期主涨:IF(C>短期趋时,短期趋时,DRAWNULL),COLORRED,LINETHICK2;
短期主跌:IF(C<短期趋时,短期趋时,DRAWNULL),COLORCYAN,LINETHICK2;
中期主涨:IF(C>MA60,MA60,DRAWNULL),COLORLIRED,LINETHICK2;
中期主跌:IF(C<MA60,MA60,DRAWNULL),COLORGREEN,LINETHICK2;
长期主牛:IF(C>MA250,MA250,DRAWNULL),COLORMAGENTA,LINETHICK1;
长期主熊:IF(C<MA250,MA250,DRAWNULL),COLORLIGREEN,LINETHICK1;
分时浪:=ZIG(3,5),COLORWHITE,LINETHICK2;
趋势浪:=ZIG(3,10),COLORBLUE,LINETHICK3;
HH:=EMA(趋势浪,2);
DRAWTEXT(CROSS(HH,趋势浪),压力*1.015,'~高卖'),COLORCYAN;
DRAWTEXT(CROSS(趋势浪,HH),支撑*0.986,'~低买'),COLORMAGENTA;
GG:=EMA(分时浪,2);
DRAWICON(CROSS(分时浪,GG),L,1);
DRAWICON(CROSS(GG,分时浪),H,2);
AA1:=AMOUNT/V;BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.96),'老鼠仓'),COLOR4080FF;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(短期趋时* 0.998),'大黑马'),COLORBLUE;
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
DRAWTEXT(VAR17,短期趋时,'黑马'),COLORFF6600;
VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;
注意买:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);
买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);
DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,短期趋时,'短线试水'),COLOR8000FF;
MA200:=EMA(CLOSE,20);
MA400:=EMA(CLOSE,40);
MA600:=EMA(C,60);
AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400));
BB:=REF(COUNT(C<MA600,AA)=AA,1);
CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>2;
芙蓉出水:=BB AND CC;
STICKLINE(芙蓉出水,C,C-0.1,6,0),COLORLIRED;
DRAWTEXT(芙蓉出水,L-L*0.000001,'↖芙蓉出水'),COLORRED;