MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(HD,14);
DMM:=EMA(Ld,14);
pdi:=DMP*100/MTR;
mdi:=DMM*100/MTR;
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EMA(ADX,6);
DRAWBAND(ADX,RGB(250,0,00),ADXR,RGB(100,80,200));
MDI1:DMM*100/MTR,colorgreen;
98;
黑:IF(ADX 20,19,0);
40;
60;
DRAWBAND(19,RGB(0,200,00),MDI1,RGB(0,200,0));
DRAWBAND(19,RGB(0,0,00),黑,RGB(0,0,0));
PDI1:DMP*100/MTR,LINETHICK2,coloryellow;
神奇:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),NODRAW;
筹:=WINNER(C)*100,NODRAW;
散户筹:=(WINNER(C*1.1)-WINNER(C*0.9))*100,NODRAW;
STICKLINE(神奇筹码 散户筹,21,40,0.5,0),colorred;
STICKLINE(主力筹 散户筹,41,60,0.5,0),colormagenta;
STICKLINE(神奇筹码 50,61,80,0.5,0),colorblue;
STICKLINE(主力筹 80 AND 散户筹 REF(散户筹,1),81,100,0.5,0),coloryellow;
LC:=REF(C,1);
1:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;
RSI2:=HHV(FORCAST(RSI1,7),14),colorliblue;
HJ_1:=HHV(FORCAST(RSI1,7),28);
STICKLINE(RSI1 RSI2,RSI2,RSI1,3,0),colorwhite;