Login Page - Create Account

Support Board


Date/Time: Thu, 06 Mar 2025 14:11:52 +0000



Trading System Opening Multiple Orders When Limit Is Hit

View Count: 477

[2022-02-01 22:00:52]
GG - Posts: 20
Hi,

Been using Sierrachart for few years now, but new to the autotrade feature.
While backtesting a system of crossing the middle band of VWAP I've run into an error.
I want only one open trade running at a time, but once my limit or stop is hit, it opens multiple trades at a time in the direction of the original trade. (E.g. Price crosses above middle VWAP, buy position active, stop loss (limit) hit, 12 more buy positions open)

Order Quantity: 1
Allow Multiple Entries in Same Direction: 0
Allow Entry With Working Order: 0
Maximum Position Allowed: 1

Buy Entry
=CROSSFROMBELOW(ID0.SG4@3:ID0.SG4@4, ID5.SG1@3:ID5.SG1@4)

Sell Entry
=CROSSFROMABOVE(ID0.SG4@3:ID0.SG4@4, ID5.SG1@3:ID5.SG1@4)

Using target and stop setting on Trade Window rather than L3 and N3, although I have tried to use those instead and the error still occured.

Thanks,
G. Hill
[2022-02-03 18:17:58]
Sierra Chart Engineering - Posts: 104368
So you end up with a Position Quantity of more than one? Double check the settings you mention.
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: 2022-02-03 18:18:08

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

Login

Login Page - Create Account