通達(dá)信一眼辨牛熊主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)語言: 簡(jiǎn)體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-13 00:00:00
內(nèi)容介紹:
通達(dá)信一眼辨牛熊主圖指標(biāo)公式:
N1:=18;N2:=50;N3:=89;N4:=180;
DRAWBAND(MA(C,18),RGB(185,20,30),MA(C,50),RGB(0,100,100));DRAWKLINE(H,O,L,C);
{警示牌設(shè)置}
警示牌:=1;
高:=REFDATE(HHV(H,180),DATE)*1.05;
低:=REFDATE(LLV(L,180),DATE)*0.95;
A11:=MA(C,18);
A12:=MA(C,50);
A13:=MA(C,89);
A14:=IF((MA(C,180)<=高 AND MA(C,180)>=低) OR C>=MA(C,180),MA(C,180),DRAWNULL);
{—————股性判斷—————}
牛股:=ISLASTBAR AND A11>A12 AND A12>A13 AND A13>IF(A14=DRAWNULL,0,A14) AND C>A11 OR ISLASTBAR AND A11>A12 AND C>=A11;
猴股:=ISLASTBAR AND A11>A12 AND C<A11 ;
熊股:=ISLASTBAR AND IF(A14=DRAWNULL,A12<A13 AND C<A13,A13<A14 AND C<A14) OR ISLASTBAR AND A11<A12;
DRAWGBK(警示牌=1 AND 牛股,0,0,0,'牛股',0);
DRAWGBK(警示牌=1 AND 猴股,0,0,0,'猴股',0);
DRAWGBK(警示牌=1 AND 熊股,0,0,0,'熊股',0);
DRAWKLINE(H,O,L,C);
MA18:MA(C,N1),COLORWHITE;
MA50:MA(C,N2),COLORYELLOW;
MA89:MA(C,N3),COLORFF00FF;
MA180:MA(C,N4),COLORRED;
超買:=MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(MA(C,N1),MA(C,N2)),MA(C,N2)*0.99,'ㄉ金叉'),LINETHICK2,COLORFF00FF;
{財(cái)務(wù)數(shù)據(jù)}
所屬板塊:=STRCAT('所屬板塊: ',STRCAT(STRCAT(STRCAT(' 行業(yè) ',HYBLOCK),STRCAT(' 地域
',DYBLOCK)),STRCAT(' 概念 ',GNBLOCK)));
總股本:=STRCAT(STRCAT(' 總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億');
流通盤:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億');
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億');
上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(總股本,流通盤),市值),上市日期));
{顯示設(shè)置}
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,所屬板塊),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.118,0,股本市值),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(C>0,0.005,0.06,0,'主題投資:'),COLORFF00FF,LINETHICK2;
DRAWTEXT_FIX(C>0,0.078,0.06,0,EXTERNSTR(0,2)),COLORFF00FF,LINETHICK2;
{漲停K線};
ZD:=100*(C-REF(C,1))/REF(C,1);
漲停:=ZD>=9.90;
STICKLINE((漲停>0 AND C=H),O, H, 3, 0),LINETHICK3, COLORYELLOW;
{大陽線}
大陽線:=ZD>=5.00 AND ZD<9.90;
STICKLINE((大陽線>0 AND C<=H),O, C, 3, 0),LINETHICK3, COLORFF00FF;
{金叉K線}
{靠線金叉}
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C<=MA(C,18)*1.03,H,C,0.05,0), COLOR0000FF;
STICKLINE(CROSS(MA(C,18),MA(C,50))AND C<=MA(C,18)*1.03,C,O,3,0), COLOR0066FF;
STICKLINE(CROSS(MA(C,18),MA(C,50))AND C<=MA(C,18)*1.03,O,L,0.05,0), COLOR0099FF;
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C<=MA(C,18)*1.03 AND C<O,O,(C-O)/2+O,3,0),COLORFFFF80;
{線上金叉}
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C>MA(C,18)*1.03 AND C>O,C,(C-O)/2+O,3,0),COLORRED;
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C>MA(C,18)*1.03 AND C>O,O,(C-O)/2+O,3,0),COLORYELLOW;
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C>MA(C,18)*1.03 AND C>O,C,H,0.5,0),COLORRED;
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C>MA(C,18)*1.03 AND C<O,C,(C-O)/2+O,3,0),COLORRED;
STICKLINE(CROSS(MA(C,18),MA(C,50)) AND C>MA(C,18)*1.03 AND C<O,O,(C-O)/2+O,3,0),COLORFFFF80;
STICKLINE(CROSS(
- ·中泰化學(xué)業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤同比略低于預(yù)期
- ·敏芯股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤同比減少674.39%
- ·百潤股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤同比增長104.7%
- ·陶瓷行業(yè)股票2023業(yè)績(jī)分析:陶瓷基板發(fā)展迅速,精密陶瓷零部件有望加速國產(chǎn)化
- ·天奧電子業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤同比增長10.37%
- ·香飄飄業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤同比增長110%
相關(guān)推薦: