Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 17:23:09 +0000



Running automated study twice on same symbol and account

View Count: 534

[2019-08-07 13:59:11]
pappe88 - Posts: 22
I have an automated study which works well on 12 tick renko for long positions and well for 9 tick renko short positions.
I'd like to run the study for long setups on 12 tick chart and short on 9 tick chart on the same symbol and account.
Which you not support.

Since I have difficulties to test that in sim I'd like to ask you if I would see in a reliable way, in the long study, that the short study has already a position open by checking if position quantity is negative? I'd then would not open or modify existing positions in the long study.

Would that concept be "safe". Or is there an option to have 12 and 9 tick renkos on the same chart? Possibly not because sc.Index would be a mess, or not?
[2019-08-09 05:04:19]
Sierra Chart Engineering - Posts: 104368
You can certainly get the current position quantity in an automated trading study using this function:
Automated Trading From an Advanced Custom Study: Getting Trade Position Data

And there are various other variables in the returned structure, providing total order quantities combined with the current position quantity in order to determine what the potential quantity would be for orders which are in the process of being filled or pending.

Also refer to:
Automated Trading Management: Using Multiple Automated Trading Systems at the Same Time
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