Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 11:07:39 +0000



[Programming Help] - Maximum Position Allowed

View Count: 21

[2025-09-14 21:25:41]
User851325 - Posts: 1
Hi, I wrote a very simple bot to buy at certain levels while I'm sleeping using ACSIL without the spreadsheet trading system study attached. I'm getting this error while using replay and simulated trading.

2025-09-14 16:56:10.254 | Auto-trade: Replay 15X: MESU5.CME 1 Min #1 | TheLevelsBot | BuyEntry | Bar start date-time: 2025-09-12 15:41:00.000 | BuyEntry signal is ignored because maximum Long 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

Where is this maximum position allowed setting? I've been to the support board. I've been here:

Automated Trading Management: MaximumPositionAllowed

but I still can't find this setting. The only place I have seen it is in the spreadsheet system for trading study but I don't have it attached to the chart and it's default is 1000.

Hopefully, I'm not missing something obvious and wasting someone's time.

Thank you

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

Login

Login Page - Create Account