Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 12:19:51 +0000



Post From: Multiple Trades Per Bar

[2018-08-07 23:29:46]
rahul - Posts: 167
I might have found the answer. According to this page,
Automated Trading Management: SupportReversals

it says "When a reversal order is given it will flatten the existing Position, and create a new Position which will have a quantity equal to the Order Quantity specified. Therefore, there must be an Order Quantity specified."

So, if I want to exit my current 1 long Position (Qty = 1) and enter 2 Short Positions, is it as simple as:

sc.SupportReversals = true;
NewOrder.OrderQuantity = 2;
sc.SellEntry(NewOrder);