QWX1:=HHV(CLOSE,30);
QWX2:=LLV(CLOSE,30);
QWX3:=CONST((QWX1+QWX2)/2);
A1:=EMA(LLV(LOW,9),3);
A2:=EMA(HHV(HIGH,9),3);
A3:=EMA(C,2);
RSVA:=(EMA((A3-A1)/(A2-A1)*100,3))*60+QWX3;
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA,COLORFFAAFF,LINETHICK2;
STICKLINE(JA>90*60+QWX3,14*6+QWX3,16*6+QWX3,2,1)COLORCYAN;
LC6 := REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC6,0),6,1)/SMA(ABS(CLOSE-LC6),6,1)*100)*60+QWX3;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI20:=((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))*60+QWX3;
STICKLINE(RSI1>76*60+QWX3,15*6+QWX3,10*5+QWX3,2,0) ,COLOR777777;
STICKLINE(CCI20>=150*60+QWX3,16*5+QWX3,10*5+QWX3,0.5,0)COLORWHITE;
LC:=REF(CLOSE,1);
快线:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORCYAN,LINETHICK2;
慢线:MA(快线,6),COLORGREEN,LINETHICK2;
IF(慢线>REF(慢线,1) OR 快线>慢线,慢线,DRAWNULL),COLORRED,LINETHICK2;
牛市超买:(80)COLORRED;
熊市超卖:(20)COLORBLUE;
QVAR1:=(HIGH+LOW+OPEN+(2)*(CLOSE))/(5);
QVAR2:=REF(QVAR1,1);
QVAR3:=((SMA(MAX(QVAR1-QVAR2,0),7,1))/(SMA(ABS(QVAR1-QVAR2),7,1)))*(100);
伯乐相马:IF((COUNT((QVAR3<20),2)>=1) AND (COUNT((QVAR1=LLV(QVAR1,45)),45)>=1) AND (CLOSE>OPEN) AND (REF(CLOSE,1)>REF(OPEN,1)) AND (VOL>REF(VOL,1)),50,0),COLORYELLOW,STICK,LINETHICK5;
精准买:=("ZXNH.ZXNH"=1 AND CYS<=-2);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z10:=L=LLV(L,BARSLAST(Q_3)+1);
Z20:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z10,Z20,Z3,Z4,0);
Y10:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y10,Y2,Y3,Y4,0);
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
准度高:=REF(TJ,1)=0 AND TJ>=1,LINETHICK2,COLOR00FFFF;
IF(准度高,41,0),LINETHICK2,COLORYELLOW;
DRAWTEXT(准度高,40,'买?')COLORYELLOW; VAR02:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
减仓线:= 3.2;
动力线1:= EMA((CLOSE-VAR02)/(VAR3-VAR02)*4,4);
DRAWTEXT(CROSS(动力线1,减仓线),90.7,'卖'),;
DRAWICON(CROSS(动力线1,减仓线),94.4,2); AA1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100)+50;
AA2:=EMA(AA1,9);
AA3:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
AA4:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
AA5:=SMA(AA4,13,8);
走势1:=CEILING(SMA(AA5,13,8)),COLORRED;
AA6:=SMA(AA3,21,8);
买观注:STICKLINE(走势1-AA6<(-65),5,0,2,0),COLORRED; |