Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 09:45:50 +0000



Post From: How to limit the number of open trades

[2018-11-14 06:50:45]
Sierra Chart Engineering - Posts: 104368
We tested sc.MaximumPositionAllowed = 1;

In the sc.SetDefaults code block and it did work properly:

Auto-trade: Replay 60X: YMZ18 1 Min #1 | Trading Test 2 | BuyEntry | Bar start date-time: 2018-11-13 21:13: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 | 2018-11-14 01:48:26

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
Date Time Of Last Edit: 2018-11-14 06:51:08