通达信天线凸凹图,主图指标,源码

BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORLIBLUE,LINETHICK2;
MA25:MA(CLOSE,25),COLORRED,LINETHICK2;
IF(MA25<REF(MA25,1),MA25,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWICON((MA(C,4)*4+MA(C,25))/5>=MA(C,25) AND MA(C,5)<MA(C,25),L*0.97,5);
天线:MA(REF(HHV(C,30),1),2),COLORGREEN,,LINETHICK2;
地线:MA(REF(LLV(C,30),1),2),COLORMAGENTA,LINETHICK2;
高量线:REF(C,BARSLAST(V=HHV(VOL,25))),DOTLINE,COLORWHITE;
高量底:REF(O,BARSLAST(V=HHV(VOL,25))),DOTLINE,COLORLIBLUE;
{总股本}
流通市值:C*FINANCE(7)/100000000,COLORYELLOW,NODRAW;
流通比:FINANCE(7)/FINANCE(1),COLORWHITE,NODRAW;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
DRAWICON(CROSS(MA.MA1,MA.MA2),MA.MA1,1);
STICKLINE(  C<MA.MA4,H,L,0,0),COLOR777777;
STICKLINE(  C<MA.MA4,O,C,2.7,1),COLOR777777; 
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.02,0.03,0,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.09,0.03,0,HYBLOCK),COLORWHITE;
概念:DRAWTEXT_FIX(ISLASTBAR ,0.15,0.03,0,GNBLOCK),COLORRED;


G1:=REF(H,1)/MIN(REF(C,1),REF(O,1)) > 1.05;
G2:=REF(H,1)/MAX(REF(C,1),REF(O,1)) > 1.03;
G3:=REF(H,1)/REF(C,2) > 1.01;
G4:=L/(REF(C,1)-(REF(H,1)-REF(C,2))*3/4) <= 1;
G5:=REF(C,1)/REF(O,1) < 1.04;
GG:=G1 AND G2 AND G3 AND G4 AND G5;
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT('  流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
全流通:=STRCAT('  流通比: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
市值:=STRCAT(STRCAT('  流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),''));
{DRAWTEXT_FIX(ISLASTBAR,0.005,0.115,0,股本市值),COLORRED;}
DRAWTEXT_FIX(1,0,0.12,0,股本市值),COLORRED;
昨中分位价:REF((C+O)/2,1),COLORYELLOW,NODRAW;
STICKLINE(ISLASTBAR,昨中分位价,昨中分位价,4,0),COLORYELLOW;
DRAWTEXT(ISLASTBAR,昨中分位价,'        昨中分位价'),COLORMAGENTA;
DRAWNUMBER(ISLASTBAR,昨中分位价-0.35,昨中分位价),COLORCYAN;
{除权后显示蝴蝶}
DRAWICON( (REF(FINANCE(1),1) / FINANCE(1)) >1.1, C*1.1, 30);
{大宗交易, 大宗交易的价格超过收盘价,叫溢价,低于收盘价叫折价};
大宗交易 : SIGNALS_USER(298, 0), NODRAW; 
减持金额 :=  VARCAT(VAR2STR(大宗交易/10000.0 , 2),'亿'); {单位是:亿}
增持金额 :=  VARCAT(VAR2STR(大宗交易/10000.0 , 2),'亿'); {单位是:亿}
{FLOAT FBILIU =  (收盘价 - 成交价) / 收盘价;}
比率     : FRACPART(大宗交易), NODRAW; {得到小数部分,带正负符号的}
成交价   : C - C*比率,  NODRAW; 
{成交价格小于收盘价,0.1,折价甩卖,显示绿色}
{DRAWTEXT(比率>0, H*0.2, '增'),  COLOR008000; }
{DRAWTEXT(比率<0, L, 减持金额),  COLOR008000; }






未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图