Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 01:22:18 +0000



Post From: Custom Study Compilation Fails —

[2025-05-09 13:11:50]
User431178 - Posts: 669
Not Sierra Chart support, but I answered this and your other post.
The other post has a reply with updated working code, I compliled and tested it.

Custom Study Compiles but Not Recognized or Executed in Chart Replay Mode

Something that you can add to your code that might help if you still have problems.
Add this into the block where you make the buy entry attempt, it adds a message to the trade service log with the error reason.


if (result < 0)
sc.AddMessageToTradeServiceLog(sc.GetTradingErrorTextMessage(result), 0, 1);

Date Time Of Last Edit: 2025-05-09 13:12:34