VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
黄色吸货:50,colorgreen,LINETHICK2;
底部吸货:0,colorgreen,LINETHICK2;
趋势2: IF(VAR6B>5,VAR6B-15,0),colorblue,LINETHICK1;
趋势1: IF(VAR6B>15,VAR6B-15,0),colorred,LINETHICK1;
趋势3: IF(VAR6B>45,VAR6B-15,0),coloryellow,LINETHICK1;
STICKLINE(REF(趋势1,1) >趋势1, 趋势1,REF(趋势1,1),5,1),colorcyan ;
STICKLINE(REF(趋势1,1)<趋势1, 趋势1,REF(趋势1,1),5,1), colorred;