Login Page - Create Account

Support Board


Date/Time: Mon, 09 Jun 2025 22:34:37 +0000



[Programming Help] - TP set with Trade Management with Study

View Count: 419

[2022-12-04 14:31:02]
Tahir - Posts: 35
Hi guys,
I'm trying to set take profit based on ATR. Ie, If ATR is > 30, TP= 30 Ticks, If ATR is >50, TP =50 Ticks... Ideally I would have more than 3 conditions for varying ATR or even a formula like TP=ATR*2

I have found some information about using Trade management with study combined with line study but I couldn't understand where I would write the formula on the line study to set the line at a certain price based on ATR.

What would be the best approach for this?
Thank you
[2022-12-05 16:22:12]
John - SC Support - Posts: 40311
The easiest way is to use the Spreadsheet Formula study. You can write your formula in there and although it will not display as a flat line, the Trade Management by Study will adjust to the value of the most recent bar. Refer to the following:
Spreadsheet Formula
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-12-05 19:27:23]
Tahir - Posts: 35
Thanks for the response.

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

Login

Login Page - Create Account