Description
The VoltyExpanCloseLX strategy generates Long Exit signals based on the Average True Range (ATR) value: when the next bar's low price is less than the current close by the specified number of ATRs. A Long Exit signal is generated for the next bar at the level of the current close minus ATR times factor (thus emulating a stop order). However, if the next open price is less than this level, the strategy will use it instead.
Input Parameters
Parameter | Description |
---|---|
num at rs
|
The factor to multiply the Average True Range by. |
length
|
The number of bars to calculate the Average True Range. |
|
The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull. |
Backtesting is the evaluation of a particular trading strategy using historical data. Results presented are hypothetical, and there is no guarantee that the same strategy implemented today would produce similar results.
Technical analysis is not recommended as a sole means of investment research.
For educational purposes only. Not a recommendation of a specific security or investment strategy.