Login Page - Create Account

Support Board


Date/Time: Mon, 30 Dec 2024 18:39:53 +0000



[User Discussion] - Line crossed ---> cancel orders

View Count: 1063

[2015-02-26 18:51:08]
phaedonk - Posts: 352
I am wondering if this can be incorporated into a study: Price is at 120, and you have a buy limit at 100. You put a horizontal line on the chart at 130 (let's say that was your target if you were filled) that if breached, all orders will be cancelled. i.e. I don't want to be filled anymore and would cancel my order if I had been in front of the PC.

This would be extremely helpful for users with no programming skills (I am assuming this could be programmed into ACSIL?) who want to semi-automate their watch on the market. It could further be developed in the future to also enter new orders when a price is reached, and I have some more ideas on it...but I'm getting ahead of myself.
[2015-03-01 20:11:33]
Sierra Chart Engineering - Posts: 104368
This can be done as a study.

We recommend looking at the source code for the "Trading: Triggered Limit Order Entry" study as a guide for a study like what you require.

Refer to this page for instructions:
https://www.sierrachart.com/index.php?page=doc/doc_BuildCustomStudiesDLL.html
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
[2015-03-15 12:56:07]
phaedonk - Posts: 352
I am trying the study in SIM, but the order will not activate when the trigger line is crossed. I followed the step-by-step instructions and enabled Auto trading in Trade menu. Any thoughts?

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

Login

Login Page - Create Account