Login Page - Create Account

Support Board


Date/Time: Thu, 06 Mar 2025 17:21:36 +0000



Post From: Trading System Opening Multiple Orders When Limit Is Hit

[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