Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 14:27:49 +0000



DOM trading question

View Count: 592

[2019-09-27 18:16:26]
KenG - Posts: 13
I am wondering if I can use the "limited" trading functionality built into the trading DOM for this type of trading scenario, or if I need to build a spreadsheet trading app. I use the DOM already for many functions, brackets, trailing S/L's, take profits etc, but here is a description of the scenario I would like to automate, using /ES as an example:

Current price - 2950 Set up and enter the following as a single "order"

If price hits 2980 go long and set up a take profit at 3000 and a stop loss at 2960 [and cancel the pending short order described next]
or if the price drops and hits 2930, cancel the pending long order[along with its attached S/L and T/P] and go short with a take profit at 2900 and a S/L at 2950.

I have looked at the DOM programming functionality and cannot figure out how to enter both sides of this potential scenario at the same time.

Is this doable directly via DOM functionality, or must it be done via spreadsheet [or perhaps another way?]

Thanks!!
[2019-10-01 12:26:05]
Sierra Chart Engineering - Posts: 104368
From our perspective this is hard to follow all of the details of this, but if the built-in functionality does not do what you want, then you should create your own custom order entry study. Have a look at /ACS_Source/OrderEntryStudies.cpp file in the Sierra Chart installation folder.

And also refer to:
Advanced Custom Study Interface and Language (ACSIL)
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