总势趋势向下,量能萎缩,不适合进场。
顶线:MA(REF(HHV(C,30),1),10)*XS,COLORGREEN,DOTLINE,NODRAW;
回调:=EMA(EXPMA(C,3),2),COLORWHITE,LINETHICK1;
强弱线:EMA(SLOPE(C,11)*9+C,25),COLORGREEN;
IF(强弱线>REF(强弱线,1),强弱线,DRAWNULL),COLORFF00FF,LINETHICK2;
下轨:=MA(REF(LLV(C,21),1),21)*XS,COLORRED ,LINETHICK1 ;
牛熊线:=EMA(C,60),COLORWHITE,DOTLINE;
VAR01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,11)*1;
VAR1B:=REF(CLOSE,1)-REF(ATR,1);
强弱1:=HHV(VAR1B,11)*1,LINETHICK1,DOTLINE,COLORFF00FF;
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR31:=1*1;
RSV13:=VAR31*(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:=VAR31*SMA(RSV13,3,1)*1;
D13:=VAR31*SMA(K13,3,1)*1;
J13:=VAR31*3*K13-2*D13;
RSV55:=VAR31*(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100*1;
K55:=VAR31*SMA(RSV55,3,1)*1;
D55:=VAR31*SMA(K55,3,1)*1;
J55:=VAR31*3*K55-2*D55;
压力位:=VAR31*IF(CROSS(J55,J13)*1,HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13)))),COLORFF6EC7,DOTLINE,LINETHICK1;
支撑位:=VAR31*IF(CROSS(J13,J55)*1,LOW,REF(LOW,BARSLAST(CROSS(J13,J55)))), COLORYELLOW,DOTLINE,LINETHICK1;
跌:=VAR31*CROSS(压力位,支撑位),LINETHICK1,COLOR0099FF;
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
持有1:强弱线*1.05,COLORRED;
持有2:强弱线*1.09,COLORYELLOW,LINETHICK2 ;
持有3:强弱线*1.2,COLORWHITE;
上顶:强弱线*1.25,COLORGREEN;
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR01);
VAR1A:=((REF(VAR01 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
红色持股:=VAR01 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC;
青色观望:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18;
黄色低买:=VAR19*XS;
洋红离场:=VAR1A*XS;
CO:=(C-O)*XS;
STICKLINE(黄色低买,O,O+CO/3,2,0),COLORYELLOW;
STICKLINE(洋红离场,H+CO/3,H,2,0),COLORFF00FF;
STICKLINE(红色持股=1,L,H,0,0),COLORRED;
STICKLINE(红色持股=1,O,C,2,0),COLORRED;
STICKLINE(红色持股=0,L,H,0,0),COLORCYAN;
STICKLINE(红色持股=0,O,C,2,1),COLORCYAN;
STICKLINE(洋红离场,H+CO/3,H,2,0),COLORGREEN;
STICKLINE(青色观望=1,CLOSE,O,2,0),COLOR555500;
STICKLINE(黄色低买,O,O+CO/3,2,0),COLORYELLOW;
压力:=MA(REF(HHV(C,30),1),2)*1,DOTLINE,COLORGREEN,LINETHICK1;
支撑:=MA(REF(LLV(C,30),1),2)*1,DOTLINE,COLORRED,LINETHICK1;
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
PMA:=MA(C,10)*1,COLORWHITE,LINETHICK0;
X:=(3*C+L+O+H)/6*1;
中线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLOR70DB93,LINETHICK2;
下:EMA(EMA(EMA(HIGH,13),13),13),COLORFF00FF;
AN1:=(C>压力位);
AN2:=(C>压力);
AN3:=(C>强弱线);
AN4:=(C>中线);
AN5:=(C>强弱1);
AN6:=(AN1=1 AND AN2=1 AND AN3=1 AND AN4=1 AND AN5=1);
AN7:=(EXIST(CROSS(强弱1,压力),3) AND 强弱1>压力);
AN8:=(((AN6=1 AND REF(AN6,3)=0) OR (AN7=1 AND REF(AN7,3)=0)) AND 强弱线>=REF(强弱线,1) AND 强弱1>=REF(强弱1,1) AND 中线>=REF(中线,1));
DRAWICON(AN8=1,L*0.993,1),COLORFF00FF;
DRAWTEXT(AN8=1,L*0.99,'买'),COLORCYAN;
AN9:=(支撑位=支撑);
AN10:=(EXIST(AN9=0,3) AND AN9=1 AND C>支撑 AND 红色持股=1 AND C>强弱线)*C/3;
AN11:=(支撑位=压力位 AND 红色持股=1 AND ABS(压力位-强弱线)<0.1 AND C>强弱线 )*C/3;
涨1:=MA(C,6);
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1) -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) ,3,1),2,1);
DRAWTEXT(CROSS(89,多方),H,'