VAR1:=LLV(LOW,30);
VAR2:=HHV(HIGH,20);
VAR3:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,13)*0.998;
价龙:EMA(0.667*REF(VAR3,1)+0.3333*VAR3,1),COLORRED,LINETHICK2;
中轨:SMA(SMA(价龙,20,1),20,1),COLORFFCCCC;
天龙轨:中轨+70,COLORGREEN;
地龙轨:中轨-70,COLORGREEN;
上上轨:中轨+50,COLORFF00FF;
下下轨:中轨-50,COLORFF00FF;
上轨:中轨+25,COLORYELLOW;
下轨:中轨-25,COLORYELLOW;
AA:=SUM(IF(CLOSE REF(CLOSE,1),vol,IF(CLOSE REF(CLOSE,1),-VOL,0)),0);
VARA:=LLV(AA,30);
VARB:=HHV(AA,20);
VARC:=EMA((AA-VARA)/(VARB-VARA)*100,13)*0.998;
量龙:EMA(0.667*REF(VARC,1)+0.3333*VARC,1),COLORGREEN,LINETHICK2;
筹龙:EMA(WINNER(C)*70,5),COLORFF9933,LINETHICK2;
STICKLINE(价龙 下下轨 AND 量龙 下下轨 AND 筹龙 下下轨 AND 筹龙 REF(筹龙,1),30,0,3,0 ),COLORYELLOW;
STICKLINE(价龙 下轨 AND 量龙 下轨 AND 筹龙 下下轨 AND 筹龙 REF(筹龙,1),20,0,3,0 ),COLORRED;
STICKLINE(REF(价龙,1) 价龙 AND REF(量龙,2) REF(量龙,1) AND 量龙 中轨 AND 筹龙 下下轨,10,0,3,0 ),COLORGREEN;