N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;BACKGROUNDSTYLE(1);K:SMA(RSV,M1,1),RGB(255,128,255);D:SMA(K,M2,1),RGB(192,192,192);DRAWLINE(K>80,K,K>80,K,COLORYELLOW),HICK3;DRAWLINE(K<20,K,K<20,K,COLORYELLOW),HICK3;DRAWCOLORLINE(K>50,K,COLORRED,REEN);DRAWCOLORLINE(D>50,D,COLORRED,REEN);50,RGB(0,128,255),DOT,NODRAW;20,RGB(0,255,0),DOT,NODRAW;80,RGB(255,0,0),DOT,NODRAW;TR:=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;A2:=BARSLAST(REF(CROSS(K,D),1));B2:=REF(H,A2+1)>CLOSE&&REF(K,A2+1)<K&&CROSS(K,D);C2:=BARSLAST(REF(CROSS(D,K),1));D2:=REF(L,C2+1)<CLOSE&&REF(K,C2+1)>K&&CROSS(D,K);STICKLINE(B2,K,K-,COLORYELLOW,0);DRAWTEXT(B2,K-6,'底');PLAYSOUND(CROSSUP(B2,K),'F');STICKLINE(D2,K,K+,COLORLIGHTRED,0);DRAWTEXT(D2,K+6,'顶');PLAYSOUND(CROSSDOWN(D2,K),'E');
文华期货软件指标赢顺云指标公式 拿大趋势指标 来自淘豆网m.daumloan.com转载请标明出处.