{個(gè)股MACD【指標(biāo)參數(shù)】SHORT:2 200 6, LONG:2 200 10, MID:2 200 5.} {5日均線,生命線,其它均線} MA5:MA(C,5)COLORFFEFD5,DOTLINE; 通線:=MA(C,17)COLORRED,NODRAW; {多頭符號(hào)標(biāo)識(shí)} 中線錢袋子:=DRAWICON(CROSS(C,中線60),中線60-0.1,9); {錢袋子} {現(xiàn)價(jià)止盈、止損價(jià)位} 現(xiàn)價(jià):DYNAINFO(7)COLORWHITE,NODRAW; {低位與高位} 低位接擋:(SMA(LOW,21,2) * 0.94)NODRAW,COLORRED; 0,COLORBLACK,NODRAW; {莊家成本} A:=SUMBARS(V,CAPITAL*1); {日、周、月漲幅} 日漲幅:=((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW; {分鐘線首根K線標(biāo)注} 分鐘線首根K線:HOUR<REF(HOUR,1)COLOR0099FF,NODRAW; {選股} 選股:=DRAWICON(CROSS(C,MA5),L-0.05,42); {多頭標(biāo)識(shí)} {名稱代碼所屬行業(yè)及概念板塊} 所屬行業(yè):DRAWTEXT_FIX(1,0.02,0.01,0,'所屬行業(yè):'),COLORFF6000; {壓力與支撐} 壓力均線畫線:=HHV(HIGH,30),COLOR666666,DOTLINE; {短線——底部關(guān)注信號(hào)} 買:=IF("KDJ.J"<0,10,0); {中短期震蕩數(shù)值} 短期震蕩值:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))NODRAW,COLORGREEN; {多頭加文字標(biāo)注} 中線標(biāo)識(shí):DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(REF(中線錢袋子,0),REF(中線錢袋子,1)),0.90,0.03,0,'中線轉(zhuǎn)多頭了★★★')COLORRED; {個(gè)股 MACD 【副圖指標(biāo)】} DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORGREEN,LINETHICK1; {布林線副圖【副圖指標(biāo)】參數(shù) N:2 100 26 M:2 100 2} CV:=CLOSE; {文字說明、標(biāo)注} 平均成本線標(biāo)注:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND C>=(平均成本線),0.760,0.91,0,'股價(jià)已在平均成本線上方運(yùn)行(16分)')COLORGREEN; {年、月、日、星期} {表達(dá)式一} {表達(dá)式二} {表達(dá)式三} {三根K線判斷走勢強(qiáng)弱} A1:=REF(H,1); {吸拉派落} 量:=VOL,VOLSTICK; {SAR拋物線【指標(biāo)】} 持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORRED; {量價(jià)走勢} 量價(jià)曲線走勢VPT:=SUM(VOL*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),N2)COLORRED; {個(gè)股強(qiáng)弱打分} 滿分加:=MACD>(0) && C>=(BBIBOLL) && C>=(莊家成本) && 通線>=(子線) && C>=(年線) && C>=(平均成本線) && 量價(jià)曲線走勢VPT>=(0); 通子線色塊:=DRAWBAND(通線,RGB(85,26,139),子線,RGB(0,100,0)); 操盤線:=MA(C,5)COLORMAGENTA,LINETHICK1,DOTLINE; 股價(jià)趨勢:=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),LINETHICK0;
RSV1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; {DX 牛 熊【選股公式】說明:去除掉下列選股公式中一前一后的括號(hào)既得到選股公式源碼。} 紅色箭頭標(biāo)識(shí):DRAWTEXT_FIX(C!=0,0.02,0.18,0,'指標(biāo)的使用請看用法注釋。'),COLORLICYAN; {藍(lán)色K線系列} 標(biāo)識(shí)02:STICKLINE(CLOSE=OPEN,HIGH,LOW,0,0),COLORGREEN; {紅K線系列} 標(biāo)識(shí)14:STICKLINE(CLOSE>生命線 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED; {備用均線:平時(shí)上鎖(在 :號(hào)后面加個(gè) = 符號(hào))。但,隨時(shí)都可以開鎖(去掉 = 符號(hào)),用以觀察被K線覆蓋掉了的那一部分生命線均線走勢。} 多2:=IF(生命線>REF(生命線,1),生命線,DRAWNULL),COLORRED,LINETHICK2;
|
|