Support Board
Date/Time: Sat, 05 Jul 2025 03:35:07 +0000
[Programming Help] - where can i open a cpp file to edit?
View Count: 2292
[2018-08-20 15:54:11] |
User271989 - Posts: 44 |
i am layman in coding but i need tro try to remove part of code of my study wich a STUPID dev forced me to accept Sierra has a editor? I cant find this. Date Time Of Last Edit: 2018-08-20 15:59:09
|
[2018-08-20 18:29:26] |
|
A good place to start would be the Step-By-Step Instructions on the How to Build an Advanced Custom Study from Source Code page here: How to Build an Advanced Custom Study from Source Code: Step-By-Step Instructions To edit the CPP file you can use Notepad++, which by default is preinstalled with Sierra Chart. 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-08-20 18:29:44
|
[2018-08-21 01:59:57] |
User271989 - Posts: 44 |
thanks. I am asking a friend to help me. He made a few changes in the CPP file. What i should do now?
|
[2018-08-21 15:29:47] |
User271989 - Posts: 44 |
i get this error even bofere edit the cpp.
|
![]() |
[2018-08-21 15:49:52] |
Xfanman1 - Posts: 320 |
Try using the Remote Build to compile your .dll instead of the one you're attempting to use. -- Scott |
[2018-08-21 17:25:08] |
User271989 - Posts: 44 |
Sorry but how can I do that?
|
[2018-08-21 17:31:19] |
Cavalry3162 - Posts: 523 |
you can not compile a header file into a dll.. choose the proper file (your .cpp file) when trying to compile
|
[2018-08-21 17:38:27] |
Xfanman1 - Posts: 320 |
Select your .cpp file as Andreas said above. Then select Remote Build and if your .cpp file is correct you'll get your .dll file built and added to your SC Data folder. See my attachments below --> -- Scott |
![]() ![]() |
[2018-08-21 18:12:44] |
User271989 - Posts: 44 |
Many many thanks. i will leave the strategy running but will explain here what i am trying to do so maybe all you can help me further there something in this code wich disables trading everytime i get a error from the exchange i wish to remove it see the image, what i did now to test is simple delete line 1239 wich i believe is the part of code responsible for make the strategy turns off after receive a order rejection message do you believe this is what is disabling the strategy? delete only line 1239 is enough or should i delete all "traing_en" lines? thanks in advance |
![]() |
To post a message in this thread, you need to log in with your Sierra Chart account: