{高拋低吸○副圖【經(jīng)典指標(biāo)】} 八拾:=80,COLOR666666; 二拾:=20,COLOR666666; 色塊:DRAWBAND(八拾,RGB(5,20,00),二拾,RGB(0,0,0)); 現(xiàn)價:=DYNAINFO(7)COLORRED,NODRAW; 均價:SUM(V*C,0)/SUM(V,0),COLORYELLOW,NODRAW; 100,COLOR555555; 均價差:現(xiàn)價-均價,COLORGREEN,NODRAW; 50,COLOR333333; RSV30:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; K30:=SMA(RSV30,5,1); D30:=SMA(K30,3,1); J30:=(3*K30-2*D30)*1.0; RSV21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K21:=SMA(RSV21,13,5); 主力線:=CEILING(SMA(K21,13,8)),COLORMAGENTA; 散戶線走勢:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))COLORCYAN,NODRAW; {COLOR76EE00}; 超短線:=(((主力線-LLV(主力線,21))/(HHV(主力線,21)-LLV(主力線,21)))*(4))*(25),COLORLIRED,NODRAW; 低點位:=散戶線走勢=100; 高點位:=散戶線走勢=0; 逆散戶線:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*(-1)+100,COLORMAGENTA,NODRAW; {COLOR76EE00} 振幅:=DYNAINFO(5)-DYNAINFO(6)COLORRED,NODRAW; ★格價差:(DYNAINFO(5)-DYNAINFO(6))/7,COLOR0099FF,NODRAW; {DYNAINFO(5)最高價,DYNAINFO(6)最低價} 0,COLOR555555; 快線:EMA(J30,1)COLORRED,LINETHICK1; 慢線:=EMA(J30,3),COLORGREEN,LINETHICK1; 散戶線:散戶線走勢,COLORCYAN; 逆散戶線走勢:=逆散戶線,COLORMAGENTA; {COLOR76EE00}; 深坑:DRAWBAND(快線,RGB(218,33,33),慢線,RGB(33,218,33)); {DRAWBAND(快線,RGB(228,268,228),慢線,RGB(55,70,80))}; {分時量柱 【副圖指標(biāo)】} AAA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 白量柱:=STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,0,0),COLORWHITE,NODRAW; 紅量柱:=STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0,0),COLORRED,NODRAW; 綠量柱:=STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,0),COLORGREEN,NODRAW; F1:=V>REF(HHV(V,240),1); 超量:DRAWICON(F1,-10,41); 分時大量柱:STICKLINE(超量,0,100,0,0),COLORYELLOW; 短線超跌:=STICKLINE(快線<(0),-4,-5,1.5,0)COLOR888888; 綠豆低吸1:DRAWTEXT(FILTERX(低點位,6),3,'●')COLORGREEN; 綠豆低吸2:DRAWTEXT(FILTERX(低點位,6),11,'低')COLORGREEN; 綠豆低吸3:DRAWTEXT(FILTERX(低點位,6),3,'○')COLORBROWN; 紅豆超跌1:DRAWTEXT(FILTERX(快線<(0),100),-3,'●')COLORRED; 紅豆超跌2:DRAWTEXT(FILTERX(快線<(0),100),-16,'吸')COLORRED; 土豆高拋1:DRAWTEXT(FILTERX(高點位,6),103,'●')COLOR0099FF; 土豆高拋2:DRAWTEXT(FILTERX(高點位,6),118,'高')COLOR0099FF; 黑白豆超漲1:DRAWTEXT(FILTERX(快線>(100),10),97,'●')COLORBLACK; 黑白豆超漲2:DRAWTEXT(FILTERX(快線>(100),10),89,'拋')COLORYELLOW; 黑白豆超漲3:DRAWTEXT(FILTERX(快線>(100),10),97,'○')COLORWHITE; 高拋:=DRAWICON(EXIST(V>=HHV(V,20)*100,0) && 土豆高拋1 && 散戶線=0,110,5); 低吸:=(紅豆超跌1 && 綠豆低吸1),NODRAW; 頂B:=IF(FILTERX(高拋,10),100,0),STICK,COLORYELLOW,LINETHICK1; 底B:=IF(FILTERX(低吸,10),100,0),STICK,COLORYELLOW,LINETHICK1; 0,COLORBLACK,NODRAW; 安琪酵母:DYNAINFO(7)COLORWHITE,NODRAW,COLORRED; {所持有的個股} 股數(shù):=100,NODRAW,COLORGREEN; 本金:21.074*股數(shù),NODRAW,COLORCYAN; {可查看證券賬戶} 每股差價:C-21.074,NODRAW,COLOR0099FF; 輸贏:(C*股數(shù))-本金,NODRAW,COLORRED; {} 輸贏比例:輸贏/本金*100,NODRAW,COLORLICYAN; 0,COLORBLACK,NODRAW; 迪安診斷:DYNAINFO(7)COLORWHITE,NODRAW,COLORRED; {所持有的個股} 數(shù)量:=5100,NODRAW,COLORCYAN; {可查看證券賬戶} 股本:31.247*數(shù)量,NODRAW,COLORGREEN; 每股價差:C-31.247,NODRAW,COLOR0099FF; 盈虧:(C*數(shù)量)-股本,NODRAW,COLORRED; {} 盈虧比例:盈虧/股本*100,NODRAW,COLORLICYAN; 0,COLORBLACK,NODRAW; |
|
來自: 知博陋室 > 《指標(biāo)公式》