TN:=(HHV(H,8)-C)/HHV(H,8)*100;
YL:=(C-LLV(L,8))/LLV(L,8)*100;
T1:=IF(TN>YL,TN,0);
T2:=IF(TN<YL,TN,0);
Y1:=IF(YL>TN,YL,0);
Y2:=IF(YL<TN,YL,0);
STICKLINE(1,T1,0,8,1),colorcyan;
STICKLINE(1,Y1,0,8,1),colorred;
STICKLINE(1,T2,0,6,0),colorcyan;
STICKLINE(1,Y2,0,6,0),colorred;
套牢:TN;
盈利:YL;
YL1:SMA(YL,3,1);
YL2:SMA(YL1,3,1);
FILLRGN(YL1,YL2,YL1>YL2,colorred,YL1<YL2,colorblue);