A stop-loss order is an order to close a position when it reaches a certain price. Stop-loss orders are designed to limit losses on a position. You can use the Portfolio Studies Block to define stop losses using: returnOnCostBasis, returnOnMaxReward, returnOnMaxRisk, or returnOnMargin.
Since losses are negative, be sure to use “<=” (less than or equal to) to define losses that exceed a certain limit. [returnOnCostBasis <= (-0.50)]
« Back to Glossary Index