Caspian101 5 posts msg #121391 - Ignore Caspian101 |
8/25/2014 11:16:21 AM
If you're a regular trader, setting the right stop losses is very important to preserving the profitability of stocks. In this simple filter, I have used the 'Average True Range' (ATR) as a measure of a stock's volatility to set stop loss percentages.
You can just input your various stock tickers in the first line and run the filter; it will then suggest four percentage stops for your various stocks based on the ATR of each stock:
- Min (the actual ATR over your time period)
- Tight (the ATR times 1.5) - Good for short term swing trade protection
- Med (the ATR times 2) - Good for holding over the slightly longer term and giving the stock room to breathe
- Loose (the ATR times 2.5) - Good for holding stock for slightly longer
The code in the filter isn't especially elegant, so if you can make it more efficient, please feel free to do so. Hope this is helpful!
|