Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 18:57:16 +0000



Always return 0 for SellOrder or BuyOrder

View Count: 600

[2018-04-24 07:32:13]
User918856 - Posts: 1
Hello,

I tried with my demo account for SellOrder/ BuyOrder(or BuyEntry/ SellEntry) functions but they always return “0” so do you know is it my account issue or coding problem.

i also test with OrderEntryStudies in sample it return me the same value so that why i'm thinking its my account, do you have any idea for me to test these functions to buy or sell an order?

Regards,
John
[2018-04-24 20:18:27]
Sierra Chart Engineering - Posts: 104368
We had a careful look at this, and in no case, will these order action functions ever return 0.


It would appear to be a coding problem.


Also refer to:
Automated Trading From an Advanced Custom Study: Debugging/Troubleshooting Automated Trading Systems
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: 2018-04-24 20:19:34

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

Login

Login Page - Create Account