布林趋势主图指标 (源码)
DRAWTEXTABS(10,10,'所属板块:'+BKNAME),COLORYELLOW;
决策线:ma(c,3),COLORRED;
DD5:=决策线<REF(决策线,1);
PARTLINE(决策线,DD5),color00FF00;
x:=(3*c+l+o+h)/6;
天线:MA(C,25)*IF(CAPITAL<1,0.8,1.2),COLORRED,linethick2;
地线:MA(C,25)*IF(CAPITAL<1,0.95,0.80),COLORGREEN,linethick2;
压力线:MA(C,20)*IF(CAPITAL<1,0.9,1.1),COLORblue;
支撑线:MA(C,20)*IF(CAPITAL<1,1.04,0.9),COLORFFFF00;
【多空带】:((压力线+支撑线)/2),coloryellow,linethick0;
PARTLINE(【多空带】,【多空带】>ref(【多空带】,1),RGB(255,0,0),【多空带】<ref(【多空带】,1),RGB(0,255,0),1,RGB(0,0,255)),linethick2;
drawtext(h>压力线 and c<压力线,压力线,'★'),coloryellow;
drawtext(h>天线 and c<天线,h,'★'),color00ff00;
drawtext(l<支撑线 and c>支撑线,支撑线,'▲'),coloryellow;
drawtext(l<地线 and c>地线,l,'▲'),color00ff00;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日突破:=E+(HIGH-LOW);
明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
DRAWTEXTREL(10,320,'今日阻力=:'+NUMTOSTRN(今日阻力,2 )+''),Color00FFFF;
DRAWTEXTREL(10,380,'今日支撑=:'+NUMTOSTRN(今日支撑,2 )+''),Color00FF00;
DRAWTEXTREL(10,440,'明日突破=:'+NUMTOSTRN(明日突破,2 )),ColorFF00FF;
DRAWTEXTREL(10,500,'明日阻力=:'+NUMTOSTRN(明日阻力,2 )),ColorFFFF00;
DRAWTEXTREL(10,560,'明日支撑=:'+NUMTOSTRN(明日支撑,2 )),COLORRED;
DRAWTEXTREL(10,620,'明日反转=:'+NUMTOSTRN(明日反转,2 )),COLORGREEN;
{附加段}
{附加段}
DRAWTEXTABS(10,10,'所属板块:'+BKNAME),COLORYELLOW;
总股本:=FINANCE2(35)/10000;
流通盘:=FINANCE2(37)/10000;
市盈率:=DYNAINFO(39);
市净率:= DYNAINFO(58);
每股收益:=FINANCE2(3);
每股净资产:=FINANCE2(4);
净资产收益率:=FINANCE2(5);
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORRED,LINETHICK0;
DRAWTEXTABS(190,25,'市盈率:'+市盈率+' '),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(270,25,'市净率:'+市净率+' '),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(350,25,'每股净资产:'+每股净资产+' '),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(450,25,'净资产收益率:'+净资产收益率+' '),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(720,25,'每股收益:'+每股收益+'元 '),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(110,25,'流通盘:'+流通盘+' '),LINETHICK1,COLORF00FF0;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
DRAWTEXTABS(10,40,'今日量能饱和度:'+NUMTOSTRN(量能饱和度,0)+'%'),LINETHICK1,COLORRED;
DRAWTEXTABS(580,25,'业绩:'+NUMTOSTRN(FINANCE2(3),2)),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(640,25,'公积金:'+NUMTOSTRN(FINANCE2(7),2)),LINETHICK1,COLORF00FF0;
DRAWTEXTABS(10,25,'总股本:'+总股本+' '),LINETHICK1,COLORF00FF0;
- 上一篇公式:专抓涨停指标 (源码)
- 下一篇公式:成交量分级指标 (源码)