New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
back-test a strategy
Hi everyone and markd
Is it possible to write a scan to back-test a strategy ?
For instance, I want to test a strategy where one buys when weekly price closes above 40-week MA and sells then closes below 40-week MA.
Is it possible to write a scan to back-test such strategy ? Thanks for all your help.
Is it possible to write a scan to back-test a strategy ?
For instance, I want to test a strategy where one buys when weekly price closes above 40-week MA and sells then closes below 40-week MA.
Is it possible to write a scan to back-test such strategy ? Thanks for all your help.
0
Comments
-
The scan engine runs a scan for one specific date. You can back test a scan by running it for multiple, randomly chosen past dates. So in your case, I think you would have to run the scan for cross above, then review charts for the results to find the cross below. Then you would have to compile the results (per cent gain/loss, holding period) manually. Big job. For automated strategy testing you need something like Tradestation (which is expensive and has a learning curve).0
-
Hi Markd
Does Finviz does this kind of back-test ?0 -
Don't know. They do have a back test menu option if you are subscriber but I'm not familiar with it.0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area