1. Do we have any access in PowerLanguage to obtain how the Position Limits are set in a Signal/Strategy?
2. Do we have any programmatic control in PowerLanguage to change the settings of the Positions Limits in a Signal/Strategy when it is running on a chart/workspace?
Please see the partial screenshot for the Position Limits settings of the Signal/Strategy Properties to which the above questions refer.
Thanks.
Position Limits Questions
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Position Limits Questions
Not that I know.1. Do we have any access in PowerLanguage to obtain how the Position Limits are set in a Signal/Strategy?
Nope. But a workaround would be using CurrentEntries, possible in combination with CurrentContracts.2. Do we have any programmatic control in PowerLanguage to change the settings of the Positions Limits in a Signal/Strategy when it is running on a chart/workspace?