【大智慧】自由買賣K主圖指標(biāo)公式
攻城獅 2015.12.24 06:36
P1:=5;P2:=10;P4:=30;N:=24;
多頭線:EMA(C,1),COLORYELLOW;
空頭線:EMA(C,5),COLOR00FF00;
均衡線:EMA(空頭線,5),COLORWHITE;
varF1:=COUNT(CROSS(多頭線,均衡線),2)=1;
varF2:=COUNT(CROSS(空頭線,均衡線),2)=1;
ZAI:=FILTER(varF1 AND varF2,2);
DRAWTEXT(ZAI,均衡線*0.98,’ 主升行情’),color00ff00;
mtm:=close-ref(close,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
dy:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);
lc:=ref(close,1);
DRAWTEXTABS(5,5,’概念股網(wǎng) m.chiang1015.com’),linethick1,COLOR00EEff;
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
VAR1:=(100 – ((90 * (HHV(HIGH,21) – CLOSE)) / (HHV(HIGH,21) – LLV(LOW,21))));VAR2:=(100 – ((90 * (HHV(HIGH,21) – CLOSE)) / (HHV(HIGH,21) – LLV(LOW,21))));VAR3:=(100 – MA(((100 * (HHV(HIGH,6) – CLOSE)) / (HHV(HIGH,6) – LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),’買 ‘),color4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),’賣 ‘),colorFFFF34;
能量線:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));
上開:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上開+上高+上低)/3;
生命線:ema(c,n), LINETHICK3;{24日指數(shù)平滑均價,24日生命線是真正大資金運作的主要參考和支撐線}
A:=ref(生命線,24);
VA1:=EMA(上收,8);
VA2:=EMA(上收,28);
DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,’快走’),COLORYELLOW;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。