【大智慧】量能異動(dòng)指標(biāo)公式
攻城獅 2015.12.02 04:15
R:=((CLOSE – LLV(LOW,9))/(HHV(HIGH,9) – LLV(LOW,9)))*(100);
K:=EMA(R,3);
D:=EMA(K,3);
一年十二倍:20,colorred;
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) – 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1:=((-((100)*(HHV(HIGH,N) – CLOSE))/(HHV(HIGH,N) – LLV(LOW,N))))*((DATE < 20070110));
VAR1A:=((-((100)*(HHV(HIGH,N) – CLOSE))/(HHV(HIGH,N) – LLV(LOW,N))) + 100)*((DATE < 20070110));
獲利盤:=(WINNER(CLOSE))*(100);
獲利線:=FORCAST(獲利盤,7);
線:=(FORCAST(VAR1A,7))*((DATE < 20070110));
滿倉:=((線 > REF(線,1)) and (線 < 25) and (COUNT((線 > REF(線,1)),5) = 1) and IF((N = 6),(獲利盤 < 60),(獲利盤 < 40)) and (COUNT((獲利線 > 20),20) > 0))*(40);
STICKLINE(滿倉,0,40,5,0),ColorRED;
DRAWTEXT(滿倉,45,’滿倉’),ColorRED;
{概念股網(wǎng)-股票公式網(wǎng)站 www.chiang1015.com}
輕倉:=IF((獲利盤 >= 60) and (線 > REF(線,1)) and (REF(線,1) < 20) and (線 < 40) and (COUNT((線 > REF(線,1)),5) = 1) and (REF(N,1) = 6),1,0);
STICKLINE(輕倉,20,D,4,1),ColorYELLOW;
DRAWTEXT(輕倉,45,’輕倉’),ColorYELLOW;
出擊:=CROSS(線,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(線 > D) or (K > D) and (D < 60)) and IF((N = 6),(獲利盤 < 70),(獲利盤 < 40)) and (COUNT((獲利線 > 20),20) > 0);
STICKLINE(出擊,0,50,3,1),ColorMAGENTA;
DRAWTEXT(出擊,55,’出擊’),colorMAGENTA;
進(jìn)一:CROSS(線,D) and (D > 30) and (D > REF(D,1)) and (D < 80);
進(jìn)二:CROSS(線,獲利線) and (D > 30) and (獲利線 > 25) and (D > REF(D,1));
低進(jìn):=IF(進(jìn)一 and (D > 獲利線),進(jìn)二,進(jìn)一);
DRAWTEXT(低進(jìn),30,’低進(jìn)’),ColorRED;
STICKLINE(低進(jìn),20,30,3,1),ColorRED;
DRAWTEXT(進(jìn)二,50,’高進(jìn)’),ColorGRAY;
STICKLINE(進(jìn)二,30,50,3,1),colorGRAY;
狂喜:=(30)*(CROSS(VAR1,(-2)));
STICKLINE(狂喜,0,20,3,1),colorRED;
DRAWTEXT(狂喜,(-5),’要漲停’),coloryellow;
狂喜過望:=(50)*((VAR1 = 0));
恐慌:=(20)*(VAR1 < -94);
STICKLINE(恐慌,0,(-20),5,0),ColorGREEN;
DRAWTEXT(恐慌,(-25),’恐慌’),ColorGREEN;
極度恐慌:=(-40)*(VAR1 = (-100));
STICKLINE(極度恐慌,0,(-40),7,1),ColorWHITE;
DRAWTEXT(極度恐慌,(-45),’極度恐慌’),ColorWHITE;
半倉:=(30)*(CROSS(VAR1,(-94)) and (COUNT(恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),(獲利盤 < 60),(獲利盤 < 40)) and (COUNT((獲利線 > 20),20) > 0));
STICKLINE(半倉,0,30,4,1),ColorWHITE;
DRAWTEXT(半倉,35,’半倉’),ColorWHITE;
加倉:=(30)*(CROSS(K,20) and (COUNT(半倉,5) > 0));
STICKLINE(加倉,0,20,6,1),ColorRED;
DRAWTEXT(加倉,25,’加倉’),ColorRED;
背離:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 > REF(VAR1,1));
DRAWICON(背離,0,1),ColorGRAY;
申明:本文為作者投稿或轉(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ú)立思考之上。