通达信观音点化指标公式
2019-05-09 作者:股匠网整理 来源:本站整理
DRAWGBK(C>0RGB(00080120)RGB(250250250)000);
{大盘状态}
X:=IF(PERIOD=525);
PLOYLINE(CX)COLORFFFFFFLINETHICK3;
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短线多空对峙位31);
PD短:=SMA(PK短31);
PJ短:=3*PK短-2*PD短;
PJ短A:=IF(PJ短>1010PJ短);
PJ短B:=IF(PJ短A<00PJ短A);
P均J短B:=SMA(PJ短B21);
大盘福缘:P均J短B>=REF(P均J短B1)NODRAW;
大盘缘尽:NOT(大盘福缘)NODRAW;
{弱态描述}
苦难众生:EMA((1-WINNER(C))21)*10COLOR008800;
金色圣泉:HHV(苦难众生3)>苦难众生COLOR0099DDLINETHICK0;
DRAWBAND(IF(金色圣泉HHV(苦难众生3)0)RGB(22018335)00);
观音湖:IF(苦难众生<XXDRAWNULL)COLORFFFFFFLINETHICK1;
DRAWBAND(IF(观音湖XDRAWNULL)RGB(1591590)苦难众生DRAWNULL);
DRAWBAND(IF(苦难众生>0苦难众生0)RGB(010050)00);
DRAWBAND(IF(苦难众生>9.5苦难众生9.5)RGB(2552550)IF(苦难众生<9.5DRAWNULL苦难众生)0);
涨二成仍套比:=(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;
DRAWBAND(涨二成仍套比RGB(125255125)00);
DRAWBAND(涨二成五仍套比RGB(5025550)00);
DRAWBAND(涨三成仍套比RGB(02000)00);
DRAWBAND(涨四成仍套比RGB(01500)00);
DRAWBAND(涨五成仍套比RGB(01000)00);
{大底判断}
佛珠:(C-MA(C34))/MA(C34)<-0.382 OR C/MA(C60)<0.618COLORREDLINETHICK0;
{长线波动与短线波动的描述}
综价:=(H+L+O+3*C)/6;
多空线:=(WMA(综价2)+WMA(综价4)+WMA(综价8)+WMA(综价16))/4;
长线多空对峙位:=(多空线-LLV(多空线120))/(HHV(多空线120)-LLV(多空线120))*10;
K长:=SMA(长线多空对峙位211);
D长:=SMA(K长211);
J长:=3*K长-2*D长;
J长A:=IF(J长>1010J长);
J长B:=IF(J长A<00J长A);
均J长B:=SMA(J长B21);
虔心向佛:均J长B>=REF(均J长B1)COLORFF63DBLINETHICK0;
短线多空对峙位:=(多空线-LLV(多空线30))/(HHV(多空线30)-LLV(多空线30))*10;
K短:=SMA(短线多空对峙位31);
D短:=SMA(K短31);
J短:=3*K短-2*D短;
J短A:=IF(J短>1010J短);
J短B:=IF(J短A<00J短A);
均J短B:=SMA(J短B21);
观音指点:CROSS(均J短BREF(均J短B1)) AND K短<5COLORYELLOWLINETHICK0;
慈航普渡:FILTER(苦难众生<X AND COUNT(苦难众生<X2)=15);
{强势描述}
N1:=IF(PERIOD=513IF(PERIOD=642));
N2:=IF(PERIOD=521IF(PERIOD=663));
N3:=IF(PERIOD=534IF(PERIOD=684));
乖离13:=10-WMA((C-MA(CN1))/MA(CN1)5)*10;
乖离21:=10-WMA((C-MA(CN2))/MA(CN2)5)*10;
乖离34:=10-WMA((C-MA(CN3))/MA(CN3)5)*10;
可羽化:=乖离13<10;
羽化:可羽化 AND 乖离13<REF(乖离131)LINETHICK0COLORFF76FF;
可飞升:=乖离21<10;
飞升:可飞升 AND 乖离21<REF(乖离211) AND 乖离21<乖离13LINETHICK0COLOR00389A;
可成仙:=乖离34<10;
成仙:乖离34<REF(乖离341) AND 可成仙 AND 乖离34<乖离21LINETHICK0COLOR00BEFF;
DRAWBAND(10RGB(2302300)IF(可成仙乖离3410)0);
DRAWBAND(10RGB(2002000)IF(成仙乖离3410)0);
DRAWBAND(10RGB(128064)IF(可飞升乖离2110)0);
DRAWBAND(10RGB(255128255)IF(可羽化乖离1310)0);
{画图}
DRAWICON(佛珠1.513);
IF(虔心向佛均J长BDRAWNULL)COLOR990099LINETHICK2DOTLINE;
IF(NOT(虔心向佛)均J长BDRAWNULL)COLOR888888LINETHICK2DOTLINE;
福缘:IF(均J短B>=REF(均J短B1)均J短BDRAWNULL)COLOR0000C8LINETHICK3;
缘尽:IF(均J短B<=REF(均J短B1)均J短BDRAWNULL)COLORFFFFFFLINETHICK3;
DRAWICON(观音指点REF(均J短B1)+0.511);
DRAWTEXT(慈航普渡X+1'慈航普渡')COLOR0000FF;
IF(大盘福缘P均J短BDRAWNULL)COLOR0033FFCIRCLEDOT;
IF(大盘缘尽P均J短BDRAWNULL)COLORCCCCCCCIRCLEDOT;
{PLOYLINE(大盘缘尽 AND 福缘均J短B)COLORMAGENTALINETHICK2;};
上一篇: 通达信黄金钻选股指标公式
下一篇: 通达信长阳逆天主图指标公式