Support Board
Date/Time: Wed, 12 Feb 2025 18:23:22 +0000
Order Errors
View Count: 594
[2020-11-09 20:51:48] |
User788984 - Posts: 31 |
I am getting the following error when trying to run my custom dll: Chart: MNQZ20_FUT_CME[M] Renko 25t #1 | Study: MACD Trading | Order submit error (code: 0) | 2020-11-09 15:44:59.613 * Any idea what I may be doing wrong? Advantage Futures Denali Feed FIX order routing |
[2020-11-10 02:12:48] |
Sierra Chart Engineering - Posts: 104368 |
Refer to this section here regarding this: 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 |
[2020-11-10 15:39:31] |
User788984 - Posts: 31 |
Thank you. That was helpful. Here is what I found...how do I control allowable number of shares/contracts? Auto-trade: MNQZ20_FUT_CME[M] Renko 25t #1 | MACD Trading | BuyEntry | Bar start date-time: 2020-11-09 15:49:46.663 | BuyEntry signal is ignored because maximum Long Position quantity allowed has been reached or would be exceeded with new order. Max. Position allowed: 1. Resulting Position without working orders: 3. Resulting Position with all working orders except exits: 3. Resulting Position with Market working orders: 3 | 2020-11-09 15:50:00.764 |
[2020-11-10 18:49:55] |
Sierra Chart Engineering - Posts: 104368 |
You need to use this automated trading management variable: Automated Trading Management: MaximumPositionAllowed 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: