Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 06:11:20 +0000



Multiple sim accounts same chart?

View Count: 1084

[2016-06-30 04:34:09]
enemyspy - Posts: 304
from referring to this link:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#SubmittingOrdersDifferentSymbolAccount

I am trying to have one chart Trade multiple systems/signals in different accounts. I need it to trade all of these systems at once. Because it stores the outcomes of all those signals, and other stats at the time of the trade, and sends the signals to a different chart/ second layer that evaluates all those signals based on the historical stats attached to them, and decides if the signal should be traded live in addition to the sim trade. The thing is when I go to the trade activity log all the trades are stored in one account (Sim1). You will probably say I should trade all the systems off seperate charts. Which would take some doing but could be done this way. I would just like to avoid it at all costs because it will be slower. Is there something wrong with the way I have set this up below?

Any way I have the code set up with the following for unmanaged trading:


sc.AllowMultipleEntriesInSameDirection = true;
    sc.AllowOppositeEntryWithOpposingPositionOrOrders = true;
    sc.CancelAllOrdersOnEntriesAndReversals = false;
    sc.AllowOnlyOneTradePerBar = false;
if(UseSignal1)
{
s_SCNewOrder NewOrder;
NewOrder.TradeAccount = "Sim1";
//The rest of the order details are there but omitted;

if(BuySignal)
{
sc.BuyOrder(NewOrder);
}
if(SellSignal)
{
sc.SellOrder(NewOrder);
}
if(UseSignal2)
{
s_SCNewOrder NewOrder;
[b]NewOrder.TradeAccount = "Sim2";[/b]
NewOrder.OrderType = SCT_MARKET;
//The rest of the order details are there but omitted;

if(BuySignal)
{
sc.BuyOrder(NewORder);
}
if(SellSignal)
{
sc.SellOrder(NewOrder);
}
if(UseSignal2)
{
s_SCNewOrder NewOrder;
[b]NewOrder.TradeAccount = "Sim2";[/b]
NewOrder.OrderType = SCT_MARKET;

if(BuySignal)
{
sc.BuyOrder(NewOrder);
}
if(SellSignal)
{
sc.SellOrder(NewOrder);
}

Date Time Of Last Edit: 2016-06-30 04:34:42
[2016-06-30 05:45:36]
Sierra Chart Engineering - Posts: 104368
We tested trading a different Trade Simulation account than the account for the chart the trading system is applied to. We tested with Sim3 and Sim5 and it worked properly. Even when these orders were entered one after another.

So there is no doubt there is a programming error that you are not recognizing. We do not provide programming help.
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
[2016-06-30 06:05:13]
enemyspy - Posts: 304
Ok not expecting programming help..But just want to be clear that if it is set up correctly. The trades should populate the trade activity log under there respective sim accounts?
[2016-06-30 06:08:54]
Sierra Chart Engineering - Posts: 104368
Yes this is correct. If an order is submitted for particular trade account, it will be identified using that particular account. There is not going to be a problem with this.
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

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

Login

Login Page - Create Account