快慢趋势
VAR2V:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
快线: SMA(VAR2V,5,1)-8,LINETHICK2,COLORRED COLORCYAN COLORB6B6B6;
趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC;
趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
绿线?:XMA(趋势F,7)*1.372, COLORWHITE COLORGREEN,LINETHICK2;
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;
白线:C4,COLORGREEN COLORWHITE,LINETHICK2;
V10:=PEAKBARS(3,15,1)
V12:=IF(V10=1,50,0);
A:=REF(C,1);
RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;
A8:=RSI
ZF:=(C/REF(C,1)-1)*100;
深坑:=IF(BETWEEN(A8,0,5) AND L =REF(C,A8)AND ZF =-5 ,20,0),COLORFF0000,LINETHICK2;
CD:= C =O AND REF(深坑 ,1)=20 AND REF(RSI,1)
DRAWICON(C O AND REF(深坑 ,1)=20 AND REF(RSI,1) 20,L*0.9,9);