Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 19:34:05 +0000



IsSwingHighAllowEqual_S

View Count: 918

[2017-09-06 02:21:56]
ertrader - Posts: 681
The study "Swing High and Low" calls IsSwingHighAllowEqual_S. This study is located in studies6.cpp. When compiling, the following error occurs.

Can you please direct me how to resolve the error?
Thank you


C:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
SwingHighLow.cpp
Creating library SwingHighLow.lib and object SwingHighLow.exp
SwingHighLow.obj : error LNK2001: unresolved external symbol "int __cdecl IsSwingHighAllowEqual_S(struct s_sc &,int,int,int)" (?IsSwingHighAllowEqual_S@@YAHAAUs_sc@@HHH@Z)
SwingHighLow.obj : error LNK2001: unresolved external symbol "int __cdecl IsSwingLowAllowEqual_S(struct s_sc &,int,int,int)" (?IsSwingLowAllowEqual_S@@YAHAAUs_sc@@HHH@Z)
C:\files\Sierra_Data\SwingHighLow.dll : fatal error LNK1120: 2 unresolved externals
-- End of Build -- 21:19:18
Date Time Of Last Edit: 2017-09-06 02:22:59
[2017-09-06 16:25:43]
Sierra Chart Engineering - Posts: 104368
You need to include the IsSwingHighAllowEqual_S function from the SCStudyFunctions.cpp file.

Place this function above your main study function.
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

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

Login

Login Page - Create Account