以前我還在跑新聞的時候,市場有些老師父常會突然吐出一句經驗之談,我印象很深刻的是,民國79年指數跌到五千點以下時,我覺得股價跟先前相比,實在太便宜,所以每天早上都試著搶反彈,但最常見的就是今天追進去,明天開盤就套了
後來我就問那些深經百戰的老師父,到底何時才能進場?
老師父悠悠的跟我說,如果那些績優股能連兩天走強,你再試看看
,如果今天最強的,就是明天最弱的,那就代表進場的都只是想搶反彈的,今天追明天就想要賣,而且一漲就沒有人想追,代表市場多方意志很脆弱
老師父的這番話我一直記到今天
所以當XS可以自訂指標時,我就寫了一個續強力指標,來作為研判大盤多空方向的工具
這個指標的寫法是去計算指標股中,有那些股票昨天轉強後今天仍能收紅,然後取15天的移動平均
我寫的腳本如下:
array:lead[100](0); lead[1]=GetSymbolField("1102.tw","收盤價","D");//台泥 lead[2]=GetSymbolField("2317.tw","收盤價","D");//鴻海 lead[3]=GetSymbolField("1216.tw","收盤價","D");//統一 lead[4]=GetSymbolField("1301.tw","收盤價","D");//台塑 lead[5]=GetSymbolField("1304.tw","收盤價","D");//台聚 lead[6]=GetSymbolField("1312.tw","收盤價","D");//國喬 lead[7]=GetSymbolField("1326.tw","收盤價","D");//台化 lead[8]=GetSymbolField("1455.tw","收盤價","D");//集盛 lead[9]=GetSymbolField("1476.tw","收盤價","D");//儒鴻 lead[10]=GetSymbolField("1477.tw","收盤價","D");//聚陽 lead[11]=GetSymbolField("1513.tw","收盤價","D");//中興電 lead[12]=GetSymbolField("1515.tw","收盤價","D");//力山 lead[13]=GetSymbolField("1521.tw","收盤價","D");//大億 lead[14]=GetSymbolField("1527.tw","收盤價","D");//鑽全 lead[15]=GetSymbolField("1560.tw","收盤價","D");//中砂 lead[16]=GetSymbolField("1565.tw","收盤價","D");//精華 lead[17]=GetSymbolField("1582.tw","收盤價","D");//信錦 lead[18]=GetSymbolField("1605.tw","收盤價","D");//華新 lead[19]=GetSymbolField("1717.tw","收盤價","D");//長興 lead[20]=GetSymbolField("1723.tw","收盤價","D");//中碳 lead[21]=GetSymbolField("1726.tw","收盤價","D");//永記 lead[22]=GetSymbolField("1736.tw","收盤價","D");//喬山 lead[23]=GetSymbolField("1773.tw","收盤價","D");//勝一 lead[24]=GetSymbolField("1795.tw","收盤價","D");//美時 lead[25]=GetSymbolField("1907.tw","收盤價","D");//永豊餘 lead[26]=GetSymbolField("2002.tw","收盤價","D");//中鋼 lead[27]=GetSymbolField("2006.tw","收盤價","D");//東鋼 lead[28]=GetSymbolField("2015.tw","收盤價","D");//豊興 lead[29]=GetSymbolField("2029.tw","收盤價","D");//盛餘 lead[30]=GetSymbolField("2027.tw","收盤價","D");//大成鋼 lead[31]=GetSymbolField("2031.tw","收盤價","D");//新光鋼 lead[32]=GetSymbolField("2049.tw","收盤價","D");//上銀 lead[33]=GetSymbolField("2059.tw","收盤價","D");//川湖 lead[34]=GetSymbolField("2103.tw","收盤價","D");//台橡 lead[35]=GetSymbolField("2105.tw","收盤價","D");//正新 lead[36]=GetSymbolField("2204.tw","收盤價","D");//中華車 lead[37]=GetSymbolField("2207.tw","收盤價","D");//和泰車 lead[38]=GetSymbolField("2231.tw","收盤價","D");//為升 lead[39]=GetSymbolField("2233.tw","收盤價","D");//宇隆 lead[40]=GetSymbolField("2301.tw","收盤價","D");//光寶 lead[41]=GetSymbolField("2303.tw","收盤價","D");//聯電 lead[42]=GetSymbolField("2308.tw","收盤價","D");//台達電 lead[43]=GetSymbolField("2313.tw","收盤價","D");//華通 lead[44]=GetSymbolField("2324.tw","收盤價","D");//仁寶 lead[45]=GetSymbolField("2327.tw","收盤價","D");//國巨 lead[46]=GetSymbolField("2330.tw","收盤價","D");//台積電 lead[47]=GetSymbolField("2337.tw","收盤價","D");//旺宏 lead[48]=GetSymbolField("2344.tw","收盤價","D");//華邦電 lead[49]=GetSymbolField("2345.tw","收盤價","D");//智邦 lead[50]=GetSymbolField("2347.tw","收盤價","D");//聯強 lead[51]=GetSymbolField("2352.tw","收盤價","D");//佳世達 lead[52]=GetSymbolField("2353.tw","收盤價","D");//宏碁 lead[53]=GetSymbolField("2354.tw","收盤價","D");//鴻準 lead[54]=GetSymbolField("2357.tw","收盤價","D");//華碩 lead[55]=GetSymbolField("2368.tw","收盤價","D");//金像電 lead[56]=GetSymbolField("2376.tw","收盤價","D");//技嘉 lead[57]=GetSymbolField("2377.tw","收盤價","D");//微星 lead[58]=GetSymbolField("2379.tw","收盤價","D");//瑞昱 lead[59]=GetSymbolField("2382.tw","收盤價","D");//廣達 lead[60]=GetSymbolField("2383.tw","收盤價","D");//台光電 lead[61]=GetSymbolField("2385.tw","收盤價","D");//群光 lead[62]=GetSymbolField("2393.tw","收盤價","D");//億光 lead[63]=GetSymbolField("2395.tw","收盤價","D");//研華 lead[64]=GetSymbolField("2408.tw","收盤價","D");//南亞科 lead[65]=GetSymbolField("2409.tw","收盤價","D");//友達 lead[66]=GetSymbolField("2439.tw","收盤價","D");//美律 lead[67]=GetSymbolField("2449.tw","收盤價","D");//京元電 lead[68]=GetSymbolField("2454.tw","收盤價","D");//聯發科 lead[69]=GetSymbolField("2603.tw","收盤價","D");//長榮 lead[70]=GetSymbolField("2606.tw","收盤價","D");//裕民 lead[71]=GetSymbolField("2610.tw","收盤價","D");//華航 lead[72]=GetSymbolField("2615.tw","收盤價","D");//萬海 lead[73]=GetSymbolField("2707.tw","收盤價","D");//晶華 lead[74]=GetSymbolField("2729.tw","收盤價","D");//瓦城 lead[75]=GetSymbolField("2731.tw","收盤價","D");//雄獅 lead[76]=GetSymbolField("2912.tw","收盤價","D");//統一超 lead[77]=GetSymbolField("3008.tw","收盤價","D");//大立光 lead[78]=GetSymbolField("3034.tw","收盤價","D");//聯詠 lead[79]=GetSymbolField("3037.tw","收盤價","D");//欣興 lead[80]=GetSymbolField("3042.tw","收盤價","D");//晶技 lead[81]=GetSymbolField("3130.tw","收盤價","D");//104 lead[82]=GetSymbolField("3231.tw","收盤價","D");//緯創 lead[83]=GetSymbolField("3406.tw","收盤價","D");//玉晶光 lead[84]=GetSymbolField("3481.tw","收盤價","D");//群創 lead[85]=GetSymbolField("3576.tw","收盤價","D");//聯合再生 lead[86]=GetSymbolField("3665.tw","收盤價","D");//貿聯 lead[87]=GetSymbolField("3702.tw","收盤價","D");//大聯大 lead[88]=GetSymbolField("3707.tw","收盤價","D");//漢磊 lead[89]=GetSymbolField("3708.tw","收盤價","D");//上緯 lead[90]=GetSymbolField("3711.tw","收盤價","D");//日月光 lead[91]=GetSymbolField("3714.tw","收盤價","D");//富采 lead[92]=GetSymbolField("4438.tw","收盤價","D");//廣越 lead[93]=GetSymbolField("5434.tw","收盤價","D");//崇越 lead[94]=GetSymbolField("6269.tw","收盤價","D");//台郡 lead[95]=GetSymbolField("6285.tw","收盤價","D");//啟碁 lead[96]=GetSymbolField("6505.tw","收盤價","D");//台塑化 lead[97]=GetSymbolField("9910.tw","收盤價","D");//豊泰 lead[98]=GetSymbolField("9921.tw","收盤價","D");//巨大 lead[99]=GetSymbolField("8299.tw","收盤價","D");//群聯 lead[100]=GetSymbolField("8086.tw","收盤價","D");//宏捷科 variable:i(0),count(0); count=0; for i=1 to 100 begin if lead[i]>=lead[i][1]*1.01 and lead[i][1]>=lead[i][2]*1.03 //前一日漲超過2.5%而今日仍能續漲超過1% then count=count+1; end; plot1(average(count,15),"續強指標");
用這個指標跟加權指數畫出來的對照圖如下
大家可以看一下,我是覺得還蠻具參考價值的
整理一下,截到目前為止,一共跟大家介紹了
以及今天的續強力指標
我一向是覺得多算勝,少算不勝,所以在研判大盤時,比較不會使用唯一的指標作決策,而是從各個面相來研判,這些自訂指標就是我在研判時用的工具
每天很快的把這些指標跟大盤的連動關係瞄一下,如果多數指標都呈現多方訊號,就會比較大膽的加碼,如果指標訊號有的偏多,有的偏空,就會再看一下