VAR42:=((C-LLV(LOW,42))/(HHV(h,42)-LLV(LOW,42))*100);
K:=sMA(VAR42,12,7),COLORYELLOW;
D:=sMA(K,12,7),COLORMAGENTA,LINETHICK2,CIRCLEDOT;
白龙:3*k-2*D,COLORWHITE,LINETHICK2;
DRAWICON(C>0,D,12);
LC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,,COLORMAGENTA,LINETHICK2;
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),12)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),12);
MFI:=100-(100/(1+V1)),COLORWHITE,LINETHICK2;
金龙:(RSI+MFI)/2,COLORYELLOW,LINETHICK2;
赤龙:100-100*(HHV(HIGH,18)-C)/(HHV(H,18)-LLV(LOW,18)),COLORRED,LINETHICK2;