感謝高手老師“祝你有收獲”將殷保華公式源碼轉(zhuǎn)成通達信版的指標(biāo): {殷寶華變色MA} MA5:EMA(C,5),COLORWHITE; 工作線:EMA(C,14),COLORF00FF0,LINETHICK1; 二號線:EMA(C,25),COLOR00FF00,LINETHICK1; 九號線:EMA(CLOSE,99),LINETHICK1; MA120:EMA(CLOSE,120),LINETHICK1; 生命線:EMA(CLOSE,453),LINETHICK1,COLORRED; DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)); DEA:=EMA(DIFF,9); MACD:=0.90*(DIFF-DEA); TJ:=(DIFF>=DEA); TJ1:=(DIFF>=0); STICKLINE(TJ,H,L,0.5,0),COLORYELLOW; STICKLINE(TJ,O,C,4,0),COLORYELLOW; STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORF00FF0; STICKLINE(TJ1 AND TJ,O,C,4,1),COLORF00FF0; STICKLINE(DIFF SK:= EMA(VAR1,13)-EMA(VAR1,73); SD:= EMA(SK,2); DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短線'),COLORGREEN; STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED; STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED; {公稱名稱: 保華均線} MA25:EMA(CLOSE,25); 牛熊分水嶺:EMA(CLOSE,905); STICKLINE((MA25 > 牛熊分水嶺),MA25,牛熊分水嶺,1,0),COLORRED; STICKLINE((MA25 < 牛熊分水嶺),MA25,牛熊分水嶺,1,0),COLORGREEN; DRAWICON(CROSS(MA25,牛熊分水嶺),(牛熊分水嶺 * 0.98),6); {公稱名稱: 保華提醒} VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04))); VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2)); VAR3:=REF(CLOSE,1); VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100); 買入:(VAR1 AND VAR2),STICK,COLORFFFFFF; 賣出:CROSS(80,VAR4),STICK,COLORFF0000; {公稱名稱: 江恩八線} 一號線:EMA(CLOSE,144); 工作線:EMA(CLOSE,14),colorFFffff; 二號線:EMA(CLOSE,25); 三號線:EMA(CLOSE,318); 生命線:EMA(CLOSE,453),LINETHICK2,colorFF00ff; 五號線:EMA(CLOSE,550); 六號線:EMA(CLOSE,610); 七號線:EMA(CLOSE,730); 八號線:EMA(CLOSE,888); 九號線:EMA(CLOSE,99),colorFF0000; {公稱名稱: 買賣奇準(zhǔn)} 你:=MA(CLOSE,1); 老:=(((LOW + HIGH) + CLOSE) / 3); 板:=MA(老,5); 好:=HHV(板,10); 老板:=MA(老,5); 買賣:=LLV(老板,10); 急買奇準(zhǔn):IF(LLV((你 < 買賣),5),50,0),colorFF2222; 急賣奇準(zhǔn):IF(HHV((你 < 好),5),100,50),colorFF0000; 短買奇準(zhǔn):IF(LLV((你 < 買賣),10),50,0),colorFFFFFF; 短賣奇準(zhǔn):IF(HHV((你 < 好),10),100,50),colorFF00ff; {公稱名稱: 四號箱體} HEPG:(EMA(CLOSE,450) * 2.14),COLORFFFFFF; MA03:(EMA(CLOSE,450) * 2.01),COLORFF00FF; MA02:(EMA(CLOSE,450) * 1.88),COLORFF0033; MA01:(EMA(CLOSE,450) * 1.75),COLORFFFFFF; MA1:(EMA(CLOSE,450) * 1.66),COLORFF0000; MA2:(EMA(CLOSE,450) * 1.5),COLORFF00FF; MA3:(EMA(CLOSE,450) * 1.37),COLORFFFF66; MA4:(EMA(CLOSE,450) * 1.33),COLORFF00FF; MA5:(EMA(CLOSE,450) * 1.25),COLORFF0088; MA6:(EMA(CLOSE,450) * 1.14),COLORFFFFFF; MA7:(EMA(CLOSE,450) * 0.99),COLORFFFFFF; MA8:(EMA(CLOSE,450) * 0.84),COLORFFFFFF; 工作線:EMA(CLOSE,14),COLORFFFFFF; 生命線:EMA(CLOSE,47),COLORFFFFFF; {公稱名稱: 準(zhǔn)備買入} N:=5; VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0; VAR2:8,COLORGREEN,LINETHICK0; 上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2; 專吸莊血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2; DRAWTEXT(CROSS(VAR1,VAR2),80,'準(zhǔn)備買入'),COLOR00FFFF; VARO5:=LLV(LOW,27); VARO6:=HHV(HIGH,34); VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25; 建倉區(qū): IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1; 0,LINETHICK2 ,COLORFFCC00; 感覺有用的朋友,,使用要感恩“祝你有收獲“老師,。 |
|
來自: 空靈道bss2px8t > 《ww》