我先前寫過不少大跌後抄底的腳本,這次武漢肺炎所帶來的急跌,朋友們最想知道的就是跌下來要買那一檔? 我想整理這些腳本,找出其中勝率較高的,來跟大家介紹。
一,大跌後的主力回頭收集
這個腳本的想法是如果股價這二十天到三十天有一定的跌幅,但在這段時間內,分公司賣出家數愈來愈多,分公司買進家數愈來愈少,代表有特定買盤趁著大跌在默默吸納籌碼。
我寫的腳本如下
1input:period(20); 2value1=GetField("分公司賣出家數")[1]; 3value2=GetField("分公司買進家數")[1]; 4 5if linearregslope(value1,period)>0 6//賣出的家數愈來愈多 7and linearregslope(value2,period)<0 8//買進的家數愈來愈少 9and 10close*1.05<close[period] 11//過去一段時間股價在跌 12and close*1.25<close[30] 13 14then ret=1;
二,大跌後的低檔五連陽
這個策略是去尋找長期下跌,近期跌勢加遽,但最近五天收盤都大於開盤的股票
對應的腳本如下
1if trueall(close>open,5) 2and close*1.4<close[90] 3and close*1.2<close[20] 4then ret=1;
三,大跌後的價量背離
這個策略是去尋找大跌且近期急跌後,近十個交易日價量背離的股票
1input:period(10); 2input:times(5); 3if close[1]*1.4<close[90] 4and close*1.2<close[30] 5and countif(c>c[1]xor v>v[1],period) 6>=times 7and close=highest(close,period) 8then ret=1;
四,大跌後的長黑後長紅
這個腳本是去尋找那些大跌之後,加速趕底後,出現長紅的股票
1if close*1.4<close[90] 2and close*1.2<close[20] 3then begin 4if close[1]*1.05<close[2] 5and close>1.05*close[1] 6then ret=1; 7end;
五,大跌後出現長下影線
這是去尋找大跌後,近三天出現至少一根長下影線的股票
1input: Percent(1.5,"下影線佔股價絕對百分比"); 2settotalbar(5); 3condition1 = (minlist(open,close)-Low) > absvalue(open-close)*3; 4//下影線的長度是實體的三倍以上 5condition2 = minlist(open, close) > low* (100 + Percent)/100; 6if countif( condition1 and condition2, 5)>=1 7and close[20]> close*1.25 8and close[90]>close*1.4 9then ret=1;
六,大跌後的急拉
這個腳本是去尋找大跌且股價很久沒有上漲超過6%的股票
1value1=barslast(close>=close[1]*1.06); 2if value1[1]>50 3//超過50天沒有單日上漲超過6% 4and value1=0 5//今天上漲超過6% 6and average(volume,100)>500 7and volume>1000 8and close[1]*1.25<close[50] 9//過去50天跌幅超過25% 10then ret=1;
七,大跌後的第一次突破月線
這個腳本是股價大跌後,去尋找股價離低點沒有很遠,且股價近期以來第一次突破月線的標的
1input:period(90,"計算區間"); 2 3value1=highest(high,period); 4value2=lowest(low,period); 5if value2*1.3<value1 6and close<value2*1.07 7and barslast(close cross over average(close,22))=0 8and barslast(close cross over average(close,22))[1]>30 9 10then ret=1;
以上這七個策略的勝率都接近六成,大家也可以根據這些樣本, 發展出自己的大跌後對應策略,祝大家在驚濤中都能乘風而行。
推荐碼@XQ8899