{指标介绍:可操作的三区域:底部注意、买点出现、坚定持股。} 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;
通达信看图解势六区指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/94979.html