Login Page - Create Account

Support Board


Date/Time: Sat, 19 Apr 2025 09:56:09 +0000



MaximumPositionAllowed=1 Where are you hiding this setting now?

View Count: 99

[2025-03-24 02:03:16]
DHTrading - Posts: 22
"Using Sierra Chart version 2747 (March 2025). Cannot place automated orders for more than 1 contract; Trade Service Log shows 'Max. Position allowed: 1'. Cannot find 'Maximum Position Quantity for Automated Trading' in Trade > Global Settings. Where is this setting located?"
[2025-03-24 02:05:53]
DHTrading - Posts: 22
2025-03-23 21:05:19.587 | Auto-trade: Replay 5.00X: NQM25-CME [C][M] 10.00 Range #3 | Trade Signal Reader | SellEntry | Bar start date-time: 2025-02-26 05:20:55.110 | SellEntry signal is ignored because maximum Short Position quantity allowed has been reached or would be exceeded with new order. Max. Position allowed: 1. Resulting Position without working orders: -2. Resulting Position with all working orders except exits: -2. Resulting Position with Market working orders: -2. Current Position: 0


I've looked all over. Cannot find where to change this from 1 to something higher.
[2025-03-24 03:16:28]
Sierra_Chart Engineering - Posts: 19276
Is this a Spreadsheet trading system or written using 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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-03-24 04:42:29]
DHTrading - Posts: 22
It is ACSIL
[2025-03-24 04:46:59]
DHTrading - Posts: 22
I'm a bonehead. It was a PEBKAC ID10T error:

if (sc.SetDefaults)
{
sc.GraphName = "Trade Signal Reader";
sc.AutoLoop = 1;
sc.FreeDLL = 0;
sc.MaximumPositionAllowed = 25;

I thought I put it in but apparently after review noticed I had forgotten to set it.
Date Time Of Last Edit: 2025-03-24 04:48:32
[2025-03-24 05:18:56]
Sierra_Chart Engineering - Posts: 19276
OK good that you found this. Here is the relevant documentation:
Automated Trading Management: MaximumPositionAllowed
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-03-24 07:09:57]
DHTrading - Posts: 22
I went through that a couple of times and couldn't get both brain cells to fire in the same direction. It's all squared away and working nicely now. Thank you for taking the time.

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

Login

Login Page - Create Account