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.

average type

The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull.
You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
The Stoller Average Range Channel (STARC) Bands are two bands plotted around a short-term simple ...
MOBO (Momentum Breakout Bands) study suggests that all markets and stock prices have a period ...