TW200945236A - A method of predicting a financial market - Google Patents

A method of predicting a financial market Download PDF

Info

Publication number
TW200945236A
TW200945236A TW97115905A TW97115905A TW200945236A TW 200945236 A TW200945236 A TW 200945236A TW 97115905 A TW97115905 A TW 97115905A TW 97115905 A TW97115905 A TW 97115905A TW 200945236 A TW200945236 A TW 200945236A
Authority
TW
Taiwan
Prior art keywords
trend
market
gray
predicting
park
Prior art date
Application number
TW97115905A
Other languages
Chinese (zh)
Inventor
Yen-Tseng Hsu
Ming-Chung Liu
Je-Rome Yeh
Hui-Fen Hung
Original Assignee
Univ Nat Taiwan Science Tech
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Univ Nat Taiwan Science Tech filed Critical Univ Nat Taiwan Science Tech
Priority to TW97115905A priority Critical patent/TW200945236A/en
Publication of TW200945236A publication Critical patent/TW200945236A/en

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A method of predicting a financial market is provided. The method uses a PARK filter to predict a financial market, combining processes of statistical analysis, fuzzy clustering and grey prediction to determine a risk level corresponding to a transaction time.

Description

200945236 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種資訊分析與預測方法,更明確的 說,本發明是一種實施於人工智慧股票趨勢分析與預測 系統中,以一種新穎的方法對於股市資訊的變化進行追 蹤分析與預測,同時提出不同風險程度的操作策略,作 為投資者進出股市之依據,以提高投資效益與降低風險。 ❹ 【先前技術】 依先前技術,評選具有投資價值的股票可以透過下 列幾個方法: 一、基本分析 基本分析法即是考慮會影響價格的各種因素來 預測市場未來走勢的方法。投資人必須觀察分析各種 可能對市場價格產生影響的政治、經濟等因素,並試 圖從商品價格背後的供給與需求關係來預測未來價 Φ 格變動的趨勢,以投資一家公司為例,其作法如下: 1. 找出欲購買股票公司沿革與產業經濟背景。 2. 估算該股票淨值盈餘與股利。 3. 估算該股票產銷情形與營運展望及財務概 況。 4. 估算該股票未來的成長性,本益比是否合理, 發放股利政策,並與市場上其它同類型標的作 比較。 5. 根據以上各項數據或說明,即可作為投資者判 斷投資股票之依據。當然基本分析不僅要考慮 5 200945236 上述因素,亦需考慮其它外在的因素,例如: 政治因素等,必須綜合種種因素最後才能決 定。在找尋影響市場的因素時,由於可能會遺 漏其它重要因素,所以在進行基本分析時,投 資者必須具有相關的財經知識,才能分析出結 果,這對於一般的投資者而言,是一個很大的 障礙。一般而言,公司的相關資訊,通常會落 後市場反應,如果投資者等到該公司公佈資訊 Φ 後,才進行分析預測,通常市場上已經反應完 畢,結果可能會造成追高殺低的情況,甚至經 濟體系結構改變或非預期之變化,都可能導致 市場供需失衡,影響價格之預測。 二、技術面分析 技術分析主要是利用圖形或量化技術指標來研 判市場商品交易之人氣或供需之情況,進而決定買賣 的時機。由於技術分析不僅可以預測價格並研判市場 _ 投資的時機,而且可作為預警之訊號,更重要的是較 基本分析簡單易懂,所以廣為一般大眾所使用,以下 將介紹在市場上常用到的技術分析之方法: 1.道氏理論(Dow Theory) 道氏理論是建立在趨勢(Trends)和形 態走勢(Patterns)之上,趨勢是由支樓線與 壓力線構成,而形態走勢則分成整理形態 (Continuation Patterns)與反轉形態 (Reversal Patterns)兩種。今天大眾所熟知的 多頭市場 (Bullish Market)、空頭市場 6 200945236 (Bearish Market)、支撑(Support)、壓力 (Resistance)、頭肩形(Head and Shoulders Formation)等等,皆是由道氏理論發展出 來。了解道氏理論分析方法後,再結合統計 學,結果衍生出現今多種的價量技術分析方 法。 2. 波浪理論(Wave Theory) 由艾略特(R. N. Elliott )於1943年提 ❹ 出,此理論認為市場價格是具有週期性與波 動性,一個完整循環走勢主要有八波,包括 五個主波段和三個回檔波,這個理論結合了 趨勢線、目標區預測及自然定律,是現今市 場常用的分析工具之一。 3. 移動平均線(Moving Average) . 移動平均線(ΜΑ)是最受廣泛使用的技 術分析工具,主要原因是其淺顯易懂、容易 ❹ 計算。由於它是以統計方法計算出一段時間 内股票平均價格,再將各點連接成一條平滑 的曲線,所以移動平均線具有平滑性、穩定 性及趨勢性等特徵。移動平均線是用來決定 買賣時機的參考,美國投資專家J0seph Granville提出的八大法則,就是針對移動平 均線的買賣時機而訂定的。 4. 成交量(V0L) 利用成交量移動平均線可判斷趨勢向上 或向下。當成交量增加時,即代表趨勢向上, 7 200945236200945236 IX. Description of the Invention: [Technical Field of the Invention] The present invention relates to an information analysis and prediction method, and more specifically, the present invention is a novel method implemented in an artificial intelligence stock trend analysis and prediction system. Track and analyze the changes in stock market information, and propose operational strategies with different levels of risk as the basis for investors to enter and exit the stock market to improve investment efficiency and reduce risks. ❹ 【Prior Art】 According to the prior art, the following methods can be selected for stocks with investment value: 1. Basic analysis The basic analysis method is to consider the various factors that will affect the price to predict the future trend of the market. Investors must observe and analyze various political and economic factors that may affect market prices, and try to predict the trend of future price changes from the supply-demand relationship behind commodity prices. For example, investing in a company is as follows. : 1. Find out the history of the company you want to buy and the economic background of the industry. 2. Estimate the net worth surplus and dividends. 3. Estimate the stock production and sales situation and operational outlook and financial overview. 4. Estimate the future growth of the stock, whether the P/E ratio is reasonable, the dividend policy, and compare it with other similar types on the market. 5. Based on the above data or instructions, it can be used as an basis for investors to judge investment stocks. Of course, the basic analysis should not only consider the above factors, but also consider other external factors, such as: political factors, etc., must be combined with various factors before final decision. When looking for factors that affect the market, because other important factors may be missed, in the basic analysis, investors must have relevant financial knowledge to analyze the results, which is a big problem for the average investor. Obstacles. Generally speaking, the company's relevant information usually lags behind the market reaction. If the investor waits until the company publishes the information Φ, it will analyze and predict it. Usually, the market has already completed the reaction, and the result may cause chasing and killing, even Changes in economic structure or unanticipated changes may lead to imbalances in market supply and demand, affecting price forecasts. Second, the technical analysis The technical analysis is mainly to use the graphical or quantitative technical indicators to study the market sentiment or supply and demand of commodity transactions, and then decide the timing of trading. Because technical analysis can not only predict the price and judge the market _ investment timing, but also can be used as a warning signal, more importantly, the basic analysis is simple and easy to understand, so it is widely used by the general public. The following will introduce the commonly used in the market. Technical analysis methods: 1. Dow Theory Dow Theory is based on Trends and Patterns. The trend is composed of branch lines and pressure lines, while the shape trend is divided into There are two types of Continuation Patterns and Reversal Patterns. The Bullish Market, the Short Market 6 200945236 (Bearish Market), Support, Pressure, Head and Shoulders Formation, etc., which are well known to the public today, are all developed by Dow Theory. come out. After understanding the Dow's theoretical analysis method, combined with statistics, the results are derived from a variety of price analysis techniques. 2. Wave Theory was proposed by RN Elliott in 1943. The theory is that market prices are cyclical and volatility. There are eight waves in a complete cycle, including five main bands. And three back-shift waves, this theory combines trend lines, target area predictions and natural laws, and is one of the commonly used analytical tools in the market today. 3. Moving Average. The moving average (ΜΑ) is the most widely used technical analysis tool, mainly because it is easy to understand and easy to calculate. Since it calculates the average stock price over a period of time by statistical methods and then joins the points into a smooth curve, the moving average has the characteristics of smoothness, stability and trend. The moving average is a reference for determining the timing of buying and selling. The eight rules proposed by US investment expert J0seph Granville are set for the timing of buying and selling mobile averages. 4. Volume (V0L) Use the volume moving average to determine whether the trend is up or down. When the volume increases, it means the trend is upward, 7 200945236

=丹^时與技術指標核㈣漲或跌。 相對強弱指標(rsi ) / RSI係利用某段時間内的股價變動情 形,預測未來價格的變動趨勢。其基本原理 為在-個正常股市中多空買賣雙方的力道必 須均衡,股價才會穩定。而RSI是計算在一 定期間内,股價上漲總幅度平均值佔總漲跌 幅總幅度平均值的比例。以6日RSI值為 例,其值若為80以上為超買,9〇以上或M 頭為賣點,20以下為超賣,1〇以下或w底 為貝點,RSI會比股價變動先出現岭或底, 能預先反映股價的漲跌趨勢,可視為大盤指 數走勢的先行指標;若當6日RSI由下往 上穿過12日RSI時,可視為買點;反之, 當6日RSI由上往下貫破12日rsi 時,可視為賣點;RSI線走勢與大盤指數走 勢呈背離現象代表大盤即將反轉。 6.隨機指標(KD) 將RSI強弱指標、移動平均線以及量能 觀念的優點予以融合之技術指標。如果行情 是一個明顯的漲:勢,會帶動K線與D線向 8 上升,如漲勢開始遲緩,則會反應到K值與 D值,使得Κ值跌破D值,此時中短期 跌勢確立;當Κ線自上往下跌破D線,且 D值在80以上(超買區)’為買出訊號; 當Κ線自下向上突破D線,且值在20以 下(超賣區)出現,為買進訊號;當Κ值大 於80,D值大於70時,表示當日收盤價 處於偏高之價格區域,即為超買狀態;當Κ 值小於20,D值小於30時,表示當日收 盤價處於偏低之價格區域,即為超賣狀態; 價格創新高或新低,而KD未有此現象,此 為背離現象,亦即為可能反轉的重要前兆。 指數平滑異同移動平均線公式(MACD ) (DIF) 係利用快速和慢速兩條指數平滑移動平 均線(EMA),以計算兩者之間的差離值 (DIF),再利用差離值與差離值平均值(DEM) 的收斂(交會)與發散(分離)的徵兆,用以研判 股市行情買進或賣出的時機,若MACD及DIF 均為正值,可視為多頭市場;MACD及DIF 均為負值,可視為空頭市場;DIF向上突破 MACD,買進訊號;DIF向下跌破MACD,賣 出訊號;DIF值由負轉正,且穿越MACD, 買進訊號;DIF值由正轉負,且突破MACD, 賣出訊號;DIF與大盤指數呈背離走勢時,若 股價連續創新低點,而DIF值並未創新低點, 200945236 =正背離』走勢,為買進時機;反之, 價連續創新高點,而DIF值# •點時,此為『負背離』走勢,為賣出二新同 在股票市場中有眾多的資訊 為賣出時機姑 標分析。其它尚古11 #較為常用之技術指 訊,投資者彳*線、週線、月線、融f、融券…等資 容易計算分析賴電腦可以很 =易t异刀析各種技術指標,但單 落後盤勢與指標純化㈣況發生, 過本發明可使ΐ二::測結果非常不準確。希望透 有智慧(αι),如此-來,不僅 情況的變動V4:;=力,還可適應股市各種 在刀析預測的領域中,灰色音 應用廣泛的預測方法,j天接型疋兩類 測,各具特色和局部性時間序列的預 杰fe-r 土 π Μ 而廷兩方法的優缺點可以互補, 灰馬可夫預_較是結合灰 與馬可夫模型優點的預測方法預測模型優點 於數據資料少並且符廣測模型較適用 需少量的數據(超過四個二可統的預測,只 只是-條平滑的指數函數曲線=其擬合函數 合較差,預測精度也較二二機性較ί的數據擬 W 4b 6^1 Φ, m ^ ^ 馬可夫拉型之對象是一個隨機 機性_大二制。’ 1',論基礎為馬可夫過程適用於數據隨 呈現^謅的夕數的時間序列都是隨著時間變化而 素的^響縫著草隨機過程’過程總會隨各種隨機因 素的衫響’繞者某—變化趨勢而有偏差或擺動,因此若採 200945236 用不同GM(1,1)模型先求得過程中的變化趨勢,再利用 馬可夫模型作轉移概率分析,這兩種方法結合起來將可提 高GM(1,1)的預測精度,並擴大GM(1,1)的應用範圍。 在股票市場中,對一般投資者而言,幾乎都是大賠小 賺,導致資金常被套牢以致週轉不靈或被迫斷頭等等。一 般投資者在買賣股票時,往往為規避風險而分散投資標 的,但又無法同時並長期的追蹤掌握自己所投資的標的, 或缺乏風險控管的能力,導致投資損失,但若將標的集中 _ 單一個股,則其投資風險也相對升高,可能一次就將所有 籌碼都輸掉。 從前述的說明可以瞭解,在股票市場中有太多的技術 指標方法存在,同時要暸解股票之基本面,例如財務狀 況、未來成長性等,還要掌握整個大環境之經濟面、政治 面等因素,這對一般的投資者而言,實在是難以掌握。股 票市場常充斥著各種流言與小道消息,往往造成投資者的 困擾,進而影響投資者做出正確的判斷,種種因素使得一 ©般投資者心中對此形成一道難以跨越之鴻溝。 在股票市場中,趨勢的判斷是最重要的,只要能掌握 趨勢就能掌握獲利的關鍵。股票市場不外乎「多頭」、「空 頭」、「盤整」三種狀態,若預測未來股票市場為「多頭」 走勢,則投資者可以進場買股票增加持股比例。反之,若 預測未來股票市場為「空頭」走勢,則投資者可以儘速獲 利了結出場或融券放空,若預測未來股票市場為「盤整」 則應避免大量進出並降低持股比例,甚至退出市場觀望, 以降低投資風險。投資者若可以掌握未來股票市場趨勢, 則投資股票獲利的機會將大增而投資之風險也將隨之降 11 200945236 低。 Φ Φ 前述之股票投資方法,不管是使用技術分析或基本分 析都是落後指標’雖然仍有其用處,但是往往緩不濟各, 反而造成投資者追高殺低,成為有心人士坑殺的對象了此 外,影響投資者判斷的,還包含各種經常出現在股市的消 息面,以及投資者自己的情緒問題,這往往造成負面的判 斷。有鑑於此,所以本發明發展出一具有人工智慧的方 法,並經由實施本發明之系統,使電腦成為具有「人的智 慧」的人工智慧系統。此一系統不僅可從所接收的資訊^ 際反應預測結果,可不受消息面與個人情 代以「人」為決策中心的問題,達到以「人智」曰代;了: 治」的目的。 【發明内容】 為了具有人工智慧的能力,可以f投資者做預測、分 析與決策’本發明採用了一種新穎的過濾法 PARK、具人功慧躲的_ (料純、_聚類、 灰色預測)以及絕佳的操作策略等方法,應用於千 的股市中’以期能幫助廣A的投資者在股市中賺多賠少。 其中PARK過濾法則是一種可將大盤之原始趨勢 必要的雜訊過滤掉’以產生更佳的趨勢訊號,提供投資者 更細腻的操作方向。統計分析、模糊聚類、灰色 且 ^孰二慧特陡的模型’則是用來將經過濾法則處理過後的 趨^類’以產生不同風險等級的風險聚類,其中統 =採用平均數與眾數決定風險等級、難聚類以最大歸 程度者決定其模糊風險等級,而灰馬可夫預測則是藉由分 12 200945236 1斤近期PARK的波段變化,以預測目前pARK波段的下 ,反轉點’㉟後搭配一些經驗值來決定風險等級。確定 η中-低風險等級後,根據不同的風險等級訂出長期(多 頭長期+短期與短期(保守與激烈)等操作策 力=上停損機制’供投資者在低風險下賺取無限的利 之下,經實驗證實利用 彎 m 中,以減輕交易者的心定要將停損機制納入其 化進=縱本目的係提供-種對股市資訊的變 策略夕古&amp;斤預測以及提出一套有風險等級的操作 下獲取穩ΐ的=:資者在股海中,可在低風險誠 %大盤另—目的係提供1方法來過遽可用以判 始趨勢之雜訊;藉由此-過滤法則,無論 勢如何改變,都可使修正後的原始趨勢更貼近大 將趨再—目的係提供1可利用人工智慧模型 攻守俱類出不同風險等級的風險聚類,供系統訂出 i::=作策略之方法’以助投資者提高獲利能力並 模效果另—目的係提供—種方法來使預測模型建 找出較佳二股之變化多端;藉由一系統化的步驟 方法更具適應性 到A盤本f或習性改變時將使本 13 200945236 在前述資料中可以瞭 繁多,一般投資者根本益法解股示市場中相關賢訊與指標 化,並且容易受外在:時t長期追縱所有的訊息變 與投資失利。本發明係響,造成判斷錯誤 法,可供投資者險等級的操作策略之方 或平倉),而不再需要广貧判斷與行為(買、賣 的資料及報告。匕置時間精力去研究各種相關 Φ 魯 前者的特未知的且大量的,其中 以產生所需白h自Λ响中相關的方法來加以分析 股票市場中大盤指數的歷史資二盲先以過去 可分成三部分,其中第二為原輸入資料’再來 方法過滹掉;fφ a 。刀疋利用park過濾法則 供投ΐί==:=χ產Λ更佳的趨勢訊號-智慧特性的統計分析、模糊聚類=份則是利用具人工 過濾法則處理過後的趨勢分類,以方:,將經 =類,至於第三個部分,則是 作後據不同的風險等級訂出長期(多頭+空頭)、長期 制二投激烈)等操作策略’並加上停損機 或「ir i 決定應該採取「買進」、「賣出」 ^ 千倉」以賺取無限的利潤。 」 【實施方式】 14 200945236 以下本發明將對較佳實施例及所附之圖予以充分描 述,但在此描述之前應瞭解熟悉本技術領域之人士可修改 在本文中描述之實施例創作,同時獲致本發明之同等功 效。因此,須暸解以下之描述對熟悉該項技藝之人士而言 為一廣泛之揭示’且其内容不在於限制本發明。以下為與 本發明背景有關之技術的延伸描述。雖然有嫻熟經驗及知 識的讀者可選擇僅跳讀或甚至不讀以下之背景資訊,但了 解此項資訊可進一步掌握本發明的具體實施,建議應加以 φ 詳讀。 首先參考第1圖所示,為本發明方法之示意圖。在本 發明方法之實施例中,首先運用技術指標產生原始趨勢 111,並藉由執行過滤法則110來獲得更可靠的趨勢波 段’其主要目的是為了得到更南品質的多頭/空頭波段而 執行一系列趨勢分類的工作。這些法則是從不同的觀點以 及三個主要指標發展而來:PCI〈 Phase Change Index〉、 PSAR_AF_P &lt; Possibility measure of Acceleration Factor ❿ about Parabolic Stop-And-Reversal〉及 K-Bband_Rate〈 Rate of K-Bollinger band)。所以『PARK』一詞是由PCI的字 首『P』、PSAR的結尾『AR』以及K-BBand的字首『K』 所組成。換言之,PARK就是根據PCI、PSAR及K-Bband 之關鍵特性過濾所得的新趨勢指標115。過濾法則PARK 的演算法如下及其相關的決策樹如第2圖。 過濾法則1〈PCI1〉:= Dan ^ and technical indicators nuclear (four) up or down. The Relative Strength Index (rsi) / RSI uses the stock price movements over a period of time to predict future price movements. The basic principle is that in a normal stock market, the strength of both buyers and sellers must be balanced and the stock price will be stable. RSI is the ratio of the average value of the stock price increase to the average of the total increase and decrease in a given period of time. Take the RSI value on the 6th as an example. If the value is 80 or more, it is overbought, 9〇 or M is the selling point, 20 or less is oversold, 1〇 or below is the Bet, and the RSI will appear before the stock price change. Ling or Bottom, can reflect the ups and downs of the stock price in advance, can be regarded as the leading indicator of the trend of the market index; if the RSI on the 6th through the 12th RSI from the bottom up, it can be regarded as a buy point; otherwise, when the RSI is on the 6th When it breaks through the 12th rsi, it can be regarded as a selling point; the trend of the RSI line and the trend of the broader market index indicates that the market is about to reverse. 6. Stochastic indicator (KD) A technical indicator that combines the advantages of the RSI indicator, the moving average, and the quantitative energy concept. If the market is a clear rise: the potential will drive the K and D lines to rise to 8. If the rally starts to slow, it will reflect the K and D values, causing the depreciation to fall below the D value. The situation is established; when the Κ line falls from the top to the D line, and the D value is above 80 (overbought area)' is the buy signal; when the Κ line breaks through the D line from the bottom up, and the value is below 20 (oversold) Zone) appears as a buy signal; when the devaluation is greater than 80 and the D value is greater than 70, it means that the closing price of the day is in the high price range, that is, the overbought condition; when the Κ value is less than 20 and the D value is less than 30, It means that the closing price of the day is in the low price range, that is, the oversold condition; the price is high or low, and KD does not have this phenomenon. This is a divergence phenomenon, which is an important precursor to possible reversal. The exponential smoothing similarity moving average formula (MACD) (DIF) uses the fast and slow two exponential smoothing moving averages (EMA) to calculate the difference divergence (DIF) between the two, and then use the difference divergence and The difference between the mean (DEM) and the divergence (separation) of the difference mean value (DEM) is used to judge the timing of the stock market buying or selling. If both MACD and DIF are positive, it can be regarded as a long market; MACD and DIF is negative, which can be regarded as a short market; DIF breaks through MACD and buys signals; DIF breaks down MACD and sells signals; DIF turns from negative to positive, and crosses MACD to buy signals; DIF value is forwarded Negative, and break through the MACD, sell the signal; when the DIF and the broader market index deviate from the trend, if the stock price continues to innovate low, and the DIF value does not hit a new low, 200945236 = positive deviation from the trend, as a buying opportunity; Continuous innovation high point, while DIF value # • point, this is the "negative divergence" trend, for the sale of two new in the stock market, there is a lot of information for the sale timing. Other Shanggu 11 # more commonly used technology refers to the news, investors 彳 * line, weekly line, monthly line, melting f, securities lending ... and other resources easy to calculate analysis Lai computer can be very easy to easily analyze various technical indicators, but single The backward trend and the purification of the indicator (4) occurred, and the invention can make the measurement result very inaccurate. I hope that wisdom (αι), so-to, not only the change of the situation V4:;= force, but also adapt to the various stock market in the field of knife prediction, gray sound application of a wide range of prediction methods, j-day connection type The advantages and disadvantages of the two methods are different, and the advantages and disadvantages of the two methods can be complementary. The gray Markov pre-comparison is a prediction method combining the advantages of gray and Markov models. Less and more widely used models are more suitable for a small amount of data (more than four two can be predicted, only a smooth index function curve = its fitting function is poor, the prediction accuracy is also better than the two The data is intended to be W 4b 6^1 Φ, m ^ ^ The object of the Markovian type is a random machine_Daji system. '1', the basis is that the Markov process is applicable to the time series of the data with the number of eves of the presentation. It is the random process of the grass that sews with time as the time goes by. The process always deviates or oscillates with the trend of various random factors, so if you use different GMs (1,1) The model is first obtained in the process The trend is to use the Markov model for transition probability analysis. The combination of these two methods will improve the prediction accuracy of GM(1,1) and expand the application range of GM(1,1). In the stock market, Investors are almost always making big losses, resulting in funds often being stuck so that turnover is not working or forced to break their heads, etc. When investors buy and sell stocks, they often diversify their investment targets to avoid risks, but they cannot At the same time and long-term tracking of the target of investment, or lack of risk control ability, resulting in investment losses, but if the target concentration _ single stock, its investment risk is relatively high, may lose all chips at a time From the above description, we can understand that there are too many technical indicators in the stock market, and to understand the fundamentals of stocks, such as financial status, future growth, etc., but also to grasp the economic and political aspects of the entire environment. Such factors as the average investor are difficult to grasp. The stock market is often filled with all kinds of rumors and gossip, often resulting in investors. Trouble, which in turn affects investors to make correct judgments, various factors make a common investor's mind to form a difficult gap. In the stock market, the judgment of the trend is the most important, as long as the trend can be mastered The key to profitability. The stock market is nothing more than three states: “long”, “short” and “consolidated”. If the future stock market is predicted to be “long”, investors can enter the market to buy stocks to increase their shareholding ratio. If the future stock market is predicted to be a “short” trend, investors can profit as soon as possible to make a profit or a short-selling. If the future stock market is predicted to “consolidate”, it should avoid large inflows and exits and reduce the shareholding ratio, or even withdraw from the market. In order to reduce the risk of investment. If investors can grasp the trend of future stock market, the chances of investing in stocks will increase and the risk of investment will fall. 11 200945236 Low. Φ Φ The above-mentioned stock investment method, whether using technical analysis or basic analysis, is a backward indicator. Although it still has its usefulness, it is often slow and inferior. Instead, it causes investors to chase high and kill low, and become the target of people who are interested in killing. In addition, the influence of investors' judgments also includes various news situations that often appear in the stock market, as well as investors' own emotional problems, which often lead to negative judgments. In view of this, the present invention develops a method with artificial intelligence and makes the computer an artificial intelligence system with "human intelligence" through the implementation of the system of the present invention. This system can not only predict the results from the received information, but also avoid the problem of “people” as the decision-making center in the message and personal situations, and achieve the goal of “humanity” and “governance”. [Inventive content] In order to have the ability of artificial intelligence, f investors can make predictions, analysis and decision-making. The invention adopts a novel filtering method PARK, which has the power to hide _ (material pure, _ clustering, grey prediction) ) and excellent operational strategies, etc., applied to thousands of stock markets' in the hope that investors who can help Guang A will make more losses in the stock market. Among them, the PARK filter rule is a kind of filter that can filter out the necessary noise of the original trend of the market to produce a better trend signal, providing investors with a more delicate operation direction. Statistical analysis, fuzzy clustering, gray and ^ 孰 慧 特 特 的 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' The majority determines the risk level, and the difficult clustering determines the fuzzy risk level by the maximum degree. The gray Markov prediction is based on the band variation of the recent PRK band of 12 200945236 1 kg to predict the current pARK band. After '35, match some experience values to determine the risk level. After determining the η medium-low risk level, the long-term (long-term long-term + short-term and short-term (conservative and fierce) and other operational strategies = upper stop loss mechanism] are set according to different risk levels for investors to earn unlimited at low risk. Under the benefit of the experiment, it is confirmed by experiment that the use of the bend m to alleviate the trader's mind must incorporate the stop-loss mechanism into its transformation = the purpose of the vertical supply--the kind of change strategy for stock market information, the ancient squad &amp; Get stable under the operation of risk level =: The capitalist is in the stock market, and can provide a method to judge the trend of the noise in the low-risk and high-cost market. The law, no matter how the situation changes, can make the revised original trend closer to the generals. The purpose is to provide a risk cluster that can use the artificial intelligence model to attack and defend different risk levels for the system to set i:: = The method of strategy 'to help investors improve profitability and the effect of the other - the purpose is to provide a way to make the prediction model to find a better change of the two stocks; more adaptive by a systematic approach Sex to A disk f or habit change will make this 13 200945236 in the above information can be a lot of, the general investor's fundamental interest in the solution shows the relevant market intelligence and indicators, and is vulnerable to external: time t long-term tracking of all the information The change of the invention and the failure of the investment. The invention is swaying, causing the wrong method of judgment, which can be used for the operation strategy of the investor's insurance level or closing the position, and no longer needs the judgment and behavior of the poor (buy, sell and report.) Time-consuming energy to study the various unknowns and a large number of related Φ Lu formers, in which the relevant method of generating the required white h self-sounding is used to analyze the history of the market index in the stock market. The third part, the second of which is the original input data 'return method too; fφ a. The knife uses the park filter rule for investment ί==:=χ χ better trend signal - statistical analysis of intelligence, blur Clustering = part is the trend classification after processing with the artificial filtering rule, the square:, will pass the = class, as for the third part, it will be based on different risk levels to set the long-term (long + short) , long-term system, two-investment, and other operational strategies' plus stop loss or "ir i decided to take "buy", "sell" ^ thousand positions" to earn unlimited profits. The present invention will be fully described in the following description of the preferred embodiments and the accompanying drawings, but it should be understood that those skilled in the art can modify the embodiments described herein while The same effect as the present invention is obtained. Therefore, it is to be understood that the following description is a broad disclosure of the invention and is not intended to limit the invention. The following is an extended description of the technology related to the background of the present invention. Although readers with familiar experience and knowledge can choose to skip or not read the following background information, understanding this information can further understand the specific implementation of the present invention, and the recommendation should be read φ. Referring first to Figure 1, there is shown a schematic diagram of the method of the present invention. In an embodiment of the method of the present invention, the original trend 111 is first generated using the technical indicators, and a more reliable trend band is obtained by performing the filtering rule 110. The main purpose is to perform a more south-quality long/short band. The work of the series trend classification. These rules evolved from different perspectives and three main indicators: PCI < Phase Change Index>, PSAR_AF_P &lt; Possibility measure of Acceleration Factor ❿ about Parabolic Stop-And-Reversal> and K-Bband_Rate < Rate of K-Bollinger Band). Therefore, the term "PARK" consists of the prefix "P" of PCI, the end "AR" of PSAR, and the prefix "K" of K-BBand. In other words, PARK is a new trend indicator 115 filtered based on key features of PCI, PSAR and K-Bband. The algorithm for filtering rules is as follows and its associated decision tree is shown in Figure 2. Filter Rule 1 <PCI1>:

