2008-06-09 20:39:32 公式來自于號(hào)稱“可確保大家一年收益翻兩番”的易水晶龍雅虎公文包,易水江山股票智能決策系統(tǒng)股神0號(hào)選股公式組,呵呵!大家都開開眼!
哀兵必勝 input:N1(14,1,100),N2(7,1,100),M1(60,1,200),M2(22,1,100); VAR1:=REF(CLOSE,1); VAR2:=((SMA(MAX((CLOSE - VAR1),0),N1,1) / SMA(ABS((CLOSE - VAR1)),N1,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),(N1 + N2),1) / SMA(ABS((CLOSE - VAR1)),(N1 + N2),1)) * 100); VAR4:=((100 * (MA(CLOSE,N1) - CLOSE)) / MA(CLOSE,N1)); VAR5:=((100 * (MA(CLOSE,(N1 + N2)) - CLOSE)) / MA(CLOSE,(N1 + N2))); 哀兵:IF((((((VAR2 + VAR3) < M1) AND VAR4) AND (VAR5 > M2)) AND (BARSCOUNT(CLOSE) > (N1 + N2))),100,0); ------------------------------------------------------------------------- 百無(wú)一失 input:N1(27,1,100),N2(16,1,100); VAR1:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR2:=(MA(VOL,2) / MA(VOL,10)); VAR3:=(VOL / CAPITAL); VAR4:=((((0.007 * VAR1) - (0.007 * VAR2)) - (0.568 * VAR3)) - 0.01); VAR5:=((((0.002 * VAR1) - (0.012 * VAR2)) + (1.746 * VAR3)) - 0.007); VAR6:=(((((0 - 0) * VAR1) + (0.047 * VAR2)) - (0.573 * VAR3)) - 0.055); 百勝:IF(((((((0 - 12.24) * VAR4) - (1 * VAR5)) + 0.321) < 0) AND (((MA(CLOSE,N1) - CLOSE) / MA(CLOSE,N1)) > (N2 / 100))),100,0); ---------------------------------------------------------------------------- 別有洞天 input:M1(25,1,100),M2(8,1,100),M3(3,1,100); VAR1:=((VOL / CAPITAL) * 100); VAR2:=HHVBARS(HIGH,50); VAR3:=(((REF(OPEN,VAR2) - CLOSE) / REF(OPEN,VAR2)) * 100); VAR4:=(REF(CLOSE,2) * 0.865); VAR5:=(REF(CLOSE,13) * 0.772); VAR6:=MIN(VAR4,VAR5); 洞天:IF((((((CLOSE - VAR6) / CLOSE) < (M3 / 100)) AND (VAR3 > M1)) AND (SUM(VAR1,5) < M2)),100,0); --------------------------------------------------------------------------- 財(cái)神之底 input:N1(6,1,100),N2(22,1,100); VAR1:=((((MA(CLOSE,5) - CLOSE) / MA(CLOSE,5)) * 100) > N1); VAR2:=(EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 1000),3) < N2); 抄底:IF((VAR1 AND VAR2),100,0); ---------------------------------------------------------------------------- 抄底之神 input:N1(5,1,100),N2(32,1,100),N3(10,1,100); VAR1:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR2:=(((REF(OPEN,30) - CLOSE) / REF(OPEN,30)) * 100); VAR3:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100); VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1); 底神:IF((((VAR1 > N1) AND (REF(VAR2,1) > N2)) AND (REF(VAR5,1) < N3)),100,0); --------------------------------------------------------------------------- 超絕之底 VAR1:=((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)); VAR2:=((((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34))) + 100); VAR3:=((((0 - 100) * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50))) + 100); VAR4:=((((0 - 100) * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70))) + 100); VAR5:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5); VAR6:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5); VAR7:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5); VAR8:=((((((VAR2 + VAR3) + VAR4) + VAR5) + VAR6) + VAR7) / 6); VAR9:=EMA(VAR8,3); VARA:=ABS((VAR5 - VAR7)); VARB:=((VAR8 + VARA) / 2); VARC:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50); VARD:=(VARC + VARB); VARE:=((VAR1 > 0) AND (VARD < 0)); VARF:=((((VARB < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)); VAR10:=(REF(CLOSE,2) * 0.865); VAR11:=(REF(CLOSE,13) * 0.772); VAR12:=MIN(VAR10,VAR11); VAR13:=(((CLOSE - VAR12) / CLOSE) < 0.03); 底部:IF(VAR13 AND (VARF OR VAR1 OR VARE),100,0); ---------------------------------------------------------------------- 底部神探 input:N1(30,1,100),N2(30,1,100),N3(17,1,100),N4(43,1,100); VAR1:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR2:=(EMA(WINNER(CLOSE),3) * 100); VAR3:=(((REF(CLOSE,N1) - CLOSE) / REF(CLOSE,N1)) * 100); VAR4:=((10 * VOL) / MA(VOL,250)); 神探:IF(((((VAR1 > VAR2) AND (REF(VAR3,1) > N2)) AND (REF(VAR4,1) < N3)) AND (REF(VAR4,1) > (N4 / 10))),100,0); ---------------------------------------------------------------------- 底部追漲 input:N1(5,1,100),N2(50,1,100),M1(25,1,100),M2(15,1,100); VAR1:=(((MA(CLOSE,(N1 + N2)) - MA(CLOSE,N1)) / MA(CLOSE,(N1 + N2))) * 100); VAR2:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 底部:IF((CROSS(VAR4,M2) AND (VAR1 > M1)),100,0); ---------------------------------------------------------------------- 滑道小心 input:N1(250,1,500),N2(20,1,100),M1(50,1,100),M2(35,1,100); VAR1:=(MA((VOL / MA(VOL,N1)),N2) < (M1 / 10)); VAR2:=((((REF(CLOSE,N2) - CLOSE) / REF(CLOSE,N2)) * 100) > M2); 底部:IF(((VAR1 AND VAR2) AND (BARSCOUNT(CLOSE) > (N1 - 1))),100,0); ---------------------------------------------------------------------- 九陰雌劍 input:N(12,1,100); VAR1:=REF(CLOSE,1); VAR2:=REF(VOL,1); VAR3:=((CLOSE - VAR1) / (CLOSE + VAR1)); VAR4:=((VOL - VAR2) / (VOL + VAR2)); VAR5:=(SUM(ABS(VAR4),N) / SUM(ABS(VAR3),N)); VAR6:=((SMA(MAX((CLOSE - VAR1),0),N,1) / SMA(ABS((CLOSE - VAR1)),N,1)) * 100); A1:=((VAR5 < 6) AND (VAR6 < 25)); A2:=((VAR5 < 7) AND (VAR6 < 30)); A3:=((VAR5 < 8) AND (VAR6 < 31)); 雌:IF((A1 OR A2 OR A3) AND BARSCOUNT(CLOSE) > 60,100,0); ---------------------------------------------------------------------- 臘梅報(bào)春 input:N1(4,0,100),N2(30,1,100),N3(19,1,100); VAR1:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR2:=(((REF(OPEN,30) - CLOSE) / REF(OPEN,30)) * 100); VAR3:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),9,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),9,1)) * 100); 臘梅:IF(VAR1 > N1 AND VAR2 > N2 AND COUNT(VAR3 < N3,10) > 1,100,0); ---------------------------------------------------------------------- 龍躍九淵 input:N1(21,1,100),N2(34,1,100),M1(25,1,100); VAR1:=(((CLOSE - MA(CLOSE,N1)) / STD(CLOSE,N1)) * 100); VAR2:=EMA(VAR1,5); VAR3:=EMA(VAR2,5); VAR4:=(((MA(CLOSE,N2) - CLOSE) / MA(CLOSE,N2)) * 100); 龍:IF(CROSS(VAR2,VAR3) AND REF(VAR4,1) > M1 AND CLOSE > REF(CLOSE,1),100,0); ---------------------------------------------------------------------- 三神臨門 input:M1(17,1,100),N1(3,1,100),M2(11,1,100); VAR1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100); VAR2:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100); VAR3:=(((CLOSE - MA(CLOSE,32)) / MA(CLOSE,32)) * 100); VAR4:=(((VAR1 + VAR2) + VAR3) / 3); VAR5:=(VOL / CAPITAL); VAR6:=(1000 * EMA(VAR5,N1)); 財(cái)氣:IF(VAR4 < - 1 * M1 AND VAR6 < M2,100,0); ---------------------------------------------------------------------- 神窺底頂 VAR1:=REF(CLOSE,1); VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100); VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48)); VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48)); 底部:IF(VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47,100,0); ---------------------------------------------------------------------- 順勢(shì)而為 input:N1(29,1,100),N2(25,1,100),M(11,1,100); VAR1:=(EMA(CLOSE,N1) - EMA(CLOSE,(N1 + N2))); VAR2:=MA(VAR1,5); 底部:IF(CROSS(VAR1,VAR2) AND REF(VAR1 * (-100) / EMA(CLOSE,N1 + N2) > M,1) AND BARSCOUNT(CLOSE) > (N1 + N2),100,0); ---------------------------------------------------------------------- 太極神功 input:N1(25,1,100),N2(20,1,100),N3(40,1,100); VAR1:=(((CLOSE - LLV(LOW,64)) / (HHV(HIGH,64) - LLV(LOW,64))) * 100); VAR2:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),18,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),18,1)) * 100); VAR3:=(((HHV(HIGH,64) - LOW) / HHV(HIGH,64)) * 100); 丹田:IF(100 * VAR1 / VAR2 < N1 AND VAR3 > N3 AND VAR2 < N2 AND VAR2 > 10 AND BARSCOUNT(CLOSE) > 63,100,0); ---------------------------------------------------------------------- 楊眉劍飛 input:N1(4,1,100),N2(3,1,100),N3(16,1,100); VAR1:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),5); VAR2:=(EMA((VOL * CLOSE),5) / EMA(VOL,5)); VAR3:=(((CLOSE - VAR2) / VAR2) * 100); VAR4:=(((MA(CLOSE,20) - CLOSE) / MA(CLOSE,20)) * 100); 劍飛:IF(VAR1 < N1 AND VAR3 < (-1) * N2 AND VAR4 > N3,100,0); ---------------------------------------------------------------------- 一柱擎天 input:N1(29,1,100),M1(29,1,100),M2(6,0,100),M3(8,0,100); VAR1:=(((REF(OPEN,N1) - CLOSE) / REF(OPEN,N1)) * 100); VAR2:=(((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 擎天:IF(REF(VAR1,1) > M1 AND CLOSE / OPEN > (1 + M2 / 100) AND REF(VAR4,1) < M3,100,0); ---------------------------------------------------------------------- 正月花開 input:M1(39,1,100),M2(23,0,100); VAR1:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL)); VAR2:=(((VAR1 - CLOSE) / VAR1) * 100); 花開:IF(REF(VAR2,1) > M1 AND VAR2 < (REF(VAR2,1) - M2 / 10),100,0); ---------------------------------------------------------------------- 莊股發(fā)力 input:N1(6,1,100),M1(15,1,100),N2(20,1,300),M2(15,1,100); VAR1:=(MA(WINNER(CLOSE),N1) * 100); VAR2:=((100 * (MA(CLOSE,N2) - CLOSE)) / MA(CLOSE,N2)); 底部:IF(CROSS(VAR1,M1 / 10) AND REF(VAR2,1) > M2 AND BARSCOUNT(CLOSE) > (N1 - 1),100,0); ---------------------------------------------------------------------- 江山勝率 input:N(30,0,1000),M(360,0,1000),M2(360,0,1000),M4(240,0,1000); VAR1:=(MA(HIGH,N) - LOW) / MA(HIGH,N)* 100; VAR2:=(SMA(HIGH,N,1) - LOW) / SMA(HIGH,N,1) * 100; VAR3:=(DMA(HIGH,MA(VOL,N) / CAPITAL) - LOW) / DMA(HIGH,MA(VOL,N) / CAPITAL) * 100; VAR4:=(COST(N) - LOW) / COST(N) * 100; VAR5:=100* (HHV(HIGH,20) - LOW) / HHV(HIGH,20); VAR6:=IF(VAR1 > 0,VAR1,0) * IF(VAR2 > 0,VAR2,0) * IF(VAR3 > 0,VAR3,0) * IF(VAR4 > 0,VAR4,0) * IF(VAR5 > 0,VAR5,0); VAR7:=100 * (VAR6 - LLV(VAR6,M)) / (HHV(VAR6,M) - LLV(VAR6,M)); VAR8:=SMA(VAR7,3,1); VAR9:=SMA(VAR8,3,1); VAR10:=((100 * (VAR9 - LLV(VAR9,M2))) / (HHV(VAR9,M2) - LLV(VAR9,M2))); 平均勝率:IF(VAR10 > 50 AND BARSCOUNT(CLOSE) > M4,VAR10,50),LINETHICK2,colorFFFF; VAR11:=3 * VAR8 - 2 * VAR9; VAR12:=100 * (VAR11 - LLV(VAR11,M2)) / (HHV(VAR11,M2) - LLV(VAR11,M2)); 江山勝率:IF(VAR12 > 50 AND BARSCOUNT(CLOSE) > M4,VAR12,50),LINETHICK2,colorFFFFFF; 100; 75; ---------------------------------------------------------------------- 江山心跳 input:N(89,2,100000),M(89,1,10000); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE - LC,0),N,1) / SMA(ABS(CLOSE - LC),N,1) * 100; VAR1:=POW((100 - RSI) * REF(WINNER(CLOSE),N) / WINNER(CLOSE),2); VAR2:=SUM(VAR1,0) / SUM(VAR1 / VAR1,0); 底部:IF(VAR1 > M * VAR2 / 2,VAR1,0),LINETHICK2,colorFF; VAR3:=POW(RSI * WINNER(CLOSE) / REF(WINNER(CLOSE),N),2); VAR4:=SUM(VAR3,0) / SUM(VAR3 / VAR3,0); 頂部:IF(VAR3 > M * VAR4 / 2,VAR3,0),LINETHICK2,colorFFFF; ---------------------------------------------------------------------- 看盤均線 input:參數(shù)(10,1,100); 五:MA(CLOSE,5); 十:MA(CLOSE,10); 二十:MA(CLOSE,20); 三十:MA(CLOSE,30); 六十:MA(CLOSE,60),LINETHICK2,colorFFFF00; 半年:MA(CLOSE,120),LINETHICK2,colorFF; 全年:MA(CLOSE,240),LINETHICK2,colorFF00FF; ZL1:=(WINNER((1.25 * COST(25))) - WINNER((0.75 * COST(25)))); ZL2:=(WINNER((1.25 * COST(50))) - WINNER((0.75 * COST(50)))); ZL3:=(WINNER((1.25 * COST(75))) - WINNER((0.75 * COST(75)))); ZL:=MAX(MAX(ZL1,ZL2),ZL3); Z1:=IF((ZL1 = ZL),COST(25),0); Z2:=IF((ZL2 = ZL),COST(50),0); Z3:=IF((ZL3 = ZL),COST(75),0); SCCB:=MAX(MAX(Z1,Z2),Z3); 市場(chǎng)成本:SCCB,LINETHICK2,colorFFFF; 趨勢(shì):FORCAST(CLOSE,120),LINETHICK2,colorFFFFFF; VAR1:=REF(SUM(CLOSE,5),4) - SUM(CLOSE,4); VAR2:=100 * (五 + 十 + 二十 - 3 * 趨勢(shì)) / 3 * 趨勢(shì); EXPLAINEX(CLOSE,'五日均線',五,2,0),colorFFFFFF; EXPLAINEX(CLOSE,'十日均線',十,2,0),colorFFFF; EXPLAINEX(CLOSE,'二十日均線',二十,2,0),colorFF00FF; EXPLAINEX(CLOSE,'三十日均線',三十,2,0),colorFF00; EXPLAINEX(CLOSE,'六十日均線',六十,2,0),colorFFFF00; EXPLAINEX(CLOSE,'半年均線',半年,2,0),colorFF; EXPLAINEX(CLOSE,'全年均線',全年,2,0),colorFF00FF; EXPLAINEX(CLOSE,'市場(chǎng)成本',市場(chǎng)成本,2,0),colorFFFF; EXPLAINEX(CLOSE,'趨勢(shì)線',趨勢(shì),2,0),colorFFFFFF; EXPLAIN(100 * ABS(SCCB - REF(SCCB,1)) / REF(SCCB,1) > 2,'變盤'),colorFF; EXPLAIN(CLOSE > 趨勢(shì) AND 趨勢(shì) > REF(趨勢(shì),1),'趨勢(shì)上行,多頭市場(chǎng)'),colorFF; EXPLAIN(CLOSE < 趨勢(shì) AND 趨勢(shì) < REF(趨勢(shì),1),'趨勢(shì)下行,空頭市場(chǎng)'),colorFF00; EXPLAIN(CLOSE > 趨勢(shì) AND 趨勢(shì) < REF(趨勢(shì),1),'趨勢(shì)下行,空欲翻多'),colorFF00FF; EXPLAIN(CLOSE < 趨勢(shì) AND 趨勢(shì) > REF(趨勢(shì),1),'趨勢(shì)下行,多欲翻空'),colorFFFF00; EXPLAINEX(CLOSE,'明日五日十日線交叉點(diǎn)',VAR1,2,0),colorFF00; EXPLAIN(CLOSE > VAR1,'明日五日十日線多頭排列'),colorFF; EXPLAIN(CLOSE < VAR1,'明日五日十日線空頭排列'),colorFFFF00; EXPLAINEX(CLOSE,'易度',VAR2,2,0),colorFFFFFF; EXPLAIN(VAR2 > 0 AND REF(VAR2,1) > 0 AND VAR2 > REF(VAR2,1),'正易度上升,多頭上升趨勢(shì)'),colorFF; EXPLAIN(VAR2 > 0 AND REF(VAR2,1) > 0 AND VAR2 < REF(VAR2,1),'正易度下降,多頭調(diào)整趨勢(shì)'),colorFFFF00; EXPLAIN(VAR2 < 0 AND REF(VAR2,1) < 0 AND ABS(VAR2) > REF(ABS(VAR2),1),'負(fù)易度上升,空頭下降趨勢(shì)'),colorFFFF00; EXPLAIN(VAR2 < 0 AND REF(VAR2,1) < 0 AND ABS(VAR2) < REF(ABS(VAR2),1),'負(fù)易度下降,空頭反彈趨勢(shì)'),colorFF; EXPLAIN(CROSS(VAR2,0),'易度轉(zhuǎn)正,空翻多'),colorFF; EXPLAIN(CROSS(0,VAR2),'易度轉(zhuǎn)負(fù),多翻空'),colorFFFF00; EXPLAIN(ABS(VAR2) < 參數(shù) / 10,'易度過小,面臨變盤'),colorFF00; 用法: 1,江山損贏公式有兩個(gè): 一個(gè)是慢速損贏一個(gè)是快速損贏可為了對(duì)照使用 兩個(gè)公式可以相互補(bǔ)充 2,止損點(diǎn)對(duì)后勢(shì)的判斷 (1)在上升通道中,當(dāng)股價(jià)縮量回落到止損點(diǎn)甚至跌破止損點(diǎn)時(shí) ,往往是最佳的買入時(shí)機(jī)。 (2)在上升通道中,股價(jià)如果放量跌破止損點(diǎn),通常是行情逆轉(zhuǎn)的象征 (3)在下降通道中,一般跌破止損點(diǎn)就要出局 3,止贏點(diǎn)的應(yīng)用 (1)在下降通道中,達(dá)到止贏點(diǎn)就是出貨點(diǎn) (2)下降通道的末端向上放量突破止贏點(diǎn)為進(jìn)場(chǎng)信號(hào) 上升通道中,如果股價(jià)突破上升的止贏價(jià),也是進(jìn)場(chǎng)信號(hào) (3)上升通道中:如果止贏點(diǎn)走平,股價(jià)達(dá)到止贏點(diǎn)為出貨信號(hào) 4,走平的止贏點(diǎn)和止損點(diǎn) (1)下降通道中,止損點(diǎn)走平,此時(shí)股價(jià)多在止損點(diǎn)下方, 該線構(gòu)成強(qiáng)大的壓力 (2)上升通道中止損點(diǎn)走平,股價(jià)通常在止損點(diǎn)上方,該線 往往構(gòu)成強(qiáng)大的支撐 (3)止贏點(diǎn)走平,通常是下降的信號(hào) ---------------------------------------------------------------------- BDYS江山快損贏 input:簡(jiǎn)單(2,0,100),滑動(dòng)(2,0,100),移動(dòng)(2,0,100),加權(quán)(2,0,100); 簡(jiǎn)止損:= MA(LOW,簡(jiǎn)單); 簡(jiǎn)損:IF(簡(jiǎn)止損 > REF(簡(jiǎn)止損,1),簡(jiǎn)止損,REF(簡(jiǎn)止損,BARSLAST(簡(jiǎn)止損 > REF(簡(jiǎn)止損,1)))),LINETHICK2,colorFF; 滑止損:=EMA(LOW,滑動(dòng)); 滑損:IF(滑止損 > REF(滑止損,1),滑止損,REF(滑止損,BARSLAST(滑止損 > REF(滑止損,1)))),LINETHICK2,colorFFFF; 移止損:=SMA(LOW,移動(dòng),1); 移損:IF(移止損 > REF(移止損,1),移止損,REF(移止損,BARSLAST(移止損 > REF(移止損,1)))),LINETHICK2,colorFFFFFF; 權(quán)止損:= WMA(LOW,加權(quán)); 權(quán)損:IF(權(quán)止損 > REF(權(quán)止損,1),權(quán)止損,REF(權(quán)止損,BARSLAST(權(quán)止損 > REF(權(quán)止損,1)))),LINETHICK2,colorFF00; EXPLAINEX(c,'簡(jiǎn)止損價(jià)',簡(jiǎn)損,2,0),colorFF; EXPLAINEX(c,'滑止損價(jià)',滑損,2,0),colorFFFF; EXPLAINEX(c,'移止損價(jià)',移損,2,0),colorFFFFFF; EXPLAINEX(c,'權(quán)止損價(jià)',權(quán)損,2,0),colorFF00; EXPLAINEX(c,'平均止損',(移損 + 權(quán)損 + 滑損 + 簡(jiǎn)損) / 4,2,0),colorFF0000; EXPLAIN(CROSS((移損 + 權(quán)損 + 滑損 + 簡(jiǎn)損) / 4,CLOSE),'跌破止損價(jià)'),colorFFFF00; 簡(jiǎn)止贏:=MA(HIGH,簡(jiǎn)單); 簡(jiǎn)贏:IF(簡(jiǎn)止贏 > REF(簡(jiǎn)止贏,1),簡(jiǎn)止贏,REF(簡(jiǎn)止贏,BARSLAST(簡(jiǎn)止贏 > REF(簡(jiǎn)止贏,1)))),CROSSDOT,colorFF; 滑止贏:=EMA(HIGH,滑動(dòng)); 滑贏:IF(滑止贏 > REF(滑止贏,1),滑止贏,REF(滑止贏,BARSLAST(滑止贏 > REF(滑止贏,1)))),CROSSDOT,colorFFFF; 移止贏:=SMA(HIGH,移動(dòng),1); 移贏:IF(移止贏 > REF(移止贏,1),移止贏,REF(移止贏,BARSLAST(移止贏 > REF(移止贏,1)))),CROSSDOT,colorFFFFFF; 權(quán)止贏:=WMA(HIGH,加權(quán)); 權(quán)贏:IF(權(quán)止贏 > REF(權(quán)止贏,1),權(quán)止贏,REF(權(quán)止贏,BARSLAST(權(quán)止贏 > REF(權(quán)止贏,1)))),CROSSDOT,colorFF00; EXPLAINEX(c,'簡(jiǎn)止贏價(jià)',簡(jiǎn)贏,2,0),colorFF; EXPLAINEX(c,'滑止贏價(jià)',滑贏,2,0),colorFFFF; EXPLAINEX(c,'移止贏價(jià)',移贏,2,0),colorFFFFFF; EXPLAINEX(c,'權(quán)止贏價(jià)',權(quán)贏,2,0),colorFF00; EXPLAINEX(c,'平均止贏',(移贏 + 權(quán)贏 + 滑贏 + 簡(jiǎn)贏) / 4,2,0),colorFF0000; EXPLAIN(CROSS(CLOSE,移贏 + 權(quán)贏 + 滑贏 + 簡(jiǎn)贏) / 4,'突破止贏價(jià)'),colorFFFF00; 用法: 1,江山損贏公式有兩個(gè): 一個(gè)是慢速損贏一個(gè)是快速損贏可為了對(duì)照使用 兩個(gè)公式可以相互補(bǔ)充 2,止損點(diǎn)對(duì)后勢(shì)的判斷 (1)在上升通道中,當(dāng)股價(jià)縮量回落到止損點(diǎn)甚至跌破止損點(diǎn)時(shí) ,往往是最佳的買入時(shí)機(jī)。 (2)在上升通道中,股價(jià)如果放量跌破止損點(diǎn),通常是行情逆轉(zhuǎn)的象征 (3)在下降通道中,一般跌破止損點(diǎn)就要出局 3,止贏點(diǎn)的應(yīng)用 (1)在下降通道中,達(dá)到止贏點(diǎn)就是出貨點(diǎn) (2)下降通道的末端向上放量突破止贏點(diǎn)為進(jìn)場(chǎng)信號(hào) 上升通道中,如果股價(jià)突破上升的止贏價(jià),也是進(jìn)場(chǎng)信號(hào) (3)上升通道中:如果止贏點(diǎn)走平,股價(jià)達(dá)到止贏點(diǎn)為出貨信號(hào) 4,走平的止贏點(diǎn)和止損點(diǎn) (1)下降通道中,止損點(diǎn)走平,此時(shí)股價(jià)多在止損點(diǎn)下方, 該線構(gòu)成強(qiáng)大的壓力 (2)上升通道中止損點(diǎn)走平,股價(jià)通常在止損點(diǎn)上方,該線 往往構(gòu)成強(qiáng)大的支撐 (3)止贏點(diǎn)走平,通常是下降的信號(hào) ---------------------------------------------------------------------- BDYS江山慢損贏 input:簡(jiǎn)單(6,0,100),滑動(dòng)(6,0,100),移動(dòng)(4,0,100),加權(quán)(4,0,100);VAR0:=1; NL:=FORCAST(2 * CLOSE - HIGH,2); NH:=FORCAST(2 * CLOSE - LOW,2); 簡(jiǎn)止損:=MA(NL,簡(jiǎn)單); 簡(jiǎn)損:IF(簡(jiǎn)止損 > REF(簡(jiǎn)止損,1),簡(jiǎn)止損,REF(簡(jiǎn)止損,BARSLAST(簡(jiǎn)止損 > REF(簡(jiǎn)止損,1)))),LINETHICK2,colorFF; 滑止損:=EMA(NL,滑動(dòng)); 滑損:IF(滑止損 > REF(滑止損,1),滑止損,REF(滑止損,BARSLAST(滑止損 > REF(滑止損,1)))),LINETHICK2,colorFFFF; 移止損:=SMA(NL,移動(dòng),1); 移損:IF(移止損 > REF(移止損,1),移止損,REF(移止損,BARSLAST(移止損 > REF(移止損,1)))),LINETHICK2,colorFFFFFF; 權(quán)止損:=WMA(NL,加權(quán)); 權(quán)損:IF(權(quán)止損 > REF(權(quán)止損,1),權(quán)止損,REF(權(quán)止損,BARSLAST(權(quán)止損 > REF(權(quán)止損,1)))),LINETHICK2,colorFF00; EXPLAINEX(c,'簡(jiǎn)止損價(jià)',簡(jiǎn)損,2,0),colorFF; EXPLAINEX(c,'滑止損價(jià)',滑損,2,0),colorFFFF; EXPLAINEX(c,'移止損價(jià)',移損,2,0),colorFFFFFF; EXPLAINEX(c,'權(quán)止損價(jià)',權(quán)損,2,0),colorFF00; EXPLAINEX(c,'平均止損',(移損 + 權(quán)損 + 滑損 + 簡(jiǎn)損) / 4,2,0),colorFF0000; EXPLAIN(CROSS((移損 + 權(quán)損 + 滑損 + 簡(jiǎn)損) / 4,CLOSE),'跌破止損價(jià)'),colorFFFF00; 簡(jiǎn)止贏:=MA(NH,簡(jiǎn)單); 簡(jiǎn)贏:IF(簡(jiǎn)止贏 > REF(簡(jiǎn)止贏,1),簡(jiǎn)止贏,REF(簡(jiǎn)止贏,BARSLAST(簡(jiǎn)止贏 > REF(簡(jiǎn)止贏,1)))),CROSSDOT,colorFF; 滑止贏:=EMA(NH,滑動(dòng)); 滑贏:IF(滑止贏 > REF(滑止贏,1),滑止贏,REF(滑止贏,BARSLAST(滑止贏 > REF(滑止贏,1)))),CROSSDOT,colorFFFF; 移止贏:=SMA(NH,移動(dòng),1); 移贏:IF(移止贏 > REF(移止贏,1),移止贏,REF(移止贏,BARSLAST(移止贏 > REF(移止贏,1)))),CROSSDOT,colorFFFFFF; 權(quán)止贏:=WMA(NH,加權(quán)); 權(quán)贏:IF(權(quán)止贏 > REF(權(quán)止贏,1),權(quán)止贏,REF(權(quán)止贏,BARSLAST(權(quán)止贏 > REF(權(quán)止贏,1)))),CROSSDOT,colorFF00; EXPLAINEX(c,'簡(jiǎn)止贏價(jià)',簡(jiǎn)贏,2,0),colorFF; EXPLAINEX(c,'滑止贏價(jià)',滑贏,2,0),colorFFFF; EXPLAINEX(c,'移止贏價(jià)',移贏,2,0),colorFFFFFF; EXPLAINEX(c,'權(quán)止贏價(jià)',權(quán)贏,2,0),colorFF00; EXPLAINEX(c,'平均止贏',(移贏 + 權(quán)贏 + 滑贏 + 簡(jiǎn)贏) / 4,2,0),colorFF0000; EXPLAIN(CROSS(CLOSE,(移贏 + 權(quán)贏 + 滑贏 + 簡(jiǎn)贏) / 4),'突破止贏價(jià)'),colorFFFF00; ---------------------------------------------------------------------- 跑道粗選 混沌爆破+多空跑道=中線黑馬: 1,必須是混沌爆破的黑馬 2,熊轉(zhuǎn)牛條件: 1)股價(jià)首先在下中軌之間橫向震蕩,下中軌收窄, 然后股價(jià)放量突破中軌。 2)中軌走平后上行 3,多空跑道突破條件 1)股價(jià)向上放量突破多空跑道 2)多空跑道向上翻轉(zhuǎn),快線上穿慢線 3)快線藏于多空跑道之內(nèi) 4)多空跑道和k線變成紅色 4,分界線走平上行 1)股價(jià)放量向上突破分界,回抽也不能達(dá)到分界線下方 2)分界線走平然后上行 3)出現(xiàn)買入信號(hào)(或笑臉)為中線見底信號(hào) input:N1(6,1,100),N2(3,1,100),N3(5,1,100); CC:=(((HIGH + LOW) + (3 * CLOSE)) / 5); VAR1:=EMA(CC,5); VAR2:=EMA(CC,13); VAR3:=EMA(CC,21); VAR4:=EMA(CC,34); HLA:=((((VAR1 + VAR2) + VAR3) + VAR4) / 4); MA0:=EMA(HLA,4); MA8:=EMA(HLA,12); MA16:=EMA(HLA,20); 快:=WMA(CC,30); 慢:=WMA(CC,60); 上:=DMA(COST(50),(VOL / SUM((CLOSE / CLOSE),0))); 下:=DMA(COST(1),(VOL / SUM((CLOSE / CLOSE),0))); MA06:=MA0 - MA16; KM:=快 - 慢; TJ1:=REF(上 - 下,1) > (上 - 下) AND REF(上 - 下,2) < REF(上 - 下,1) AND 10 * ABS(上 - 下) / 下 < N1; TJ2:=(((REF(ABS(MA06),1) < REF(ABS(MA06),2)) AND (REF(ABS(MA06),1) > ABS(MA06))) AND (((100 * ABS(MA06)) / MA8) < N2)); TJ3:=(((REF(ABS(KM),1) < REF(ABS(KM),2)) AND (REF(ABS(KM),1) > ABS(KM))) AND (((100 * ABS(KM)) / 慢) < N3)); TJ4:=(CLOSE > FORCAST(CLOSE,120)); TJ5:=CROSS(CLOSE,MA8); 粗選:IF(TJ1 AND TJ2 AND TJ2 AND TJ3 AND TJ4 AND TJ5,100,0); ---------------------------------------------------------------------- 五級(jí)變盤 變盤點(diǎn)或者是重要的高點(diǎn),或者為重要的低點(diǎn) 級(jí)別越高的變盤預(yù)示意義越大 各級(jí)變盤點(diǎn)越聚焦于某區(qū)域,該區(qū)域的變盤預(yù)示意義越大 T1:=SUMBARS(VOL,CAPITAL); H1:=FILTER(HHV(HIGH,T1) = REF(HIGH,T1),3); L1:=FILTER(LLV(LOW,T1) = REF(LOW,T1),3); STICKLINE(H1 OR L1,0,20,2,1),colorFFFFFF; DRAWTEXT(H1 OR L1,10,'一級(jí)變盤'),colorFFFFFF; T2:=SUMBARS(VOL,2 * CAPITAL); H2:=FILTER(HHV(HIGH,T2) = REF(HIGH,T2),3); L2:=FILTER(LLV(LOW,T2) = REF(LOW,T2),3); STICKLINE(H2 OR L2,20,40,2,1),colorFF00; DRAWTEXT(H2 OR L2,30,'二級(jí)變盤'),colorFF00; T3:=SUMBARS(VOL,3 * CAPITAL); H3:=FILTER(HHV(HIGH,T3) = REF(HIGH,T3),3); L3:=FILTER(LLV(LOW,T3) = REF(LOW,T3),3); STICKLINE(H3 OR L3,40,60,2,1),colorFFFF; DRAWTEXT(H3 OR L3,50,'三級(jí)變盤'),colorFFFF; T4:=SUMBARS(VOL,4 * CAPITAL); H4:=FILTER(HHV(HIGH,T4) = REF(HIGH,T4),3); L4:=FILTER(LLV(LOW,T4) = REF(LOW,T4),3); STICKLINE(H4 OR L4,60,80,2,1),colorFF00FF; DRAWTEXT(H4 OR L4,70,'四級(jí)變盤'),colorFF00FF; T5:=SUMBARS(VOL,5 * CAPITAL); H5:=FILTER(HHV(HIGH,T5) = REF(HIGH,T5),3); L5:=FILTER(LLV(LOW,T5) = REF(LOW,T5),3); STICKLINE(H5 OR L5,80,100,2,1),colorFF; DRAWTEXT(H5 OR L5,90,'五級(jí)變盤'),colorFF; 0; 20; 40; 60; 80; 100; ---------------------------------------------------------------------- b極目銀河 MAA:=EMA(CLOSE,50); MID:=(((HIGH + LOW) + CLOSE) / 3); MD:=((SUM(MAX(0,(HIGH - REF(MID,1))),26) / SUM(MAX(0,(REF(MID,1) - LOW)),26)) * 100); MA1:=EMA(MD,13); R2:=(REF(HIGH,1) * 1.1); R3:=(HIGH * 1.1); R4:=(((R3 * VOL) + (R2 * (CAPITAL - VOL))) / CAPITAL); R5:=(REF(LOW,1) * 0.9); R6:=(LOW * 0.9); R7:=(((R6 * VOL) + (R5 * (CAPITAL - VOL))) / CAPITAL); R8:=EMA(R7,39); R9:=EMA(R4,39); VAR1:=((CLOSE / MA(CLOSE,40)) * 100); VAR2:=((CLOSE / MA(CLOSE,60)) * 100); VAR3:=(HIGH > (LOW * 1.051)); VAR4:=(VAR3 AND (COUNT(VAR3,5) > 1)); VAR5:=((VAR4 AND ((VAR1 < 76) OR (VAR2 < 74))) AND (ABS((CLOSE - OPEN)) > (0.01 * REF(CLOSE,1)))); VAR6:=IF((VAR1 > 96),96,VAR1); VAR7:=IF((VAR2 > 96),96,VAR2); VAR8:=IF((VAR2 > 96),96,VAR2); VAR9:=IF((VAR1 > 105),105,VAR1); VARC:=(HHV(HIGH,9) - LLV(LOW,9)); VARD:=(HHV(HIGH,9) - CLOSE); VARE:=(CLOSE - LLV(LOW,9)); VARF:=(((VARD / VARC) * 100) - 70); VAR10:=(((CLOSE - LLV(LOW,60)) / (HHV(HIGH,60) - LLV(LOW,60))) * 100); VAR11:=((((2 * CLOSE) + HIGH) + LOW) / 4); VAR12:=SMA(((VARE / VARC) * 100),3,1); VAR13:=LLV(LOW,34); VAR14:=(SMA(VAR12,3,1) - SMA(VARF,9,1)); VAR15:=IF((VAR14 > 100),(VAR14 - 100),0); VAR16:=HHV(HIGH,34); VAR17:=EMA((((VAR11 - VAR13) / (VAR16 - VAR13)) * 100),8); VAR18:=EMA(VAR17,5); RED:=(((HIGH + LOW) + (CLOSE * 2)) / 4); HYS:=LLV(LOW,34); VR3:=HHV(HIGH,34); 波段:=EMA((((RED - HYS) / (VR3 - HYS)) * 100),9); B1:=EMA(((0.667 * REF(波段,1)) + (0.333 * 波段)),2); STICKLINE((B1 > 80),OPEN,CLOSE,8,0),,colorFFFF; STICKLINE((波段 < 20),OPEN,CLOSE,8,0),,colorFF0000; STICKLINE((波段 > B1),OPEN,CLOSE,8,0),,colorFF00; VAR19:=EMA(CLOSE,12); VAR1A:=EMA(CLOSE,50); VAR1B:=(((CLOSE - VAR1A) * 0.039) + VAR1A); VAR1C:=(((CLOSE - VAR19) * 0.154) + VAR19); VA1:=SMA(((((CLOSE - LLV(LOW,24)) / (HHV(HIGH,24) - LLV(LOW,24))) * 200) - 105),5,1); VA2:=SMA(((((HHV(HIGH,24) - CLOSE) / (HHV(HIGH,24) - LLV(LOW,24))) * 200) - 125),5,1); 視線:(((CLOSE - MAA) * (2 / (50 + 1))) + MAA),,colorFFFF; 銀河:STICKLINE((MD >= MA1),R9,((R9 + (MD / MA1)) - 1),5,1),,colorFFFFFF; 黑洞:STICKLINE((MD < MA1),R8,((R8 + (MD / MA1)) - 1),5,0),,colorFF0000; 行星:DRAWTEXT((CROSS(104.99,VAR9) AND (VAR9 < (1 * REF(VAR9,1)))),(HIGH * 1.02),'★'),,colorFFFF; 恒星:DRAWTEXT((CROSS(VAR18,VAR17) AND (VAR18 > 74)),(HIGH * 1),'●'),,colorFF; 衛(wèi)星:DRAWTEXT(CROSS(55,VA1),R9,'☆'),,colorFFFFFF; 天穹:DRAWTEXT(CROSS(VA1,VA2),R9,'←穹'),,colorFFFFFF; 聚焦:DRAWTEXT(VAR5,LOW,'⊙'),,colorFF; 鏡筒:DRAWTEXT((CROSS(VAR8,84) AND (VAR8 > (1 * REF(VAR8,1)))),(LOW * 0.98),'■'),,colorFF; 支架:DRAWTEXT((CROSS(VAR8,73) AND (VAR8 > (1 * REF(VAR8,1)))),(LOW * 0.96),'▲'),,colorFFFF; 調(diào)焦:DRAWTEXT(((CROSS(VAR18,16) AND BETWEEN(MA(CLOSE,3),MA(CLOSE,12),MA(CLOSE,24))) AND (CLOSE > MA(CLOSE,12))),(OPEN * 0.98),'◎'),,colorFF; AR1:=((((HHV(HIGH,9) - CLOSE) / (HHV(HIGH,9) - LLV(LOW,9))) * 100) - 70); AR2:=(SMA(AR1,9,1) + 100); AR3:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); AR4:=SMA(AR3,3,1); AR5:=(SMA(AR4,3,1) + 100); AR6:=(AR5 - AR2); S:=IF((AR6 > 100),(AR6 - 100),0); OS:=(S - REF(S,1)); 望遠(yuǎn):DRAWTEXT((CROSS(0,OS) = 1),OPEN,'◆'),,colorFF; 注視:DRAWTEXT(CROSS(55,VA2),R8,'@-@'),,colorFFFF; |
|