通達(dá)信極品波段指標(biāo)公式股票軟件源碼如下:
底部:10; 賣(mài)出線(xiàn): 99; 趨勢(shì)1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)) *100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27)) /(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR0000FF,LINETHICK2; 買(mǎi)入警戒:IF(趨勢(shì)1<=10,20,0),COLOR00FFFF; 賣(mài)出警戒: IF(趨勢(shì)1>=90,80,100),COLOR00FF00; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2; D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2; J:=3*K-2*D,LINETHICK2,COLORFFFFFF; {股旁網(wǎng)-股票公式網(wǎng)站 www.gupanG.com} VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; 高拋: 80; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF; SD: EMA(SK,3),LINETHICK2,COLOR00FF00; DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0)); STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3; DRAWTEXT(CROSS(J,3),55,'跟莊'); VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR2N:=EMA(VAR1N,30); VAR3N:=EMA(VAR2N,30); VAR4N:=3*VAR2N-2*VAR3N; 勢(shì):EMA(VAR4N,5),COLORBLUE,LINETHICK3; VAR5:=LLV(LOW,10); VAR6:=HHV(HIGH,25); 決策線(xiàn):EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2; DRAWTEXT(CROSS(80,決策線(xiàn)),105,'閃'),COLOR00FF00; DRAWICON(CROSS(80,決策線(xiàn)),110,2); STICKLINE(勢(shì)>80,勢(shì),80,1,0),COLORGREEN; STICKLINE(勢(shì)<10,勢(shì),10,1,0),COLOR00FFFF; DRAWTEXT(CROSS(10,勢(shì)),35,'進(jìn)'),COLOR000FFF; DRAWICON(CROSS(10,勢(shì)),0,1);
|