Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:35:31 +0000



Compile Example Studies4.cpp

View Count: 486

[2021-06-10 14:38:59]
User230940 - Posts: 121
Hello,

I would like to compile the studies4.cpp.

I add a SCDLLName Part to the cpp and tried to compile. But this failed, because of missing link.

What do i have to do to create the studies4.cpp for my own?

Thanks for your help.

best regards
carsten
[2021-06-15 05:34:15]
Sierra_Chart Engineering - Posts: 14423
You need to extract out of that file, specifically the study function that you require. Refer to:
How to Build an Advanced Custom Study from Source Code

If you are wanting to use the Candlestick Patterns Finder study, then refer to:
CandleStick Patterns Finder: Changing Source Code
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
Date Time Of Last Edit: 2021-06-15 05:34:53
[2021-06-15 08:08:26]
User230940 - Posts: 121
Hi,

OK.

I add to the includes:
#include "CandleStickPatternNames.cpp"

Now I use for Studies4.cpp
#include "sierrachart.h"
#include "CandleStickPatternNames.h"
#include "CandleStickPatternNames.cpp"

Now it compiled without failure. You could state this more clear in the documentations. Or provide the possible to add additional files to compile with. The include of a cpp file is not the 100% correct way, if I remind myself right.

thanks
carsten

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

Login

Login Page - Create Account