STICKLINE(100,100,-100,5,0),COLOR324800;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
★邰氏趋势: (EMA(CS,3)-50)*2,LINETHICK4,COLORBROWN;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
S1:=2*EMA(100-VAR6,1),COLORYELLOW;
S2:=EMA(S1,9);
S3:=MA(S2,9);
条件:=CROSS(★邰氏趋势,极弱) AND S1>S2;
条件0:=CROSS(强势,★邰氏趋势) AND S1<S2;
DRAWTEXT((CROSS(强势,★邰氏趋势) AND S1<S2),风险,'离场'),COLORGREEN;
DRAWICON(条件,极弱,5);