通达信自用六区 副图源码 说明
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-09-23 09:18:00
公式简介:
自用六区(副图 说明 源码 贴图)
不冲高不卖,不跳水不买,横盘不交易。
买阴不买阳,卖阳不卖阴,高低盘整,再等一等。
高位横盘冲高,抓住时机抛;低位横盘挖坑,全仓买进。
{自用量能很好用 }
A1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED;
主动卖盘:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2)),COLORGREEN;
量:=(主动买盘-MA(主动买盘,20))/MA(主动买盘,20),COLORYELLOW;
量能:IF(量>0,量,0),COLORYELLOW;
累积量能:SUM(量能,5)/1,COLOR000077;
DRAWBAND(累积量能,RGB(108,0,0),0,RGB(100,100,100));
STICKLINE(量>0,量*2,0,2,1),COLORYELLOW;
{20110922将走势分为底部注意、低位转强、买点出现、坚定持股、谨慎观望、果断持币六区,看图解势}
{参数:周期 1 100 15 过滤 1 100 8 选股 -30 -20 -26 抄底 -50 -25 -40 }
{可操作的三区城}
周期:=15;
过滤:=8;
选股:=-26;
抄底:=-40;
VAR5:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4;
VAR6:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;
VAR8:=EMA(VAR6,过滤);
底部注意:=VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8;{底部注意}
买点:=VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,COLORRED;{买点}
坚定持股:=VAR8>REF(VAR8,1) AND VAR8>0,COLORFF00FF;{坚定持股}
三区:=底部注意 OR 买点 OR 坚定持股;{可操作的三区城}
买天数:BARSLASTCOUNT(买点=1),COLORRED,NODRAW;
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,3,0),COLORLICYAN;{底部注意}
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,3,0),COLOR0080FF;{低位转强}
STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,3,0),COLORRED;{买点}
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,0,0),COLORFF00FF;{坚定持股}
STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2,0),COLORFFFF80;{谨慎观望}
STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,5,1),COLORGREEN;{果断持币}
VAR9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
VARA:=VAR9>1*REF(VAR9,1) AND VAR9<选股 AND VAR9>抄底*1.5;
VARB:=VOL/CAPITAL*100;
VARC:=LLVBARS(LOW,50);
VARD:=SUM(VOL,VARC);
VARE:=HHVBARS(HIGH,50);
VARF:=SUM(VOL,VARE);
VAR10:=(CLOSE-REF(OPEN,VARE))/REF(OPEN,VARE)*100;
VAR11:=VARF/CAPITAL*100;
VAR12:=(CLOSE-REF(OPEN,VARC))/REF(OPEN,VARC)*100;
VAR13:=VARD/CAPITAL*100;
VAR14:=MA(CLOSE,3);
VAR15:=REF(CLOSE,2)*0.865;
VAR16:=REF(CLOSE,13)*0.772;
VAR17:=MIN(VAR15,VAR16);
VAR18:=MA(CLOSE,13);
超跌:IF((CLOSE-VAR17)/CLOSE<0.03 AND VAR10<-35 AND SUM(VARB,5)/5<1.8,1,0)*10,COLOR808080;
DRAWTEXT(超跌,超跌,'抄底'),COLORFF0000 ;
VAR19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
VAR1B:=EMA(VAR1A,9);
VAR1C:=2*(VAR1A-VAR1B);
DRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1A<VAR1B,-10,'底'),COLORWHITE;
DRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1A>=VAR1B,5,'追'),COLORWHITE;
STICKLINE(VAR1A<-50 AND VAR19>7,0,-10,5,0),COLORFFFF00 ;
DRAWTEXT_FIX(1,0.00,0.05,0,'底部注意'),COLORLICYAN;
DRAWTEXT_FIX(1,0.00,0.15,0,'低位转强'),COLOR0080FF;
DRAWTEXT_FIX(1,0.00,0.25,0,'买点出现'),COLORRED;
DRAWTEXT_FIX(1,0.08,0.05,0,'坚定持股'),COLORFF00FF;
DRAWTEXT_FIX(1,0.08,0.15,0,'谨慎观望'),COLORFFFF80;
DRAWTEXT_FIX(1,0.08,0.25,0,'果断持币'),COLORGREEN;
DRAWTEXT_FIX(1,0.16,0.05,0,'黄量能柱'),COLORYELLOW;
[url=http://www.goodgupiao.com/gupiaogongshi/22701.html][B]通达信自用六区 副图源码 说明[/B][/url]