<h3>Stop Loss Calculation</h3>
I use this, works well for me.
<hr>
Developed by J. Welles Wilder and introduced in his book, New Concepts in Technical Trading Systems (1978), the Average True Range (ATR) indicator measures a security's volatility. As such, the indicator does not provide an indication of price direction or duration, simply the degree of price movement or volatility.
As with most of his indicators, Wilder designed ATR with commodities and daily prices in mind. In 1978, commodities were frequently more volatile than stocks. They were (and still are) often subject to gaps and limit moves. (A limit move occurs when a commodity opens up or down its maximum allowed move and does not trade again until the next session. The resulting bar or candlestick would simply be a small dash.) In order to accurately reflect the volatility associated with commodities, Wilder sought to account for gaps, limit moves, and small high-low ranges in his calculations. A volatility formula based on only the high-low range would fail to capture the actual volatility created by the gap or limit move.
Wilder started with a concept called True Range (TR) which is defined as the greatest of the following:
* The current High less the current Low.
* The absolute value of the current High less the previous Close.
* The absolute value of the current Low less the previous Close.
If the current high-low range is large, chances are it will be used as the True Range. If the current high-low range is small, it is likely that one of the other two methods would be used to calculate the True Range. The last two possibilities usually arise when the previous close is greater than the current high (signaling a potential gap down or limit move) or the previous close is lower than the current low (signaling a potential gap up or limit move). To ensure positive numbers, absolute values were applied to differences.
<hr>
I use this, works well for me.
<hr>
Developed by J. Welles Wilder and introduced in his book, New Concepts in Technical Trading Systems (1978), the Average True Range (ATR) indicator measures a security's volatility. As such, the indicator does not provide an indication of price direction or duration, simply the degree of price movement or volatility.
As with most of his indicators, Wilder designed ATR with commodities and daily prices in mind. In 1978, commodities were frequently more volatile than stocks. They were (and still are) often subject to gaps and limit moves. (A limit move occurs when a commodity opens up or down its maximum allowed move and does not trade again until the next session. The resulting bar or candlestick would simply be a small dash.) In order to accurately reflect the volatility associated with commodities, Wilder sought to account for gaps, limit moves, and small high-low ranges in his calculations. A volatility formula based on only the high-low range would fail to capture the actual volatility created by the gap or limit move.
Wilder started with a concept called True Range (TR) which is defined as the greatest of the following:
* The current High less the current Low.
* The absolute value of the current High less the previous Close.
* The absolute value of the current Low less the previous Close.
If the current high-low range is large, chances are it will be used as the True Range. If the current high-low range is small, it is likely that one of the other two methods would be used to calculate the True Range. The last two possibilities usually arise when the previous close is greater than the current high (signaling a potential gap down or limit move) or the previous close is lower than the current low (signaling a potential gap up or limit move). To ensure positive numbers, absolute values were applied to differences.
<hr>