【大智慧】持股清倉主圖指標公式
攻城獅 2015.11.25 17:20
1,同時出現(xiàn)黃色方框和紅色柱線,買入;
2,黃色方框和黃色柱線,持股;
3黃色方框消失,減倉;
4黃色柱線消失,清倉;
5綠色區(qū)域,持幣;va:=ema(c,2);va1:=ema(ref(c,3),5);
j:=sum(AMOUNT/100,2)/sum(v,2);
vok:=if(cross(va,va1),1,0);
vok1:=if(ref(c,1)ref(c,1) and l>ref(l,1) and c>ref(c,1)or ref(c,1)ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0);
vsj1:=BARSLAST(vok=1 or vok1=1);
mma2:sum(AMOUNT/100,2)/sum(vol,2),colorred,LINETHICK0;
zs:if(vok=1 or vok1=1,l,ref(l,vsj1)),colorred,LINETHICK3;
多:EMA(C,3),COLORYELLOW;
空:EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),COLORWHITE;
中:HHV(MA(H,13),13),Colorgreen,LINETHICK1;
Var4a:=(LOW+HIGH+CLOSE)/3;
操作:MA(Var4a,5),colorred,linethick2;
拉升:=HHV(操作,13);
拉升買:HHV(操作,13)*1,coloryellow,linethick0;
強弱分界:eMA(CLOSE,60),Color438200,LINETHICK3;
f0:ema(c,20),linethick0;
f1:=sma(f0,3,1);
f2:=sma(f0,5,1);
drawicon(f0>f2,f2,10);
STICKLINE(拉升買,拉升買+0.05,拉升買,3,0),colorgreen,linethick2;
STICKLINE(操作=拉升買,操作,操作+0.05,3,0),colorred,linethick3;
STICKLINE(操作<拉升買,操作,拉升買,6,1),COLORgreen;
STICKLINE(中>拉升買,拉升,拉升+0.05,6,1),colorgreen;
STICKLINE(拉升>ref(拉升,1),拉升,拉升*1.02,3,0),coloryellow,linethick4;
STICKLINE(F0STICKLINE(F0 STICKLINE(操作=拉升買 and c>拉升買,操作,zs,3,0),colorred,linethick1;
買入基礎(chǔ):=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);
VAR1:=EMA(INDEXC,5);
VAR2:=EMA(INDEXC,10);
VAR3:=EMA(INDEXC,20);
VAR4:=VAR1>=REF(VAR1,1) AND 買入基礎(chǔ);
VAR5:=VAR2>=REF(VAR2,1) AND 買入基礎(chǔ);
VAR6:=VAR3>=REF(VAR3,1) AND 買入基礎(chǔ);
VAR7:=EMA(INDEXV,5);
VAR8:=EMA(INDEXV,10);
VAR9:=EMA(INDEXV,20);
VAR10:=VAR7>=REF(VAR7,1) AND 買入基礎(chǔ);
VAR11:=VAR8>=REF(VAR8,1) AND 買入基礎(chǔ);
VAR12:=VAR9>=REF(VAR9,1) AND 買入基礎(chǔ);
gg:=abs(o/f0-1);
STICKLINE(VAR4 and VAR5 and VAR6 and VAR10 and VAR11 and VAR12 and 買入基礎(chǔ) and gg<0.05 and 操作>ref(操作,1),操作,操作*1.03,6,0),colorred,linethick1;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。