你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
VAR5:IF(HHV((你<好),5),100,60),COLORBLUE;
VAR6:IF(HHV((你<好),10),100,60),COLORGREEN;
VAR37:= MA(老,5);
VAR8:=LLV(VAR37,10);
VAR9:IF(LLV((你<VAR8),5),60,0),COLORRED;
短买:IF(LLV((你<VAR8),10),60,0),COLORWHITE;
买点:IF(LLV((你<VAR8),10),1,0);
卖点:IF(HHV((你<好),10),1,0);
TD:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
VAR15:=(((DMP ) * 100) / TD);
VAR16:=((DMM * 100) / TD);
VAR17:=(MA(((ABS((VAR16 - VAR15)) / (VAR16 + VAR15)) * 100),3));
ADXR:=((VAR17 + REF(VAR17,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
VAR18:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
VAR19:( IF(((VAR17 > 88) AND (VAR15 < 5.8)),80,0)),LINETHICK3,COLORFF00FF;