Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 07:20:13 +0000



Post From: Create a New Custom Study

[2021-09-17 12:50:58]
SierraTraders - Posts: 69
Hello, Can anyone look at this study and help with this issue please

The remote build did not succeed. Result:

In file included from sierrachart.h:22,
from UTP_Pro.V4.cpp:1:
UTP_Pro.V4.cpp: In function 'void scsf_ProfitLossTextStudy(SCStudyInterfaceRef)':
scstructures.h:117:28: error: expected unqualified-id before string constant
117 | #define SCDLLEXPORT extern "C" __declspec(dllexport)
| ^~~
scstructures.h:117:28: note: in definition of macro 'SCDLLEXPORT'
117 | #define SCDLLEXPORT extern "C" __declspec(dllexport)
| ^~~
UTP_Pro.V4.cpp:18:1: note: in expansion of macro 'SCSFExport'
18 | SCSFExport scsf_ProfitLossTextStudy(SCStudyInterfaceRef sc)
| ^~~~~~~~~~
UTP_Pro.V4.cpp:26:49: error: expected ']' before ';' token
26 | SCInputRef Input_ShowClosedPL = sc.Input[7;
| ^
| ]
UTP_Pro.V4.cpp:51:3: error: 'Input_HorizontalPosition' was not declared in this scope; did you mean 'Input_VerticalPosition'?
51 | Input_HorizontalPosition.Name.Format("Horizontal Position From Left (1-%d)", (int)CHART_DRAWING_MAX_HORIZONTAL_AXIS_RELATIVE_POSITION);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| Input_VerticalPosition
attachmentUTP_Pro.V4.cpp - Attached On 2021-09-17 12:48:06 UTC - Size: 4.81 KB - 281 views