Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 17:59:04 +0000



[Programming Help] - Resting Limit profit target BuyExit order with spreadsheet trading

View Count: 1264

[2017-08-24 23:03:18]
User29926 - Posts: 92
I have an indicator study that calculates the profit target level, displays the level and price with a line on the chart.

I use the $H$20 cell to capture and store the profit target value.

Is it possible to have a resting take profit limit BuyExit order that shows up on the chart waiting to be filled. Code snippet etc would be a great help?

I don't want an market order sent based on $E$3 >=$H$20.
Because in a fast moving market,the negative slippage may fill the order several negative ticks down from the profit target.
I will also be trading 2 contracts with a profit target for each contract.

I am also using a dynamic trailing stop that moves up based on a calculated value from the same indicator study stored in the $H$21 cell.
I plan to use the Trade Management by study to handle the trailing stop.

Thanks in advance for any help and/or code snoppet.
Date Time Of Last Edit: 2017-08-24 23:21:03
[2017-08-31 00:21:45]
User29926 - Posts: 92
Never mind on the request for assistance.
6 days later with no support after posting for assistance, I was able to figure it out myself.
Date Time Of Last Edit: 2017-08-31 00:23:19
[2017-08-31 04:10:57]
Sierra Chart Engineering - Posts: 104368
OK this is good. This was marked as a programming help thread, and was not within the scope of our support.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account