Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 23:45:52 +0000



Post From: stop based on most recent H/L

[2023-06-30 18:00:35]
John - SC Support - Posts: 36350
There really is not a good way to do exactly what you are wanting without creating a custom study. In terms of custom studies, refer to the following:
Automated Trading From an Advanced Custom Study

The best option we can think of for what you are wanting would be have the stop at the low of the previous bar and then it would move as a new bar is created. The way to do this would be to use the "Trade Management by Study" and use a "Spreadsheet Formula" study.

In particular, you would set the "Spreadsheet Formula" to reference the previous bar low, by using the following formula:
=ID0.SG3[-1]

Then use that study in the "Trade Management by Study". The Stop will then move to the low of the second to last bar. You can then turn off the study to stop it updating, if you want the stop to stay at that location. Otherwise it will update to the low of the second to last bar as a new bar is started.

Refer to the following:
Attached Orders: Study Controlled Targets and Stops

Spreadsheet Formula
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-06-30 18:01:12