VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
趋势:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
波段:MA(趋势,3);
预警: 3.3,colorligreen;
撤离: 3.6,colorblue;
关注:0.5,colorlicyan;
强弱线:1.75,colorred,CROSSDOT;
IF(波段>REF(波段,1),波段,DRAWNULL),LINETHICK3,colorred;
IF(波段<REF(波段,1),波段,DRAWNULL),LINETHICK3,COLOR007700;
准备:IF((波段>REF(波段,1)) AND (REF(波段,1)<REF(波段,2)) AND (波段<1),0.3,0),LINETHICK2,colormagenta;