Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 02:13:24 +0000



[Programming Help] - Adjust position size on DOM based on ATR

View Count: 687

[2020-11-23 17:54:31]
User5444468a - Posts: 4
Hi,

I've been using the DOM window for manual trades.

My position sizes and stops depend on a one-line formula based on 20p ATR + my account balance. (I risk 1% per trade adjusted for recent volatilty).

Currently, I have a seperate python program that calculates the size for me, displays a GUI, and I manually enter this number into SierraCharts DOM window and save the configuration every single day. Very tedious.

Is there a way to code something in Sierra to enable me to automate this process.
[2020-11-23 20:07:27]
John - SC Support - Posts: 30953
Yes, but it is up to you to code it, or to find someone to do it for you. Refer to the following information on creating a custom study using ACSIL:
Advanced Custom Study Interface and Language (ACSIL)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-12-01 16:40:33]
User5444468a - Posts: 4
So I build a custom study, but can I set the variables in the DOM window (targets, stops, size, trail to breakeven offset) from this custom study?

If so what are the variable names?
[2020-12-08 02:17:48]
User5444468a - Posts: 4
bump
[2020-12-08 02:20:06]
User5444468a - Posts: 4
Previous response gave 0 useful information on the variable names in the Trading DOM (or how to access them) and instead gave a link on how to write and compile custom studies.

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

Login

Login Page - Create Account