Raw Trend - + : 22Mom &gt; 0 and 22PCI &lt; 20Raw Trend - + : 22Mom &gt; 0 and 22PCI &lt; 20

Raw Trend + — - : 22Mom &lt; 0 and 22PCI &gt; 80 15 200945236 過濾法則1&lt;PCI2〉:Raw Trend + — - : 22Mom &lt; 0 and 22PCI &gt; 80 15 200945236 Filter Rule 1 &lt;PCI2>:

Raw Trend --^+: 22Mom &gt; 0 , 22PCI &lt; 25 And 30Mom &lt; 0 , 30PCI &lt; 20 -【Double Bottoms】 pattern Raw Trend 22Mom &lt; 0 , 22PCI &gt; 75 And 30Mom &gt; 0 , 30PCI〉80 -【Double Tops】 pattern 過濾法則2〈PSAR_AF_P&gt;Raw Trend --^+: 22Mom &gt; 0 , 22PCI &lt; 25 And 30Mom &lt; 25 , 30PCI &lt; 20 - [Double Bottoms] pattern Raw Trend 22Mom &lt; 0 , 22PCI &gt; 75 And 30Mom &gt; 0 , 30PCI 〉80 -【Double Tops】 pattern Filtering rule 2<PSAR_AF_P&gt;

When Raw Trend changes , verify as follows :When Raw Trend changes , verify as follows :

If PSAR Flag(day) x PSAR_Flag(week) &gt; 0 【PSAR1】 〇 If PSAR_AF_P(day)+PSAR_AF_P(week) &lt; 1 thenIf PSAR Flag(day) x PSAR_Flag(week) &gt; 0 [PSAR1] 〇 If PSAR_AF_P(day)+PSAR_AF_P(week) &lt; 1 then

Reject Raw Trend End IfReject Raw Trend End If

Else 【PSAR2】Else [PSAR2]

Accept PSAR—Flag ofAccept PSAR—Flag of

Max(PSAR_AF_P(day),PSAR_AF_P(week))Max(PSAR_AF_P(day), PSAR_AF_P(week))

End If 過濾法則 3〈Bband_Rate〉 _ Raw Trend +-^-: ❹End If filter rule 3 <Bband_Rate> _ Raw Trend +-^-: ❹

If lOBband Rate &gt;= 5% then Accept Raw Trend End If 再利用具人工智慧模型130特性的統計分析131、模 糊聚類132與灰馬可夫預測133來決定時機風險等級。其 中統計分析131是藉由平均數與眾數來推測多頭波段期 望截止時間及價格波動,以便依據這些經驗值決定風險程 度。趨勢存續期間和價格波動的直方圖還有相關的風險等 級顯示於第3圖和第4圖。模糊聚類132採用0到1之間 16 200945236 書; = 代明確指定給某個群組的方式’於本說明 P子續期間及價格波動的論述宇集内定義模# 模糊風險^第6圖)’然後根據最大歸屬程度者決定其 魯 nun另1、邛伤為灰馬可夫預測133,它是由預測模型 Γ為=馬可夫模型爾,其中⑽⑽的輸入資 六:k ARK波段的高/低點資料,並依據其與第—個 :: 之間的乂易天數來得到原始資料序列,之後即可對 這:數列進行建模。建立GMGJ)預測模型之步驟如下 戶斤不 ♦ L取得計算所需要之資料,令為 % = (xd(1),々(2),...”x。⑻,..·.·,χ。⑻) (1) 2,對其執行1-AGO的運算而得到以下的式子 V1) = (X⑴(1),X⑴(2),χ⑴⑶,,χ ⑴⑻) (2) 其中 X(-k) ~~ Σ^ο)5^= (3) 3·藉由對1(1)作meam generating運算,得到艺⑴ 之⑴=(^)(1)/)(2)/)(3), ,⑻) (4) 其中 Z ⑴(A:) = 〇.5χ⑴⑻ + 0·5χ(1) (Λ -1) (5) 4.GM(1,1)建模之原始方程式如下所示 xi〇)(k) + azm(k) = b, k = 2,3,....,n dxm dtIf lOBband Rate &gt;= 5% then Accept Raw Trend End If the statistical analysis 131 with the characteristics of the artificial intelligence model 130, the fuzzy cluster 132 and the gray Markov prediction 133 are used to determine the timing risk level. The statistical analysis 131 is to estimate the expected cut-off time and price fluctuations of the long-band by means of the mean and the mode to determine the degree of risk based on these empirical values. The histograms of the duration of the trend and the price fluctuations, as well as the associated risk levels, are shown in Figures 3 and 4. Fuzzy clustering 132 uses between 0 and 1 16 200945236 book; = the way the generation is explicitly assigned to a group 'in the description of the P sub-continuation period and the price fluctuations in the discussion universe defined model # fuzzy risk ^ 6th ) ' Then according to the maximum degree of ownership, the other is determined to be the other, the injury is gray Markov prediction 133, which is determined by the prediction model = Markov model, where (10) (10) input capital: k ARK band high / low point The data, and the original data sequence is obtained according to the number of days between the first and the first::, then the series can be modeled. The steps to establish a GMGJ) prediction model are as follows: 1. The data required for the calculation is obtained, so that % = (xd(1), 々(2),..."x.(8),..·.·,χ (8)) (1) 2, the operation of 1-AGO is performed to obtain the following equation V1) = (X(1)(1), X(1)(2), χ(1)(3),, χ(1)(8)) (2) where X(-k )~~ Σ^ο)5^= (3) 3· By performing a meam generating operation on 1(1), we get (1)=(^)(1)/)(2)/)(3) of Art(1), , (8)) (4) where Z (1)(A:) = 〇.5χ(1)(8) + 0·5χ(1) (Λ -1) (5) 4. The original equation for GM(1,1) modeling is as follows xi〇 )(k) + azm(k) = b, k = 2,3,....,n dxm dt

=b (6) 200945236 5.產生參數《、6的解法為根據最小平方法貝ij θ = \ϊ\ = (ΒτΒΤ'ΒτγΝ (7) b 其中 Αν \ly \|7 \1|/ 1/ \)/ 12 12 12 (/(. (--- ♦ -( /V zz:z 0)31 (( , .—..-)-(0&lt;2 = ^ \—/ 8 /IV 7 U 0)π) 6.經由方程式(7)的運算之後,得到參數α、δ之值如 下 a Σ zS) Σ xw ~(η~ !)Σ ζ!Άχ!'ί k=2 k=2=b (6) 200945236 5. Generate the parameter ", the solution of 6 is based on the least squares method ij θ = \ϊ\ = (ΒτΒΤ'ΒτγΝ (7) b where Αν \ly \|7 \1|/ 1/ \ ) / 12 12 12 (/(. (--- ♦ -( /V zz:z 0)31 (( , .—..-)-(0&lt;2 = ^ \—/ 8 /IV 7 U 0) π) 6. After the operation of equation (7), the values of the parameters α and δ are obtained as follows: a Σ zS) Σ xw ~(η~ !)Σ ζ!Άχ!'ί k=2 k=2

A (9) (10)A (9) (10)

Yx(0)Yz(1)2 -Yz(1) Yz(1)x(0) ZjX(*)ZjZ(*) ZuZ(k) ZaZ{k)X{k) k=2 k=2_k^2 k=2_ 其中 δ = («-ι)Σ^!2-(Σ4!)2 (11) k=2 k=2 將a, b值代入影子方程式(6)最後所產生的預測 值為 (12) X ⑴(众 +1) = [x( 18 200945236 其中 支(0)(1)=,⑴ (13) 8. 對i⑴(々 + 1)做1-IAGO最後可得預測值i((V)為 χ(0)⑷=f⑴(Α;) - ί(” (it -1) = (1 - 〇[x(0)⑴—土K--1) ( 1 4 ) a 9. 進行實際值與預測值沪⑻之間的誤差分析 e⑻= x(0\k)-x(0\k) xm(k) xlOO%, k = 2,3,4,…··,η. (15)Yx(0)Yz(1)2 -Yz(1) Yz(1)x(0) ZjX(*)ZjZ(*) ZuZ(k) ZaZ{k)X{k) k=2 k=2_k^2 k=2_ where δ = («-ι)Σ^!2-(Σ4!)2 (11) k=2 k=2 Substituting a, b values into the shadow equation (6) The resulting predicted value is (12) ) X (1) (众+1) = [x( 18 200945236 where branch (0)(1)=,(1) (13) 8. For i(1)(々+ 1), 1-IAGO is the last predictable value i ((V) ) is χ(0)(4)=f(1)(Α;) - ί(" (it -1) = (1 - 〇[x(0)(1) - soil K--1) ( 1 4 ) a 9. Carry out the actual value Analysis of error between the predicted value and Shanghai (8) e(8)= x(0\k)-x(0\k) xm(k) xlOO%, k = 2,3,4,...··,η. (15)

PARK向前參看高點數量主要理由是藉由過去 PARK訓練資料模擬而得,並可預測下一個PARK未知高 點同時在任何時點計算出其距離下次高點的到期日數,然 後根據此到期日數決定其風險等級。 灰馬可夫模型GMM(1,1)是一套能改善GM(1,1) 精確度的有用工具。首先必須完成GM(1,1)的預測程序 並將其預測結果當作估算數據。其次將以GM(1,1)估算 ® 數據之一特定百分比分割出狀態空間並用模擬程式跑出 一最適合的狀態數。比對原始數據和GM(1,1)估算數據 後即可知道原始數據所歸屬的狀態並可同時建立狀態移 轉機率矩陣。透過此移轉機率矩陣我們就能產生預測表, 並藉由取上下界平均值來計算新的預測結果。最後在 GMM(1,1)修正程序後求得更精確的預測結果了。其步驟 略述於下: (1) 使用GM(1,1)預測結果。 (2) 分割出狀態空間。 19 200945236The main reason for PARK to refer to the high point number is that it can be simulated by past PARK training data, and the next unknown high point of PARK can be predicted and the number of expiration days from the next high point can be calculated at any time point. The number of due dates determines the level of risk. The Gray Markov Model GMM (1, 1) is a useful tool to improve the accuracy of GM (1, 1). The GM(1,1) prediction procedure must first be completed and its predictions treated as estimates. The second is to divide the state space by a certain percentage of the GM(1,1) estimate ® data and run out the most appropriate number of states with the simulator. By comparing the raw data with the GM(1,1) estimation data, the state to which the original data belongs can be known and the state transition probability matrix can be established at the same time. Through this transfer probability matrix, we can generate a prediction table and calculate the new prediction result by taking the upper and lower bounds. Finally, after the GMM (1, 1) correction procedure, a more accurate prediction result is obtained. The steps are outlined below: (1) Use GM (1, 1) to predict the results. (2) Split the state space. 19 200945236

(3)得到狀態移轉機率矩陣。 及(m) Ο/,),….·,px[m) p2(n•.…,p2(km) p(n,) p(m) p(m) ^ k] ......,厂Jki where P^m)=(3) Obtain a state transition probability matrix. And (m) Ο/,),....·,px[m) p2(n•....,p2(km) p(n,) p(m) p(m) ^ k] ...... , factory Jki where P^m)=

測表。 曰期 狀態 移轉步數 機率備 狀態1 ------ 0.5 -··. 狀態η 〇 -^j〇5〇2 」&quot; __?___ 0.333 ----- 0 ~~t~- • •暑 ------ 1.0 ----—* * ·__ 0.2 — 總計 — —--— 1.833_^ 0.2 (5)計算預測結果。 = 〇·5 X (Ay. + By) or ^GMM = XGM X ^Pi+2Pj- 利用統計分析131、模糊聚類132 工智慧的方法決定風險等級,即為 與灰色預測133等 『風險聚類』,之 20 200945236 後再利用包含趨勢預測、市場時機、資金管理與停損機制 的『策略分析』,提供投資者不同的操作方式,最後再運 用許多量化資訊來驗證每個操作策略的績效,以助投資者 提高投資效益與降低投資風險。 任何成功的交易程式必須考量三個重要因素:價格預 測、市場時機與部位管理,本發明的策略分析150有長期 [多頭+空頭]151、長期+短期152與短期[保守與激烈] 153三種。在本實施例中長期[多頭+空頭]151操作的策略 籲 為使用PARK指標來區分多頭/空頭波段。在多頭波段 作多四口並於空頭波段放空四口。至於短期[保守與激烈] 的操作策略可細分如下數種: a.訊號型〈Signal〉: 交易操作是根據上面提到過的風險性聚類所產生的 風險等級(見第7圖)。首先要決定短期部位的上限。其次, 若遇到低風險時則加碼兩口,而中風險則加碼一口。最後 等到高風險來臨時則一口接一口減碼直到短期部位全部 _ 平倉。此外,也要考慮到停損機制,其部位操作規則下表 所示 表一不同風險等級之多空策略 風險等級 多頭 空頭 高風險 等待平倉 等待平倉 中風險 作多 放空 低風險 強力作多 強力放空 b.激烈型: 有別於『訊號型』策略,『激烈型』似乎較為積極。 當遇到低風險時,其短期部位立即加碼至滿倉。『激烈型』 21 200945236 作朿略類似『訊號型』的 呑胃的『強力操作』與『操作』。Ί桌略,也有所 於第8圖及第9圖。 '、關加減碼部位圖顯示 短期策略有兩項重要訴求:第— 二:仍然要將停損機制納入其中以便減輕 ❿ 之後可利用績效評估流程18爽 劣,本發明之績效評量指標如下所示來判斷㈣績效的優 淨損益〈或淨損益百分比&gt; : 淨損益是最普遍的績效統計量之_。 就是在回測期間所賺或賠的總金額 貝益 賠錢的策略受咖待。 #讀錢的朿略總比 淨損益=毛獲利_毛虧損 ί時易成本’我們也可用淨損益百分比來表 ⑺因百子分比=毛獲利百分比—域損百分比 也成由於計算簡單且普遍内建在電腦程式中,故 的貝==績效:估的度量指標。如果策略是可獲利 '子會大於一,反之虧損的策略則會小於一。 利潤因子=毛獲利/毛虧損 、 〈3〉平均盈虧比率: =比率類似利潤因子,但其對於判斷策 利潤因子還更有意義。 22 200945236 數〕平均盈減率=利潤因子·〔_次數/獲利次 〈4〉勝率: 勝率是許多人用來衡量策略成功的另一個崎 ^以獲利次數除以總交易次數雜值。交易者太過二 勝率,而有試圖將勝率最大化的迷思。 、強調 勝率=〔獲利次數/總交易次數〕 〈5〉最大跌幅: ❿ 跌幅是指淨損益由最高點開始下跌時起算 都要計算其值,其中最大值則為最大跌幅。 〈6〉最大連續虧損: 最大連續虧損是連續交易虧損的最大 ΐ採略的最大風險。此觀念在期貨市場較:理 •。最大連虧值愈大則所需保證金也增 交易者是個非常不錯的策略績效評量指標。、、口刀 〈7〉理想利潤·· ^ 另外一個獲利性指標叫做理想利潤,定義為·· 理想利潤=100 χ Σ♦[咐·知)]·μ(0| …· ZRoi~~~ 此處為在t日的實際價格變異, f測償格變異,且此總和料縣W實驗觀察時窗= 比值,此值落在-】到+〗的區間。 、,責效的 到交佳實施例’首先取得民目 後二==價指數⑽取)的相關資料 咖間為民國85/】0/19到民國_2/31止,而 23 200945236 測試區間為民國90/1/1到93/12/31止。 根據實驗數據及相關圖表顯示得知,pARK的績效在 模型中是表現最好的(見第1G圖)。長短期部 、”、1 〇 口且短期停損設為3%,而經過人工智攀模型 Z倾的短期策略部位比重愈大,則其績讀好 鬱 I)、。二種人工智慧模型搭配策略執行的效果各有所 敕I*决错過不同的度量指標所表達的結果也不盡相同。但 曲@ 士拉積極型策略的績效比保守型的要來得好。獲利 所遞增趨勢,由此證明經由PARK搭配tvb2s 誇取穩^ 策略組合確實能讓投資人在低風險狀態下 獲取穩疋之南額報酬。Measuring table.曰期 state transition step probability reserve state 1 ------ 0.5 -··. state η 〇-^j〇5〇2 ”&quot; __?___ 0.333 ----- 0 ~~t~- • • Summer ------ 1.0 ----—* * · __ 0.2 — Total — — — — 1.833_^ 0.2 (5) Calculate the predicted result. = 〇·5 X (Ay. + By) or ^GMM = XGM X ^Pi+2Pj- Use the statistical analysis 131, fuzzy clustering 132 work wisdom method to determine the risk level, that is, with the gray prediction 133 and other "risk clustering" 』, 20, 200945236 Then use the “strategic analysis” including trend forecasting, market timing, capital management and stop loss mechanism to provide different ways for investors to operate, and finally use a lot of quantitative information to verify the performance of each operational strategy. To help investors improve investment efficiency and reduce investment risks. Any successful trading program must consider three important factors: price forecasting, market timing and location management. The strategy analysis 150 of the present invention has long-term [long + short] 151, long-term + short-term 152 and short-term [conservative and intense] 153 three. The strategy for long-term [long + short] 151 operation in this embodiment is to use the PARK indicator to distinguish the long/short band. Make four more in the long band and four in the short band. As for short-term [conservative and intense] operational strategies, the following can be subdivided into the following categories: a. Signal type: The trading operation is based on the risk level generated by the risk cluster mentioned above (see Figure 7). First, you must decide the upper limit of the short-term part. Secondly, if you encounter low risk, you will add two more, and the medium risk will be overweight. Finally, when the high-risk comes, the code is reduced one by one until the short-term part is all closed. In addition, we must also consider the stop loss mechanism, its operation rules are as shown in the table below. Table 1 Different risk levels of long and short strategy risk level long short head high risk waiting for closing position waiting for closing position risk for more shorting low risk strong for more powerful Venting b. Intense: Different from the "signal type" strategy, "aggressive" seems to be more active. When a low risk is encountered, the short-term part is immediately added to the full position. "Strong type" 21 200945236 "Powerful operation" and "operation" similar to the "signal type". The table is also slightly shown in Figure 8 and Figure 9. ', Guan Jia minus code part map shows that the short-term strategy has two important appeals: 1-2: still need to include the stop-loss mechanism to mitigate ❿ After the performance evaluation process 18 can be used, the performance measurement indicators of the present invention are as follows To determine (4) the net profit or loss of the performance (or the percentage of net profit or loss): Net profit and loss is the most common performance statistics. It is the total amount earned or lost during the backtesting. The strategy of losing money is treated with coffee. #读钱的略略 Total net profit/loss = Gross profit _ Gross loss ί时易成本' We can also use the net profit and loss percentage to table (7) Because of the percentage of gross profit = Gross profit percentage - the percentage of domain loss is also due to simple calculation Commonly built in computer programs, so the Bay == performance: estimated metrics. If the strategy is profitable, the child will be greater than one, and the strategy for loss will be less than one. Profit factor = gross profit / gross loss, <3> average profit and loss ratio: = ratio is similar to profit factor, but it is more meaningful for judging the profit factor. 22 200945236 number] average profit and loss rate = profit factor · [_ times / profit times <4> winning percentage: winning percentage is another rate that many people use to measure the success of the strategy. The number of profit is divided by the total number of transactions. Traders are too much to win, and there are myths that try to maximize winning percentage. , Emphasis on winning rate = [profits / total number of transactions] < 5 > Maximum decline: 跌 The decrease is the calculation of the net profit and loss from the highest point, the maximum value is the maximum decline. <6> Maximum continuous loss: The maximum continuous loss is the biggest risk of continuous trading losses. This concept is more in the futures market. The greater the maximum loss, the greater the required margin. The trader is a very good strategic performance measure. , mouth knife <7> ideal profit ·· ^ Another profit indicator is called ideal profit, defined as ·· ideal profit =100 χ Σ♦[咐·知)]·μ(0| ...· ZRoi~~~ Here is the actual price variation on t day, f is the variation of the compensation grid, and this sum is counted in the county W test observation window = ratio, this value falls in the interval of -] to +〗. The relevant information of the example 'first obtain the second order of the public order == price index (10)) is the Republic of China 85/]0/19 to the Republic of China _2/31, and 23 200945236 test interval for the Republic of China 90/1/1 93/12/31. According to the experimental data and related graphs, the performance of pARK is the best in the model (see Figure 1G). The long-term and short-term departments, ", 1 〇 mouth and short-term stop loss is set to 3%, and the higher the proportion of the short-term strategy part of the artificial intelligence climbing model Z, the better the performance is. I). The effects of strategy execution are different. I* never miss the same metrics and the results are not the same. However, the performance of Qu @Shi Lai active strategy is better than that of conservative one. The profit is increasing, This proves that the combination of PARK and tvb2s to promote the stability of the strategy can indeed enable investors to obtain a stable south salary in a low-risk state.

根據本發日㈣較佳實_,湘PARK 始趨勢中的雜訊以產生更佳的趨勢訊= 的操作方向’而利用具人工智慧特性的統計 i的趨;八類類、灰色預測等方法,將經過濾法則處理過 產生㈣風时級的風崎類,(高、 頭+空頭)據不同的風險等級訂出長期(多 頌)長期+短期與短期(保守與激烈)等操 取’「=场損t制,可供投資者在低風險下決定應該採 出」或千倉」以賺取無限的利潤。 可透過不同灰馬可夫模型⑽购) 產生的預測值進行修:及= 最佳預測模型所 m A &quot; 以產生最佳的預測值。注素,逄 上;的預測值之滾動建模的資料量η、各“之 f百刀比Ρ,狀態個數i與轉移步數m,不是固定 24 200945236 不變的,會隨著預測模型的資料量而自動的跟著改變,亦 即本預測模型GMM(1,1)可隨著最佳預測模型所使用的 資料量而自動產生最佳的預測結果。 在本發明較佳實施例中,選取大盤(TAIEX)與原始 驅勢線作為原始數據之來源,所有分析皆是針對此二項做 處理。投資者可將其改為其它技術指標,例MACD、RSI 等技術指標,或在分析時加上其它均線或指標,或許可以 得到更好的預測結果,當然這得經由實驗驗證。 _ 本發明之實施方法已詳述於前述實施例中,任何熟悉 本技術領域之人士皆可依本發明之說明,在不背離本發明 之精神與範圍内視需要更動、修飾本發明,因此,其他實 施態樣亦包含在本發明之申請專利範圍中。 綜合以上所述,本發明利用模糊聚類與灰馬可夫模型 預測大盤趨勢之方法,即利用人工智慧的方法,預測出未 來股市之轉折點,不僅可讓投資者了解未來股市的趨勢與 先一步掌握投資訊習,進而還可有效降低投資風險與損 _ 失。由此可以瞭解,本發明實具有諸多優良特性,不僅可 解決一些實際應用上的缺失與不便,提出經濟有效的解決 方法外,還可讓投資者可以在短時間内得到相關的投資訊 息,以避免外在環境及人為因素的影響,進而有效控管投 資的風險,實已符合發明專利之申請要件,懇請鈞局能 予詳審並賜予專利權保障,以優惠民生實感德便。 25 200945236 【圖式簡單說明】 第1圖為本發明分析預測方法之示意圖。 第2圖為原始趨勢的信賴度。 第3圖為趨勢存續期間及風險等級的直方圖。 第4圖為價格波動及風險等級的直方圖。 第5圖為趨勢存續期間風險等級的模糊歸屬函數。 第6圖為價格波動風險等級的模糊歸屬函數。 第7圖為PARK多頭/空頭波段風險圖。 第8圖為『激烈型』策略加碼部位圖。 第9圖為『激烈型』策略減碼部位圖。 第10圖為各種不同趨勢模型的總收益淨值比較。 第11圖為策略『統計_訊號』的部位操作圖(長期+短 期=10 口)。 【主要元件符號說明】 原始趨勢〜111 ; 人工智慧模型〜130 ; 模糊聚類〜132 ; 操作策略〜150 ; 長期+短期〜152 ; 績效評估流程〜18。 過濾法則〜110 ; PARK趨勢〜115 ;According to the best of the previous day (4), the noise in the beginning trend of Xiang PARK to produce a better trend of the operation direction of the trend = the trend of the statistical i with artificial intelligence; eight categories, gray prediction, etc. The winds will be processed by the filtering rules to generate (4) wind-level winds. (High, head + short) According to different risk levels, long-term (long-term) long-term + short-term and short-term (conservative and intense) operations are set. = Field loss t system, for investors to decide at a low risk that they should be produced "or thousands of positions" to earn unlimited profits. The predicted values generated by different gray Markov models (10) can be repaired: and = the best predictive model m A &quot; to produce the best predicted value. The amount of data η, the number of states i and the number of transition steps m of the rolling model of the predicted value of the predicted value are not fixed 24 200945236, and will follow the prediction model. The amount of data is automatically changed, that is, the prediction model GMM (1, 1) can automatically generate the best prediction result along with the amount of data used by the optimal prediction model. In a preferred embodiment of the invention, Select the market (TAIEX) and the original driving line as the source of the original data, all the analysis is for the two items. Investors can change it to other technical indicators, such as MACD, RSI and other technical indicators, or in the analysis In addition to other moving averages or indicators, it may be possible to obtain better prediction results, which of course has to be verified experimentally. _ The method of implementation of the present invention has been described in detail in the foregoing embodiments, and anyone skilled in the art can follow the present invention. It is to be understood that the invention may be modified and modified as needed without departing from the spirit and scope of the invention, and therefore, other embodiments are also included in the scope of the present invention. Using fuzzy clustering and gray Markov model to predict the trend of the market, that is, using artificial intelligence to predict the turning point of the future stock market, not only allows investors to understand the future stock market trend and grasp the investment newsletter first, and thus effective Reducing investment risk and loss _ loss. It can be understood that the present invention has many excellent characteristics, which can not only solve the lack and inconvenience of some practical applications, but also provide a cost-effective solution, and also allow investors to be in a short time. Relevant investment information is obtained to avoid the influence of external environment and human factors, and the risk of effective control of investment has been met. It has already met the application requirements for invention patents, and the bureau can be reviewed and patented to provide preferential treatment. 25 200945236 [Simple description of the diagram] Figure 1 is a schematic diagram of the analysis and prediction method of the present invention. Figure 2 is the reliability of the original trend. Figure 3 is the histogram of the duration of the trend and the risk level. Figure 4 shows the histogram of price fluctuations and risk levels. Figure 5 shows the blurring of risk levels during the trend period. Generic function. Figure 6 is the fuzzy attribution function of the price fluctuation risk level. Figure 7 is the PARK long/short band risk map. Figure 8 is the "aggressive" strategy plus coded part map. Figure 9 is the "aggressive" strategy. The code reduction part map. Figure 10 is a comparison of the total net income of various trend models. Figure 11 is the part operation diagram of the strategy “Statistics_Signal” (long-term + short-term = 10 ports). [Main component symbol description] Original trend ~111; artificial intelligence model ~130; fuzzy clustering ~132; operation strategy ~150; long-term + short-term ~ 152; performance evaluation process ~ 18. Filtering rules ~ 110; PARK trend ~ 115;

統計分析〜131, 灰馬可夫預測〜133 ; 長期[多頭+空頭]〜151 ; 短期[保守、激烈]〜153 ; 26Statistical analysis ~131, gray Markov prediction ~ 133; long term [long + short] ~ 151; short [conservative, intense] ~ 153; 26

Claims (1)

200945236 十、申請專利範圍: 1. 一種利用模糊聚類與灰馬可夫模型預測大盤趨勢 之方法,用於評估股票市場之大盤趨勢並提供不同風險程 度之操作策略的資訊,包含以下程序: 收集前述股票市場不同技術指標的歷史資料,該歷史 資料包含大盤指數、MACD與不同的原始趨勢值; 利用過濾法則PARK將該原始趨勢值的雜訊過濾200945236 X. Patent application scope: 1. A method for predicting the market trend by using fuzzy clustering and gray Markov model, which is used to evaluate the market trend of the stock market and provide information on the operational strategies of different risk levels, including the following procedures: Historical data of different technical indicators in the market, the historical data including the market index, MACD and different original trend values; using the filtering rule PARK to filter the noise of the original trend value 掉,以產生新的趨勢指標,作為人工智慧模型的統計分 析、模糊聚類與灰色預測GM(1,1)產生風險聚類的建模 資料; 以灰馬可夫模型GMM(1,1) pARK修正前述預測模 型GM(1,1) pARK的預測值,以求得更精確的預測結果; 利用經前述之風險聚類,訂出短期(保守、激烈)、 短期+長期與長期(多頭+空頭)等操作策略,以提供投資 者何時可作多或放空與該下多少籌碼;以及 利用自訂的評量指標(淨損益、利潤因子、平均盈虧 比率、勝率、最大跌幅與最大連續虧損)來評估操作績效。 2.如申請專利範圍帛丨項所述之利用模糊聚類鱼灰 ΠΪί型預測大盤趨勢之方法,其中收集的技術指標為 包含大盤指數、MACD與不同的原始趨勢值。 3土如申請專利範圍第丨項所述之利用模糊聚類與 馬可夫模型預測大盤趨勢之方法,其中廯 3〇-l〇-10MACD是30日與1〇日指數移動平二的差值。、 g可去請專利範圍第1項所述之利用模糊聚類與灰 :信τΓί制A賴勢之方法,其巾歷史資料的原始趨 勢值’乃疋經由國立台灣科技大學『人工智慧金融交易2 27 200945236 統』AIFTS (Artificial Intelligence Financial Trading System) 所產生。 5. 如申請專利範圍第1項所述之利用模糊聚類與灰 馬可夫模型預測大盤趨勢之方法,其中過濾法則PARK 的演算法有 PCI1、PCI2、PSAR—AF_P 與 Bband_Rate 四 種。 6. 如申請專利範圍第1項所述之利用模糊聚類與灰 馬可夫模型預測大盤趨勢之方法,其中用於產生風險聚類 • 的方法有統計分析、模糊聚類與灰色預測。 7. 如申請專利範圍第1項所述之利用模糊聚類與灰 馬可夫模型預測大盤趨勢之方法,其中灰色預測模型 GM(1,1) PARK的最佳建模點數為4點、即四筆資料。 8. 如申請專利範圍第1項所述之利用模糊聚類與灰 馬可夫模型預測大盤趨勢之方法,其中修正前述灰色模型 GM(1,1) PARK的預測值,可用GMM(1,1) PARK預測 模型預測趨勢。 H 9.如申請專利範圍第1項所述之利用模糊聚類與灰 馬可夫模型預測大盤趨勢之方法,其中用於評量績效的評 量指標包含淨損益、利潤因子、平均盈虧比率、勝率、最 大跌幅與最大連續虧損。 28Off, to generate new trend indicators, as statistical analysis of artificial intelligence models, fuzzy clustering and gray prediction GM (1,1) to generate risk clustering modeling data; modified by gray Markov model GMM (1,1) pARK Predicting the predicted value of the model GM(1,1) pARK to obtain more accurate prediction results; using the aforementioned risk clustering to set short-term (conservative, intense), short-term + long-term and long-term (long + short) And other operational strategies to provide investors with when to spend more or short and how many chips to make; and to use custom assessment indicators (net profit and loss, profit factor, average profit and loss ratio, winning rate, maximum decline and maximum continuous loss) to evaluate Operational performance. 2. The method for predicting the market trend by using fuzzy clustering fish ash 如 型 as described in the scope of application for patents, wherein the technical indicators collected include the market index, MACD and different original trend values. 3 soil as described in the scope of the patent application, using fuzzy clustering and Markov model to predict the trend of the market, where 廯 3〇-l〇-10 MACD is the difference between the 30th and 1st day index moving flat two. , g can go to the method of using fuzzy clustering and gray: letter τ Γ 制 A , , , , , , , , , , : : : : : : : 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用2 27 200945236 is produced by AIFTS (Artificial Intelligence Financial Trading System). 5. The method of predicting the market trend using fuzzy clustering and gray Markov model as described in item 1 of the patent application scope, wherein the filtering algorithm PARK has four algorithms: PCI1, PCI2, PSAR-AF_P and Bband_Rate. 6. The method for predicting the market trend using fuzzy clustering and gray Markov model as described in item 1 of the patent application scope, wherein the methods for generating risk clustering are statistical analysis, fuzzy clustering and grey prediction. 7. The method for predicting the market trend using fuzzy clustering and gray Markov model as described in item 1 of the patent application scope, wherein the optimal modeling point of the gray prediction model GM(1,1) PARK is 4 points, ie four Pen data. 8. For the method of predicting the market trend using fuzzy clustering and gray Markov model as described in item 1 of the patent application, in which the predicted value of the gray model GM(1,1) PARK is corrected, GMM(1,1) PARK can be used. The predictive model predicts trends. H 9. The method for predicting the market trend using fuzzy clustering and gray Markov model as described in item 1 of the patent application scope, wherein the measurement indicators for measuring performance include net profit and loss, profit factor, average profit-loss ratio, winning rate, The biggest decline and the largest continuous loss. 28
TW97115905A 2008-04-30 2008-04-30 A method of predicting a financial market TW200945236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97115905A TW200945236A (en) 2008-04-30 2008-04-30 A method of predicting a financial market

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97115905A TW200945236A (en) 2008-04-30 2008-04-30 A method of predicting a financial market

Publications (1)

Publication Number Publication Date
TW200945236A true TW200945236A (en) 2009-11-01

Family

ID=44869671

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97115905A TW200945236A (en) 2008-04-30 2008-04-30 A method of predicting a financial market

Country Status (1)

Country Link
TW (1) TW200945236A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI626550B (en) * 2017-12-22 2018-06-11 中華電信股份有限公司 Processing system and method for predicting system defect hotspot prediction
CN113793217A (en) * 2021-09-10 2021-12-14 上海卡方信息科技有限公司 Stock exchange inversion point and abnormal point detection method based on convolutional neural network
CN114449569A (en) * 2020-11-02 2022-05-06 中国移动通信集团广东有限公司 User traffic usage processing method, network device and service processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI626550B (en) * 2017-12-22 2018-06-11 中華電信股份有限公司 Processing system and method for predicting system defect hotspot prediction
CN114449569A (en) * 2020-11-02 2022-05-06 中国移动通信集团广东有限公司 User traffic usage processing method, network device and service processing system
CN114449569B (en) * 2020-11-02 2024-01-16 中国移动通信集团广东有限公司 User traffic usage processing method, network equipment and service processing system
CN113793217A (en) * 2021-09-10 2021-12-14 上海卡方信息科技有限公司 Stock exchange inversion point and abnormal point detection method based on convolutional neural network

Similar Documents

Publication Publication Date Title
Chakraborty et al. Manipulation in market order models
Yamamoto Intraday technical analysis of individual stocks on the Tokyo Stock Exchange
US20210272201A1 (en) Systems for optimizing trade execution
Cerrato et al. An investigation of customer order flow in the foreign exchange market
D’souza Improving access to agricultural credit: New perspectives
Dhankar et al. Behavioural finance: A new paradigm to explain momentum effect
Glabadanidis The market timing power of moving averages: evidence from US REITs and REIT indexes
TW200945236A (en) A method of predicting a financial market
Warjiyo et al. Monetary Policy Transmission Mechanism
Zhou et al. Behavior based manipulation
TWI248007B (en) Method for evaluating market trade based on trend prediction
Guo et al. Market Making with Deep Reinforcement Learning from Limit Order Books
Han et al. Modeling and predicting the market volatility index: The case of VKOSPI
Huang et al. An intelligent computational finance model for microstructure-based trading system
Power et al. A micro-analysis of Irish firm deaths during the financial crisis (2006–2010)
Huang et al. Research on the Efficacy of the iVIX Index Based on VIX Pricing
TW200926039A (en) Method of predicting the high/low points of TAIEX based on grey and Markov theories
Slabbert Change in corporate debt levels in South Africa from 1994 to 2016
Lu et al. Do commodity futures have a steering effect on the spot stock market in China? New evidence from volatility forecasting
Chaqmakchi STOCK MARKET AND FINANCIAL MARKET EFFICIENCY
Chen et al. The signaling effect of local government debt: Evidence from China
Nor THE TREND IS OUR FRIEND: FORETELLING THE PERFORMANCE OF TAKAFUL BERHAD VIA TECHNICAL INDICATORS
Vaskikari Identifying tactical asset allocation signals for US and European equities
Barima Ghana's Evolutionary Role in a Changing World Economic Order
Regele et al. Expected Skewness and Momentum