Positions restriction


Category:
0
0

Hello.
I am interested in whether there is an opportunity in thinkorswim to set a certain limit on the number of trades during one trading session.
For example, the strategy makes five trades during session, but only the first three must be done. How can I solve this in TOS?

Many thanks.

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on September 6, 2017 11:01 am
46 views
0
Private answer

The solution to this is quite complex. I suggest you contact us about initiating a custom thinkscript project. You can our rates, get details and fill out the contact form here: https://www.hahn-tech.com/about/

The complexity is due to the need to count each entry and keep a running total. (a relatively simple task, until we try to do this in a Strategy) From thinkscript, we cannot read when a strategy has entered a position. We can only provide entry signals and the strategy may or may not take the entry based on several factors. So we have to look at your code and determine if there is a method to achieve what you request.

There is no “setting” on the platform to handle this. It must be written into the code itself.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on September 6, 2017 4:27 pm