VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
yxf:=COUNT(VAR03,7)>0 AND VAR04;
STICKLINE(yxf AND COUNT(yxf,5)=1,0,20,10,0),ColorFF00FF,LAYER5;
n:=128;
VarE:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),7);
VarF:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100;
Var10:=SMA(VarF,60,1);
Var11:=SMA(Var10,34,1);
Var12:=3*Var10-2*Var11;
Var13:=(CLOSE-LLV(LOW,125))/(HHV(HIGH,125)-LLV(LOW,125))*100;
Var14:=SMA(Var13,34,1);
Var15:=SMA(Var14,26,1);
Var16:=3*Var14-2*Var15;
短线行情: Var16,Color00FFFF,LINETHICK3;
长线行情: Var12,ColorFF0000,LINETHICK3;
底部反弹: IF(FILTER(CROSS(短线行情,0) AND VarE<13,5)=1,50,0),Color0000FF;
Var17:=(CLOSE-LLV(CLOSE,n))/(HHV(CLOSE,N)-LLV(CLOSE,N))*100;
Var18:=IF(FILTER(长线行情<0,6)=1,1,0);
Var19:=IF(FILTER(Var17=0,5)=1,1,0);
短线介入点: IF(FILTER(CROSS(短线行情,长线行情) AND VarE<15 AND (短线行情<5 OR 短线行情<22),250)=1,30,0),Color00FFFF;
长线介入点: IF(FILTER(CROSS(长线行情,0),5)=1,80,0), COLORYELLOW;
Var1A:=CROSS(短线行情,长线行情) AND 短线行情<13;
DRAWTEXT(底部反弹>0,49,'☆'), COLORRED;
DRAWTEXT(短线介入点>0,50,'★'), COLORRED;
DRAWTEXT(CROSS(短线行情,长线行情) AND 短线行情<13 AND 短线行情>0,CROSS(短线行情,长线行情),'●'), COLORMAGENTA;
DRAWTEXT(Var1A>0,25,'强势跟获利了结!'),COLORRED;
STICKLINE(Var19 AND Var18>0,0,50,2,1), COLORYELLOW,LAYER5;
STICKLINE(短线行情<0,0,-5,3,1),ColorFF00FF,LAYER5;
STICKLINE(短线行情>100,100,110,2,1),ColorFFFF00,LAYER5;
DRAWTEXT(长线介入点>0,80,'长线介入点'),COLORYELLOW;
0;
100,Color898280;
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短期:A4,Color00FF00,linethick2;
中期:B4,Color0000FF,linethick2;
长期:C4,ColorFFFFFF,linethick2;
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇:= MA(卖,5);
准:= HHV(奇,10);
急卖奇准:IF(HHV((买<准),5),100,80),ColorFFFF00;
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
急买奇准:IF(LLV((买<买卖),5),40,0),Color007BFF;
短买奇准:IF(LLV((买<买卖),10),60,0),ColorFF00FF;
多方:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
DRAWTEXT(CROSS(多方,3),-2,'底'),Color00FFFF,LINETHICK2;
DRAWTEXT(CROSS(多方,95),98,'顶'),ColorFFFFFF,LINETHICK2;
TJZB3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),Color8095FC,LINETHICK1;
TJZB4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),ColorFF2C73,LINETHICK2; |