Login Page - Create Account

Support Board


Date/Time: Sat, 16 Aug 2025 23:09:56 +0000



bringing in code for a custom study

View Count: 76

[2025-08-14 00:40:01]
User362215 - Posts: 18
I have microsoft visual and have code saved using that program into sierra chart acs file with .cpp. When I select the file the message box pops up so it doesn't want to do anything with that code. I hope you can help me ...Thanks, Todd
[2025-08-14 15:23:27]
Sierra_Chart Engineering - Posts: 20651
No we cannot help with this. This is outside the scope of our support and we do not even understand this anyway.
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
[2025-08-15 15:04:49]
ForgivingComputers.com - Posts: 1102
I have Microsoft visual and have code saved using that program into sierra chart acs file with .cpp. When I select the file the message box pops up so it doesn't want to do anything with that code. I hope you can help me ...Thanks, Todd

This sounds like a Windows configuration issue and has nothing to do with Sierra Chart.

Are you "selecting" the file in the Windows File Explorer by double-clicking on it?

Selecting is a single-click, opening the file is a double-click. Every file type that can be opened by an application needs a default application to open it. Most applications make this association during installation.

The message box sounds like a Windows Dialog box indicating there is no default application for CPP files.

If that is the case, you need to make an association between CPP files and Visual Studio. This only needs to be done once.

1. Right-click on the file in File Explorer and select Properties

2. In the General tab you want the "Opens With:" application to be Microsoft Visual Studio. If it isn't set then click Change, and locate the App.

3. Click Set Default.

If by "bringing in code for a custom study" you mean building a DLL, then the above should work. You will want to compile the CPP code on the Analysis>>Build Custom Studies DLL menu.

You can also set the Default Editor for use within the Build menu: Advanced Custom Study Interface and Language (ACSIL): Setting the Default Code Editor
Date Time Of Last Edit: 2025-08-15 15:12:19

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

Login

Login Page - Create Account