通達(dá)信追擊漲停絕技分時(shí)圖指標(biāo)源碼
時(shí)間:2012-10-29 7:38:27 點(diǎn)擊:211 標(biāo)簽: 通達(dá)信, 追擊漲停絕技, 分時(shí)圖指標(biāo), 源碼
股海網(wǎng)提供的:通達(dá)信追擊漲停絕技分時(shí)圖指標(biāo)源碼源碼如下:
通達(dá)信追擊漲停絕技分時(shí)圖指標(biāo)源碼 量:=VOL,VOLSTICK; 五日量:MA(量,5),COLORWHITE; {STICKLINE(V>=REF(V,1)*2 AND C>=REF(C,1),量,0,1,0),COLORMAGENTA; DRAWTEXT(V>=REF(V,1)*2 AND C>=REF(C,1),量*0.9,'∠'); DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20線上行+日價(jià)K線突破+日K線量起爆更好+估換手小于10%時(shí)更穩(wěn)定');} TT:=BARSCOUNT(C);{取得有效收盤價(jià)} 均價(jià)黃:=SUM(C*V,TT)/SUM(V,TT);{分時(shí)均線的取值} 量?jī)刹?=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2); 價(jià)兩步:= C>=REF(C,1) AND REF(C,1)>REF(C,2); 價(jià)上崗量破5:=C>均價(jià)黃 AND V>MA(V,5); 量起爆:=V>=REF(V,1)*2 ; 價(jià)創(chuàng)新高:=C>=HHV(C,0); 量創(chuàng)新高:=V>=HHV(V,0); 對(duì)昨日漲幅:=C/DYNAINFO(3)<=1.02;{漲幅控制2個(gè)點(diǎn)以內(nèi)} 每日一點(diǎn):=量?jī)刹?AND 價(jià)兩步 AND 價(jià)上崗量破5 AND 量起爆 AND 價(jià)創(chuàng)新高 AND 量創(chuàng)新高 AND 對(duì)昨日漲幅; DRAWTEXT(每日一點(diǎn),HHV(量,0)*0.9,'起爆'),COLORBLUE; DRAWICON(每日一點(diǎn),HHV(量,0),1),COLORRED; STICKLINE(每日一點(diǎn),量,0,1,0),COLORMAGENTA; DRAWTEXT(每日一點(diǎn),量*0.9,'∠'),COLORRED; DRAWTEXT(每日一點(diǎn),HHV(V,0)*0.9,'20線上行+日價(jià)K線突破+日K線量起爆更好+估換手小于10%時(shí)更穩(wěn)定'),COLORGREEN; {計(jì)算收益,、已爆分鐘} VV:=BARSSINCE(每日一點(diǎn))+1; 首次起爆價(jià):REF(C,VV-1),NODRAW; 今天收益:(DYNAINFO(7)-首次起爆價(jià))/首次起爆價(jià)*100,NODRAW; {DRAWNUMBER(VV>=1,V*0.8,今天收益);待續(xù)。,。,。。低調(diào)} 流通盤:CAPITAL*100/100000000,NODRAW; 起爆時(shí)間:REF(TIME/10000,VV),NODRAW; 已爆分鐘:VV-1,NODRAW; {畫出底線和紅球} 首次起爆量:=REF(VOL,VV-1); DRAWICON(已爆分鐘>=2,首次起爆量/2,13);{出現(xiàn)紅球,,至少已經(jīng)確認(rèn)2分鐘了};
{原文鏈接:http://www./html/GS/tong-da-xin/19487.html}
|