【同花順】吸籌買入賣出指標(biāo)公式
攻城獅 2015.11.10 22:04
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
STICKLINE(1,VAR8,0,8,1),coloryellow,NOTITLE;//用黃色8寬度空心柱畫出主力吸籌量能指數(shù)高度
DD:=VAR8>5;
主力吸籌量能指數(shù):VAR8,coloryellow;
DRAWTEXT(主力吸籌量能指數(shù),VAR8+10,VAR8);
買入:=IF((COUNT(DD,2)=2),-20,0);//如果連續(xù)2日吸籌量能>5,則返回–20,否則返回0
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);//昨日(LOW+OPEN+CLOSE+HIGH)/4
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);//最低價-VAR1的絕對值的13日[1日權(quán)重]移動平均/最低價-VAR1和0的較大值的10日[1日權(quán)重]移動平均
VAR3S:=EMA(VAR2S,10);//VAR2S的10日滑動平均
VAR4S:=LLV(LOW,38);//38日內(nèi)最低價的最低值
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);//昨日最低價<=VAR4S,返回VAR3S,否則返回0的3日平滑均價
主力進場:=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,colorblue;
洗盤:IF(VAR5S V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),colorblue;
主力進: IF(V4>=0,V4,0),COLORFF00FF;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3); VB:=(V9-VA)/2;
大盤資金進場:IF(VB>=0,VB,0),colorred;
大盤資金撤走:IF(VB<=0,VB,0),colorgreen;
VC:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
V11:=3*SMA(VC,5,1)-2*SMA(SMA(VC,5,1),3,1);
趨勢線: EMA(V11,3),linethick1,colorlicyan;
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
準(zhǔn)備現(xiàn)金:=STICKLINE(趨勢線<=13,0,8,5,0),colormagenta;
AA:=(趨勢線<=13) AND FILTER((趨勢線<=13),15);
DRAWTEXT (AA,180,’候’),colorblue;
STICKLINE(AA,175,80,1,0),colorblue;
買入股票: =STICKLINE(趨勢線<=13 AND V12>13,0,16,5,0),COLOR0099FF;
BB:= 趨勢線<=13 AND V12>13 AND FILTER((趨勢線<=13 AND V12>13),10);
DRAWICON(BB,220,1);
DRAWTEXT (BB,210,’買’),colorlired;
STICKLINE(BB,200,0,1,1),colorlired;
賣臨界:STICKLINE(趨勢線>90 AND 趨勢線>REF(趨勢線,1),95,98,15,1),colorgreen;
見頂清倉:=FILTER(趨勢線>90 AND 趨勢線 DRAWTEXT(見頂清倉,趨勢線*1.5,’逃’),coloryellow;
STICKLINE(見頂清倉,趨勢線*1.15,1,1),coloryellow;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。