Login Page - Create Account

Support Board


Date/Time: Fri, 20 Sep 2024 07:43:09 +0000



Pivot Points Daily acsil code not compiling

View Count: 1277

[2014-09-17 11:35:04]
Hendrixon - Posts: 130
It gives this error:

C:\Windows\cc3lOXH9.o:my_Pivot_Points_Daily_Lower_Processing.cpp:(.text+0x82b): undefined reference to `CalculateDailyPivotPoints(s_sc&, int, int, int, SCGraphData&, SCDateTimeArray&, int, int, int, int, float, float, float, float, int, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&)'
collect2.exe: error: ld returned 1 exit status

The code unchanged taken from studies7.cpp
[2014-09-17 17:26:40]
Sierra Chart Engineering - Posts: 104368
You also need to include this function in your source code file:
CalculateDailyPivotPoints

It is located in SCStudyFunctions.cpp
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
[2014-09-17 22:28:51]
Hendrixon - Posts: 130
Only After I copied both "CalculateDailyPivotPoints" and "CalculatePivotPoints" into my source code, it compiled.

But shouldn't the following statements do the work without the need to copy whole functions?

#include "sierrachart.h"
#include "scstudyfunctions.h"
[2014-09-17 22:38:15]
Sierra Chart Engineering - Posts: 104368
No. You do have to copy those functions as well.
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