Threaded View
-
12-09-2012 08:09 AM #4
Member- Ngày tham gia
- Oct 2003
- Bài viết
- 365
- Được cám ơn 215 lần trong 148 bài gởi
Những series bài hay về phần mềm phân tích kỹ thuật MetaStock
Đây là series những bài nghiên cứu chuyên sâu về phần mềm phân tích kỹ thuật MetaStock
RSI with EMA Strategy
Contributed by Robert W. Colby, CMT
In my 39 years of actual technical research experience, I have tested many of the analytical tools available. (Okay, so in my early years, I was testing different kinds of graph paper, rulers, and pencils). More than 22 years ago, I reviewed more than a dozen technical software programs for PC Magazine, Special Issue, April 15, 1986, Volume 5, Number 7. MetaStock was new then, practically a startup, but it stood out above the rest, and so I selected it as “Editors’ Choice”. 17 years later, I selected MetaStock software again for exclusive use researching for my 820-page book, The Encyclopedia of Technical Market Indicators, Second Edition, McGraw-Hill Publishing, 2003. I selected MetaStock for its wide-range of powerful capabilities, its flexibility, its ease of use, and its affordability.
While doing research for my book, I ran hundreds of optimizations, back tests, and forward tests. Since then, I since have run thousands more. It is my impression that these very powerful tools are widely misunderstood and underutilized by the great majority of investors and traders. In 2005, I gave an interview to TradingMarkets.com where I demonstrated an optimized version of a robust and very popular technical indicator, RSI 3 (buy below 30, sell above 70), combined with a long-term EMA filter of 330 days, for a simple mechanical trading system that offers moderately good performance with no subjective judgment. RSI alone is a relatively weak performer, but the addition of an EMA to filter the trades is the key to greater consistency of results. Which EMA? Optimize over past actual history to find out. The full MetaStock code is shown below. The chart shows the forward tested, real-time simulated performance of this same system applied to the S&P 500 continuous futures contract since January 3, 2007. Since the Buy Long signal on January 3, 2007, this RSI/EMA system is up 8.60%, significantly outperforming Buy & Hold (which is down 12.00%) by 2060 basis points. Of 24 signals, 66.67% were profitable, with 16 winners and 8 losers. See chart for the Cumulative Equity graphed against the raw closing price data.
The purpose of this demonstration is not to recommend any specific trading system. RSI, though very popular, is not the best indicator, and it certainly is possible to develop much better trading systems than the one shown in this example. My purpose is to show that by using powerful analytical software, such as MetaStock, combining common known indicators, optimizing parameters, back testing, and forward testing, it is possible to develop a trading system that can outperform going forward. More power to you!
RSI/EMA System Code
Enter long:
(RSI(C,opt1)<50-opt2
AND
C>Ref(Mov(C,opt3,E),-1))
AND Year()>2006
Close long:
(RSI(C,opt1)>50+opt2
OR
C<Ref(Mov(C,opt3,E),-1))
AND Year()>2006
Enter short:
(RSI(C,opt1)>50+opt2
AND
C<Ref(Mov(C,opt3,E),-1))
AND Year()>2006
Close short:
(RSI(C,opt1)<50-opt2
OR
C>Ref(Mov(C,opt3,E),-1))
AND Year()>2006
OPT1
Range: From 3 to 3 by 1
Current value: 3
OPT2
Range: From 20 to 20 by 1
Current value: 20
OPT3
Range: From 330 to 330 by 1
Current value: 330
Initial equity - 1424.8
Positions - Long and short
Entry trade price - Close
Entry trade delay - 0
Exit trade price - Close
Exit trade delay - 0
Entry commission - 0%
Exit commission - 0%
Interest rate - 0%
Margin req. - 100%
How can I run an Exploration to find Relative Strength Comparative values?
To construct a Comparative Relative Strength Exploration in MetaStock, please use the following steps below for your version of MetaStock:
MetaStock 8 – 10.1
With the newer versions of MetaStock this can now be done with the Security Data Function.
To construct a Comparative Relative Strength Exploration in MetaStock for Windows version 8.01 perform the following steps (This example will reference online data from Reuters DataLink, specifically the S&P 500):
Open the Tools menu
Select the Explorer
Click New
Name it Relative Strength Comparative
Select the Column A tab:
Enter the following formula: C/Security(“ONLINE:.SPX”,C)
Click OK
Run the Exploration
The results are displayed in the exploration report. They can be ranked by selecting the column header.
MetaStock 6.52 – 7.X
In versions of MetaStock for Windows prior to 8.01, this had to be done using the “P” variable and required you to open the chart of the index to be compared against.
To construct a Comparative Relative Strength Exploration in MetaStock for Windows, prior to version 8.01, perform the following steps:
Open the chart for the desired index.
Click to select the price plot (This will place small boxes on the prices to designate that the price has been selected)
Create a custom exploration for the Relative Strength Comparative
Open the Tools menu
Select the Explorer
Click New
Name it Relative Strength Comparative
Select the Column A tab
Enter the following formula; C/P (Note: The P variable references the selected indicator in the active chart which would be the close)
Click OK
Run the Exploration
The results are displayed in the exploration report. They can be ranked by selecting the column header.
The Rahul Mohindar Oscillator
What sets MetaStock apart? Well, succinctly stated from the unbiased perspective of the MetaStock sales team; “a lot”. MetaStock feature after MetaStock feature has become the industry standard. Data, charting, back testing, speed and power of , the Explorer, the Expert Advisor, user defined analytics, 150 indicators and line studies, performance systems, unsurpassed support that is free for life… the list goes on and on. One of the most popular, if not revolutionary, features has been the legendary Rahul Mohindar Oscillator (RMO).
The RMO was developed by the famed trader and CNN and CNBC India analyst Rahul Mohindar. It took Asia by storm and now, as released by MetaStock, has become a worldwide phenomenon.
The RMO uses five indicators to detect the correct overall trends in financial markets. It uses multiple criteria to identify a trading opportunity – and provides rules for getting out of a trade; working across any timeframe for a wide variety of securities including stocks, commodities and FOREX.
No system is “one size fits all” or can claim the merits of a crystal ball but the RMO has been successful for legions of users giving them high levels of confidence in their trades by getting them in with the primary trend while keeping a close eye on the swing in the market and market sentiment.
As one customer told me, “The RMO system is truly a winner…the RMO Buy/Sell signals have been fantastic.”
What sets MetaStock apart? The RMO has been a very powerful tool for many, many users and is exclusive to MetaStock. If you are looking for a little more of a trading edge; check out the RMO in MetaStock 10.
Call (800) 587-8014 if you have questions about how MetaStock will improve your trading odds using the RMO or any of our 26 trading systems and unparalleled tools.
Contributed by Greg Allred
Thông tin của chủ đề
Users Browsing this Thread
Có 2 thành viên đang xem chủ đề này. (0 thành viên và 2 khách vãng lai)
Similar Threads
-
Những series bài hay về phần mềm phân tích kỹ thuật AmiBroker
By tigeran in forum Phân tích kỹ thuật AmiBrokerTrả lời: 37Bài viết cuối: 15-11-2016, 04:27 PM -
Phần mềm phân tích kỹ thuật
By waterloo1815 in forum CLB Chứng khoánTrả lời: 2Bài viết cuối: 28-10-2009, 11:32 PM
Bookmarks