观音点化指标 (源码)
DRAWGBK(C, COLORRGB(000,80,120), COLORRGB(250,250,250),1);
//大盘状态
P综价:=(INDEXH+INDEXL+INDEXO+3*INDEXC)/6;
P多空线:=(WMA(P综价,2)+WMA(P综价,4)+WMA(P综价,6)+WMA(P综价,8))/4;
P短线多空对峙位:=(P多空线-LLV(P多空线,30))/(HHV(P多空线,30)-LLV(P多空线,30))*10;
PK短:=SMA(P短线多空对峙位,3,1);
Pd短:=SMA(PK短,3,1);
PJ短:=3*PK短-2*PD短;
PJ短a:=IF(PJ短>10,10,PJ短);
PJ短b:=IF(PJ短a<0,0,PJ短a);
P均J短b:=Sma(PJ短b,2,1);
大盘福缘:P均J短b>=REF(P均J短b,1),COLOR0033ff,linethick0;
大盘缘尽:NOT(大盘福缘),COLORWHITE,linethick0;
//弱态描述
苦难众生:EMA((1-WINNER(C)),13)*10,Color008800;
苦海深渊:(c-ma(c,27))/ma(c,27)<-0.16,color005500,Linethick0;
渐脱苦海:HHV(苦难众生,3)>苦难众生,color0099dd,linethick0;
FILLRGN(渐脱苦海,HHV(苦难众生,3),0),color0099dd;
FILLRGN(苦难众生>0,苦难众生,0),color555500;
FILLRGN(苦难众生>8.5,苦难众生,8.5),color00bbaa;
FILLRGN(苦难众生>9,苦难众生,9),color00ffaa;
FILLRGN(苦难众生>9.5,苦难众生,9.5),colorffffff;
涨二成仍套比:=(1-winner(1.2*c))*10;
涨二成五仍套比:=(1-winner(1.25*c))*10;
涨三成仍套比:=(1-winner(1.3*c))*10;
涨四成仍套比:=(1-winner(1.4*c))*10;
涨五成仍套比:=(1-winner(1.5*c))*10;
FILLRGN(涨二成仍套比,涨二成仍套比,0),Color66ee66;
FILLRGN(涨二成五仍套比,涨二成五仍套比,0),Color33aa33;
FILLRGN(涨三成仍套比,涨三成仍套比,0),Color007700;
FILLRGN(涨四成仍套比,涨四成仍套比,0),Color005500;
FILLRGN(涨五成仍套比,涨五成仍套比,0),Color003300;
//大底判断
换手:=VOL/CAPITAL*100;
综价:=(H+L+O+3*C)/6;
量权均线:=DMA(综价,换手/SUM(换手,10));
量价判底:=(C-量权均线)/量权均线<-0.22;
速跌:=REF(H,10)/C>1.382;
急跌:=REF(c,3)/L>1.15;
易涨:=COST(15)>1.25*C;
市场弱状:=速跌 and 急跌 and 易涨;
异动:=H>L*1.051 OR H>L+0.05*REF(C,1);
乖离条件:=(C-MA(C,34))/MA(C,34)<-0.23 OR C/MA(C,60)<0.74;
乖离判底:=(市场弱状 or 乖离条件) and 异动;
佛珠:量价判底 OR 乖离判底,COLORred,linethick0;
//长线波动与短线波动的描述
多空线:=(WMA(综价,2)+WMA(综价,4)+WMA(综价,8)+WMA(综价,16))/4;
长线多空对峙位:=(多空线-LLV(多空线,120))/(HHV(多空线,120)-LLV(多空线,120))*10;
K长:=SMA(长线多空对峙位,21,1);
D长:=SMA(K长,21,1);
J长:=3*K长-2*D长;
J长a:=IF(J长>10,10,J长);
J长b:=IF(J长a<0,0,J长a);
均J长b:=Sma(J长b,2,1);
虔心向佛:均J长b>=REF(均J长b,1),ColorFF63DB,linethick0;
短线多空对峙位:=(多空线-LLV(多空线,30))/(HHV(多空线,30)-LLV(多空线,30))*10;
K短:=SMA(短线多空对峙位,3,1);
d短:=SMA(K短,3,1);
J短:=3*K短-2*D短;
J短a:=IF(J短>10,10,J短);
J短b:=IF(J短a<0,0,J短a);
均J短b:=Sma(J短b,2,1);
观音指点:CROSS(均J短b,REF(均J短b,1)) AND K短<8,Coloryellow,linethick0;
福缘:均J短b>=REF(均J短b,1),COLORRED,linethick0;
缘尽:NOT(福缘),COLORWHITE,linethick0;
观音点化:CROSS(均J短b,苦难众生) AND 均J短b>REF(均J短b,1),COLORffffff,linethick0;
//强势描述
乖离13:=10-sma((C-ma(C,13))/ma(C,13),2,1)*10;
乖离16:=10-sma((C-ma(C,16))/ma(C,16),2,1)*10;
乖离21:=10-sma((C-ma(C,21))/ma(C,21),2,1)*10;
可羽化:=乖离13<10;
羽化:可羽化 AND 乖离13<REF(乖离13,1),linethick0,COLORFF76FF;
可飞升:=乖离16<10;
飞升:可飞升 AND 乖离16<REF(乖离16,1) AND 乖离16<乖离13,linethick0,COLOR00389A;
可成仙:=乖离21<10;
成仙:乖离21<REF(乖离21,1) AND 可成仙 AND 乖离21<乖离16,linethick0,COLOR00BEFF;
{www.gpxiazai.com.com 股票软件下载网_最新股票指标公式}
FILLRGN(可成仙,乖离21,10),COLOR00389A;
FILLRGN(成仙,乖离21,10),COLOR00BEFF;
FILLRGN(可飞升,乖离16,10),COLOR00389A;
FILLRGN(可羽化,乖离13,10),COLORFF76FF;
成佛:CROSS(均J短b,乖离21),COLOR0000FF,linethick0;
//画图
STICKLINE(苦海深渊,0,1,10,0),color001100;
DRAWICON(佛珠,1.7,10);
PARTLINE(虔心向佛,均J长b),Color990099,linethick2,LINEDASH;
PARTLINE(NOT(虔心向佛),均J长b),color888888,linethick2,LINEDASH;
PARTLINE(福缘,均J短b),COLOR000055,linethick5;
PARTLINE(福缘,均J短b),COLOR000099,linethick3;
PARTLINE(福缘,均J短b),COLOR0000cc,linethick2;
PARTLINE(福缘,均J短b),COLOR0033ff,linethick1;
PARTLINE(缘尽,均J短b),COLOR333333,linethick4;
PARTLINE(缘尽,均J短b),COLOR777777,linethick3;
PARTLINE(缘尽,均J短b),COLORcccccc,linethick2;
PARTLINE(缘尽,均J短b),COLORffffff,linethick1;
DRAWICON(观音指点,REF(均J短b,1),12);
DRAWTEXT(成佛,9,'天界修炼'),COLORffffff;
PARTLINE(大盘福缘,P均J短b),COLOR0033ff,CIRCLEDOT;
PARTLINE(大盘缘尽,P均J短b),COLORcccccc,CIRCLEDOT;
PARTLINE(大盘缘尽 AND 福缘,均J短b),COLORMAGENTA,linethick2;
PARTLINE(大盘缘尽 AND 福缘,均J短b),COLORFF76FF,linethick1;
DRAWTEXT(观音点化,均J短b,'观音点化'),COLOR0000ff;
//点化后周期:=BARSLAST(观音点化);
//点化后C尽利:IF(点化后周期>0,(c-ref(c,点化后周期))/ref(c,点化后周期)-0.01,0),LINETHICK0,COLORyellow;
- 上一篇公式:买方能量指标 (源码)
- 下一篇公式:魔道主图指标 (源码)