【同花順】笑到最后指標(biāo)公式
攻城獅 2015.12.01 15:28
N:=9;
VAR1:=(C-REF(C,1))/REF(C,1);
VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
個(gè)股:=EMA(SUM(VAR1,20),5);
大盤(pán):=EMA(SUM(VAR2,20),5);
領(lǐng)漲:=(個(gè)股-大盤(pán))>=0;
Var3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
Var4:=SMA(Var3,72,1);
Var5:=SMA(Var4,34,1);
中線(xiàn)趨勢(shì):=3*Var4-2*Var5;
中線(xiàn)趨勢(shì)升:=(中線(xiàn)趨勢(shì)-REF(中線(xiàn)趨勢(shì),1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
STICKLINE(均五升 AND 均十升 AND 中線(xiàn)趨勢(shì)升,0+0.5,0-0.5,6,1),colorffff00,linethick4;
強(qiáng)勢(shì):IF(均五升 AND 均十升 AND 中線(xiàn)趨勢(shì)升 AND 領(lǐng)漲,4,0),colorff99ff;
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,n);
VAR8:=HHV(H,n);
操作:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,linethick0,colorred;
趨勢(shì):EMA(0.618*REF(操作,1)+0.382*操作,3),colorffff00,linethick2;
STICKLINE(操作>趨勢(shì) AND 操作>=REF(操作,1),操作+5,趨勢(shì)-1,3.5,0),colorred,linethick2;
STICKLINE(操作>=趨勢(shì),趨勢(shì),趨勢(shì),3.5,0),coloryellow,linethick2;
STICKLINE(操作<趨勢(shì),趨勢(shì)+0.5,趨勢(shì)-0.5,3.5,0),colorffff00,linethick2;
STICKLINE(強(qiáng)勢(shì)=4,操作+6,趨勢(shì)-1,4,0),colorff99ff;
強(qiáng)弱界:0,colorffff00;
STICKLINE(操作>=趨勢(shì) AND 均五升 AND 均十升 AND 中線(xiàn)趨勢(shì)升,趨勢(shì)-3,趨勢(shì)-7,4,0),color64A0E6;
運(yùn)動(dòng):=IF(操作>=趨勢(shì) AND 均五升 AND 均十升 AND 中線(xiàn)趨勢(shì)升 AND 趨勢(shì)<0,1,0);
買(mǎi)進(jìn):IF(運(yùn)動(dòng)=1 AND COUNT(運(yùn)動(dòng)=1,5)=1,8,0),colorred,linethick1;
DRAWTEXT(買(mǎi)進(jìn)=8,操作,’買(mǎi)進(jìn)’),colorcc33cc;
//{m.chiang1015.com 概念股網(wǎng)_最新股票指標(biāo)公式}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
準(zhǔn)備:STICKLINE(乖離<-6 AND 乖離>=-12,-6,0,6,1 ),COLOR33ffcc;
抄底一:IF(乖離<-12 AND 乖離>=-18,-12,0),COLOR33cccc,STICK;
STICKLINE(乖離<-12 AND 乖離>=-18,-12,0,6,0) ,COLOR33cccc;
抄底二:IF(乖離<-18,-18,0),COLOR3399cc,STICK;
STICKLINE(乖離<-18,-18,0,6 ,0) ,COLOR3399cc;
抄底:IF(買(mǎi)進(jìn)=8 AND COUNT(乖離<-12,10)>=1,10,0),linethick0,colorred;
STICKLINE(抄底=10,10,0,10,1),colorred;
DRAWTEXT(抄底=10,10,’←抄底’),color00ff00;
DRAWTEXT(CROSS(操作,趨勢(shì)) AND (操作>-30),操作,’▲’),colorred;
DRAWTEXT(CROSS(趨勢(shì),操作) AND (操作>-20),操作,’▼’ ),Color00FF00;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。