通達(dá)信【底部趨勢(shì)介入加倉(cāng)】副圖指標(biāo)公式 N:=34; M:=3; 28,COLORFFFFFF; STICKLINE(C>0,0,2,5,0),COLOR00008A; STICKLINE(C>0,2,5,5,0),COLOR85008A; STICKLINE(C>0,5,10,5,0),COLOR657600; STICKLINE(C>0,10,21.5,5,0),COLOR690079; STICKLINE(C>0,21.5,28,5,0),COLOR79B715; GOODGONGSHI1:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4,COLORFFFF00,LINETHICK2; GOODGONGSHI2:IF(GOODGONGSHI1>23.16,GOODGONGSHI1,0),COLOR00FFFF,LINETHICK1; GOODGONGSHIB:IF(GOODGONGSHI1<2,6,0),COLOR00FFFF,LINETHICK4; GOODGONGSHID:IF(GOODGONGSHI1>21.5,25.5,28),COLOR0000FF,LINETHICK4; GOODGONGSHIA:IF(GOODGONGSHI1>23.16,24.5,28),colorred,LINETHICK4; DRAWBAND(GOODGONGSHIB,RGB(190,0,100),0,RGB(0,0,0)); DRAWBAND(GOODGONGSHI2,RGB(250,250,0),0,RGB(0,0,0)); DRAWBAND(28,RGB(210,210,210),GOODGONGSHID,RGB(0,0,0)); DRAWBAND(28,RGB(250,250,0),GOODGONGSHIA,RGB(0,0,0));STICKLINE(C>0,2,2,2,0),COLORFF00FF; STICKLINE(C>0,5,5,2,0),COLOR00FFFF;{更多好公式查看:www.} STICKLINE(C>0,23.16,23.16,2,0),COLORFF0000; 趨勢(shì)線:GOODGONGSHI1,COLORFFFF00,LINETHICK2; DRAWICON(CROSS(趨勢(shì)線,2),2,25); DRAWICON(CROSS(趨勢(shì)線,5),5,13); DRAWICON(CROSS(21.5,趨勢(shì)線),21.5,14); DRAWICON(CROSS(23.16,趨勢(shì)線),23.16,15); DRAWTEXT(CURRBARSCOUNT=38,1,'底部區(qū)間'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,3.5,'介入?yún)^(qū)間'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,7.5,'加倉(cāng)區(qū)間'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,16,'安全區(qū)間'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=38,22,'風(fēng)險(xiǎn)區(qū)間'),COLOR0000FF; DRAWTEXT(CURRBARSCOUNT=38,25.5,'逃頂區(qū)間'),COLORFF00FF; (原文版權(quán)屬于:好公式網(wǎng) www. 轉(zhuǎn)載請(qǐng)勿刪除!) |
|