提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。
STICKLINE(1,60,58,12,0),COLORLIRED;
STICKLINE(1,75,77,12,0),COLORRED;
STICKLINE(1,30,32,12,0),COLORLIRED;
LC:=REF(CLOSE,1);
rsi12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100,COLORRED,LINETHICK1;
RSI56:SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100,COLORMAGENTA,LINETHICK2;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:DMP*100/MTR,COLORYELLOW;
mdi:=DMM*100/MTR,COLORGREEN;
ADX:MA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORWHITE,LINETHICK2;
ADXR:=(ADX+REF(ADX,6))/2,COLORCYAN;
DRAWTEXT(RSI12>70 AND ADX>70,ADX,'A'),COLORRED;
量比:=vol/REF(VOL,1);
DRAWTEXT(量比>3 AND C/REF(C,1)>1.05 AND RSI56>54 AND ADX<30,30,'关注A'),COLORMAGENTA;
STICKLINE(量比>2.2 AND C/REF(C,1)>1.05 AND RSI56>54 AND ADX<30,ADX,RSI56,2,0),COLORCYAN;