RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
VAR11:=SMA(RSVA1,3,1);
顶底线:=VAR51-VAR21+50;
VAR3:=HHV(HIGH,21);
趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);
开天:90,COLORWHITE;
当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CURRBARSCOUNT=6,15,'安全区'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,50,'(投资区)'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,85,'风险区'),COLORWHITE;
Y1:=LLV(L,17);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW;
Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2;
加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;
天:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,2));
STICKLINE(地>天 AND 地< 0,10,0,1,0),COLORRED;
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR5B:=SMA(VAR4B,3,1)+100;
趋势1: IF(VAR6B>45,VAR6B-45,0),COLOR00FFFF,LINETHICK2;
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR5Q:=LLV(LOW,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
火焰山:=IF(VAR8Q>100,100,VAR8Q);
STICKLINE( 逃顶,逃顶,10,3.5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,20,1.5,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,0.1,0),COLORFFFF00;
D2:=EMA(D1,6);
BBUY:=CROSS(D2,D3);
DRAWICON(BBUY,20,1);