Analysis Techniques & Strategies
|ATRLength||Numeric||5||The number of bars to include in the calculation of the average true range.|
|NumATRs||Numeric||2||Multiplier of the average true range, added to the price of entry to determine the stop value.|
|NumBars||Numeric||5||Number of bars into a position at which the trailing stop is activated.|
Long exit based on the amount of profit generated in relation to the market volatility.
This strategy calculates a market-based profit target and a delayed trailing stop. The profit target is calculated as NumATRs (Input) times the average true range of the last ATRLength (Input) bars above the entry. The delayed trailing stop will take effect once the number of bars in the position exceeds NumBars (Input).
Order Name: MktTgtLX-Lim, MktTgtLX-Stop
Related Strategy: Profit Target SX
Related Function(s): AvgTrueRange