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;
趨勢(shì)2: IF(VAR6B>5,VAR6B-15,0),colorblue,LINETHICK1;
趨勢(shì)1: IF(VAR6B>15,VAR6B-15,0),colorred,LINETHICK1;
趨勢(shì)3: IF(VAR6B>45,VAR6B-15,0),coloryellow,LINETHICK1;
STICKLINE(REF(趨勢(shì)1,1) >趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),5,1),colorcyan
;
STICKLINE(REF(趨勢(shì)1,1)<趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),5,1), colorred;
|