J:=ma("kdj.J#WEEK",5)/1.1;
周K&J均值:=J,COLORGREEN;
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14)*100/dmi;
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14)*100/DMI;
ADX:=EXPMEMA(Abs(DMM-DMP)/(DMM+DMP)*100,6);
ADXR:=EXPMEMA(ADX,6);
ADX买点:STICKLINE(crOSS(ADX,DMM)&&CROSS(ADX,ADXR)&&V>REF(V,1)&&周K&J均值>REF(周K&J均值,1),15,-15,1,0),COLORLIRED;