Support Board
Date/Time: Thu, 13 Feb 2025 15:57:20 +0000
Post From: Can SC trail a stop N bars back, rather than at a fixed distance?
[2020-12-09 22:30:10] |
John - SC Support - Posts: 37929 |
One way to do this would be to use the Spreadsheet Formula to reference the previous bar that you want. Then use the Trade Management by Study study to control your Stop or Target based on the Spreadsheet Formula. For example, let's say you have a Moving Average as your first study and you want the Stop to follow the Moving Average from 10 bars prior to the current bar. You would add the Spreadsheet Study and put in the following formula: =ID1.SG1[-10] Then in your Trade Management by Study you set the Controlling Subgraph Reference to the Spreadsheet Formula Study and setup the rest of the information as desired. Refer to the following for the Spreadsheet Formula: Spreadsheet Formula And here for the Trade Management by Study study: Attached Orders: Study Controlled Targets and Stops For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |