【大智慧】仿紅綠K線主圖指標(biāo)公式
攻城獅 2015.11.08 22:46
ma1:ma(c,5);
ma2:ma(c,10);
ma3:MA(CLOSE,30);
STICKLINE(c>0,o,c,8,0), ColorGREEN;
STICKLINE(c>0,h,l,0.8,0) , ColorGREEN;
a:=close>ma1 and CLOSE>ma2 ;
b:=close>ma1 and CLOSEma3;
STICKLINE(a>0,o,c,8,0) , COLORred;
STICKLINE(a>0,h,l,0.8,0), COLORred;
STICKLINE(b>0,h,l,0.8,0), ColorGREEN;
STICKLINE(b>0,o,c,8,0), ColorGREEN;
IF BARSTATUS=2 and c<800 and a THEN
DRAWTEXTABS(390,26,’紅k線,當(dāng)前處于持股階段。 ‘),color0000FF,LINETHICK3;
IF BARSTATUS=2 and c<800 and cDRAWTEXTABS(390,26,’綠k線,當(dāng)前處于持幣階段。 ‘),ColorGREEN,LINETHICK3;
IF BARSTATUS=2 and c>800 and a THEN
DRAWTEXTABS(390,26,’紅k線,大盤當(dāng)前處于持股階段。 ‘),color0000FF,LINETHICK3;
IF BARSTATUS=2 and c>800 and cDRAWTEXTABS(390,26,’綠k線,大盤當(dāng)前處于持幣階段。 ‘),ColorGREEN,LINETHICK3;
{大量:=HHV(V,20 );
天數(shù):BARSLAST(v=大量),LINETHICK0;
大量收盤價:REF(C,天數(shù)),LINETHICK0;
STICKLINE( 大量收盤價 and 天數(shù)>0,大量收盤價,大量收盤價,20,0),ColorFF9900;};
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。