Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 03:30:51 +0000



Post From: Attachted Orders on an Advanced Custom Study

[2014-01-01 14:38:43]
User17195 - Posts: 1
Hello, I' m a customer of Sierra Chart and I try to d oan advanced custom study.
It is an automatic trading system, but I' ve got a problem with Attachted Orders.
I do an example:

s_SCNewOrder NewOrder;
  NewOrder.OrderQuantity = 1;
  NewOrder.OrderType = SCT_LIMIT;
NewOrder.Price1 = sc.Close;
  NewOrder.Target1Offset = sc.High;
  NewOrder.Stop1Offset = sc.Low;

But when I go to see the backtest I see that it isn't correct.
I want to know if it is correct.
Thanks a lot.
Bye and a happpy new year.