【通達信】我佛慈悲指標公式
攻城獅 2016.02.04 00:59
STICKLINE(C,12,0,5,0),COLOR9C8700;
STICKLINE(C,-2,0,5,0),COLOR004400;
{套牢贏利}
短虧:EMA(10*(1-WINNER(1.38*C)),1),NODRAW,COLOR52FF78; {原參數(shù):=1.1}
中虧:EMA(10*(1-WINNER(1.44*C)),1),NODRAW,COLORGREEN;{原參數(shù):=1.2}
長虧:EMA(10*(1-WINNER(1.68*C)),1),NODRAW,COLOR00B900;{原參數(shù):=1.5}
贏利:WINNER(C)*10,NODRAW,COLORWHITE;{//當日贏利盤}
{弱態(tài)描述}
R_S1:=EMA((1-WINNER(C)),13)*10; R_S2:=HHV(R_S1,3)>R_S1 AND R_S1>4;
{佛指}
QX1:=EMA(C,12); QX2:=SUM(V,5); QX3:=QX2/3; QX4:=QX3/CAPITAL;
QX5:=DMA(QX1,QX4); QX6:=REF(H,10); QX7:=QX6/C; QX8:=QX7>1.35;
QX9:=COST(20); QX10:=(QX9-C); QX11:=QX10/C; QX12:=QX11>0.15;
QX13:=H>L*1.051; QX14:=COUNT(QX13,5)>1; QX15:=QX13 AND QX14; QX16:=(C-QX5);
QX17:=QX16/QX5; QX18:=QX17*100<-30;
秋風(fēng)掃落葉:=(QX18 OR QX8) AND QX12 AND QX15;
F_Z1:=(H+L+O+C*3)/6; F_Z2:=(EMA(F_Z1,2)+EMA(F_Z1,4)+EMA(F_Z1,8)+EMA(F_Z1,16))/4;
F_Z3:=(F_Z2-LLV(F_Z2,30))/(HHV(F_Z2,30)-LLV(F_Z2,30))*10; F_Z4:=SMA(F_Z3,3,1);
F_Z5:=SMA(F_Z4,3,1); F_Z6:=3*F_Z4-2*F_Z5; F_Z7:=IF(F_Z6>10,10,F_Z6);
F_Z8:=IF(F_Z7<0,0,F_Z7); F_Z9:=SMA(F_Z8,2,1);
修德:=CROSS(F_Z8,REF(F_Z9,1)) AND F_Z4<8;{//低吸}
善緣:F_Z8>=REF(F_Z8,1),COLORRED,NODRAW;
點化:=CROSS(F_Z9,R_S1) AND F_Z9>REF(F_Z9,1);{//追}
{強勢描述}
乖離1:=10-SMA((C-MA(C,13))/MA(C,13),2,1)*10;{//乖離11}
乖離2:=10-SMA((C-MA(C,16))/MA(C,16),2,1)*10;{//乖離16}
乖離3:=10-SMA((C-MA(C,21))/MA(C,21),2,1)*10;{//乖離21}
Q_S1:=乖離1<10;
羽化:Q_S1 AND 乖離1 Q_S2:=乖離2<10;
Q_S3:=乖離3<10;
成仙:乖離3 成佛:=CROSS(F_Z9,乖離3);{//追漲}
苦海:NOT(善緣),NODRAW,,COLORFF8000;{//緣盡}
{—————–【圖解模板】———————}
{弱態(tài)描述}
STICKLINE(R_S2,HHV(R_S1,3),0,5,0),COLOR0099DD;
STICKLINE(R_S1>0,R_S1,0,5,0),COLOR004400;
STICKLINE(R_S1>8,R_S1,8,5,0),COLOR008888;{www.chiang1015.com 概念股網(wǎng)_股票通達信指標公式}
STICKLINE(R_S1>8.5,R_S1,8.5,5,0),COLOR00BB88;
STICKLINE(R_S1>9,R_S1,9,5,0),COLOR00FF88;
{強勢描述}
STICKLINE(Q_S3,乖離3,10,5,0),COLOR00389A;
STICKLINE(成仙,乖離3,10,5,0),COLOR00BEFF;
STICKLINE(Q_S2,乖離2,10,5,0),COLOR00389A;
STICKLINE(Q_S1,乖離1,10,5,0),COLORFF76FF;
{套牢贏利}
STICKLINE(短虧>0,短虧,0,3,0),COLOR52FF78;
STICKLINE(中虧>0,中虧,0,2,0),COLOR00A600;
STICKLINE(長虧>0,長虧,0,3,0),COLOR005800;
{佛指}
IF(善緣,F_Z9,DRAWNULL),LINETHICK3,COLORRED;
IF(苦海,F_Z9,DRAWNULL),LINETHICK3,COLORFF5000;
DRAWICON(修德 AND F_Z9<4,REF(F_Z9,1),11);
DRAWTEXT(FILTER(修德 AND F_Z9<4,10),5,'施'),COLORFF9FFF;
DRAWTEXT(FILTER(修德 AND F_Z9<4,10),6,'德'),COLORFF9FFF;
DRAWICON(點化,F_Z9,10);
DRAWTEXT(點化,F_Z9,’行’),COLORBROWN;
DRAWTEXT(點化,F_Z9-1,’善’),COLORBROWN;
DRAWICON(成佛,F_Z9,12);
DRAWTEXT(成佛,F_Z9,’我’),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-1,’不’),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-2,’下’),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-3,’地’),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-4,’獄’),COLORYELLOW;
{DRAWTEXT(成佛,F_Z9-5,’誰’),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-6,’下 ‘),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-7,’地 ‘),COLORYELLOW;
DRAWTEXT(成佛,F_Z9-8,’獄’),COLORYELLOW;}
{VERTLINE(秋風(fēng)掃落葉),LINEDOT,COLORBLACK;}
DRAWTEXT(FILTER(秋風(fēng)掃落葉,5),7.5,’岸’),COLORYELLOW;{低點}
DRAWTEXT(FILTER(秋風(fēng)掃落葉,5),9,’是’),COLORYELLOW;
DRAWTEXT(FILTER(秋風(fēng)掃落葉,5),10.5,’頭’),COLORYELLOW;
DRAWTEXT(FILTER(秋風(fēng)掃落葉,5),12,’回’),COLORYELLOW;
IF(C,贏利,DRAWNULL),COLORFFC0FF;
0,COLORBLACK;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。