Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 22:34:04 +0000



Trail attached exit stop order with moving average

View Count: 474

[2022-06-21 07:18:12]
User243709 - Posts: 4
I would like to close open positions with stops trailing with the last closed moving average, and no other exit logic using attached orders only and not M and N columns.
- using "S" as buy/sell exit order and putting the price in J23 and J25 does not trail the orders.
- "Use attached orders" true and stop order type "Stop: trail stop" with offset provided in spreadsheet, trails stop with current traded price, whereas I want it to trail with previous candle close price. Changing offset after that only affects new orders from thenafter, not the already placed stop orders.
[2022-06-21 13:05:10]
Sawtooth - Posts: 4182
Use the Trade Management by Study study.
Attached Orders: Study Controlled Targets and Stops

You would directly reference the MA, or you could reference a spreadsheet Formula Column/subgraph that returns the price you want the SL to trail.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account