STICKLINE(C>0,80,100,20,0),COLORBROWN;
STICKLINE(C>0,80,50,20,0),color18A4FF;
STICKLINE(C>0,50,20,20,0),COLORGRAY;
STICKLINE(C>0,20,10,20,0),COLORBLUE;
STICKLINE(C>0,10,0,20,0),ColorFFAA00;
STICKLINE(c>0,20,20,5,0),COLORYELLOW;
STICKLINE(c>0,50,50,5,0),COLORCYAN;
STICKLINE(c>0,80,80,5,0),COLORWHITE;
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;