Support Board
Date/Time: Thu, 30 Apr 2026 04:56:00 +0000
[Programming Help] - Alert triggered program [call] produces a command shell over chart for each call.
View Count: 54
| [2026-04-29 13:35:04] |
| Spidur - Posts: 14 |
|
Getting momentary flash of dialog when supplying program upon triggered alert. so, in other word in settings: globalset->alerts->Run Program when this Alert Triggered (for Alert 1) and for entry, in the value of above, enter a minimal program such as good_day_sc.exe: int main(int argc, char **argv){ return; } Result will be a blank screen dialog box over currently displayed chart when alert is called, executes and returns momentarily. The dialog box has been verified, i believe, to be from sierrachart and not my program. What i'm wondering, is this how the program is supposed to work; as it produces a dialog box for each call and if lots of alerts are being made, this will result in a flock of black screens until all such command shells exit. I believe provision to launch the command minimized could be made which should eliminate this; however, i am not sure how this would be generally supported. Currently sierra chart doc on this advises users to put a pause or getchar() call to cause the command shell, made visible to launched program, so the users may debug. If they made the launched cmd.exe/program not visible then it would be more difficult to support. But as real user with application being build around this, it's inconvenient to have our beautiful charts being blackened by popup windows. |
| [2026-04-29 22:51:35] |
| Sierra_Chart Engineering - Posts: 23650 |
|
This is marked as Programming Help. Maybe someone can help you 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-04-29 23:05:15] |
| seandunaway - Posts: 381 |
|
your minimal program is using window's console subsystem.. when compiling use the linker to select window's gui subsystem and use the entry point WinMain() edit: also how dare you return nothing when you declared the function returns an int :) Date Time Of Last Edit: 2026-04-29 23:16:42
|
To post a message in this thread, you need to log in with your Sierra Chart account:
