【大智慧】長(zhǎng)短趨勢(shì)指標(biāo)公式
攻城獅 2015.12.01 10:40
WY1001:=(2*CLOSE+HIGH+LOW)/4;{非常準(zhǔn)}
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(XYS0>=0,XYS0,0,2,0),COLOR0000ff;
STICKLINE(XYS0<0,XYS0,0,2,0),COLOrffff00;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
{概念股網(wǎng)-股票公式網(wǎng)站 www.chiang1015.com}
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:0,COLORWHITE;
STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
XYS1:MA(XYS0,2),COLOR00ff00;
XYS2:MA(XYS0,1),COLOR00ffff;
STICKLINE(cross(XYS2,XYS1) , 0.2 ,0 ,6,0 ),COLOR00ffff;
STICKLINE(XYS2>XYS1 AND 0>XYS2 ,XYS2 ,0 ,4 ,0),COLORff00ff;
STICKLINE(XYS2STICKLINE(cross(XYS1,XYS2) and XYS2>0 ,XYS2 ,0 ,4 ,0),COLOR00ff00;
DRAWTEXT(cross(XYS2,XYS1) ,0,’準(zhǔn)’),COLOR00ffff,LINETHICK2;
FILLRGN(XYS2,XYS1,XYS2>XYS1,RGB(250,200,50),XYS2{莊家克星}
莊1:=(CLOSE*2+HIGH+LOW)*2;
莊2:= EMA(莊1,13)-EMA(莊1,21);
莊3:= EMA(莊2,2);
莊:=cross(莊2,莊3);
FILLRGN(莊2,莊3,莊2>莊3,RGB(250,100,0),莊2<莊3,RGB(0,155,0));
{智勇出擊}
F:=100*(C-REF(C,1))/REF(C,1);
S1:=IF(C S2:=IF(C A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(A1 AND A2 ,0,2.5,3,0),COLORGREEN;
STICKLINE(A1 AND A2 ,0,1,3,0),COLORBLUE;
STICKLINE(A1 AND A2 AND A3,0,2,3,0),COLORYELLOW;
STICKLINE(A1 AND A2 AND A3,0,1.5,3,0),COLORFF00FF;
STICKLINE(A1 AND A2 AND A3,0,1,3,0),COLORBLUE;
DRAWTEXT(A3=1,1.8,’ 長(zhǎng)攻!’),COLORYELLOW;
智勇出擊: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1) (3,6),2),COLORWHITE,LINETHICK2;
DRAWTEXT(智勇出擊=1,0.8,’突襲!’),COLORWHITE;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。