Support Board
Date/Time: Sun, 22 Dec 2024 09:06:43 +0000
Post From: Pain in the head trying to add a moving average to this study
[2015-04-16 09:49:09] |
Sebastian_M - Posts: 70 |
Hi ehlaban, I changed the subgraph to 1 on the float line, also I looked at the link as I was writing the code, but I do not understand how I just reference the MA, as I do not want to display it on the chart. Am I leaving out any code from the link? I tried to compile and get this error. -- Starting build of Custom Studies Source files: Seb_Code_Test.cpp. -- 10:42:25 "C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\Seb_Code_Test.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\Seb_Code_Test.dll" C:\SierraChart\ACS_Source\Seb_Code_Test.cpp: In function 'void scsf_Seb_Rising_test(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\Seb_Code_Test.cpp:53:2: error: expected ')' before '{' token { ^ C:\SierraChart\ACS_Source\Seb_Code_Test.cpp:67:1: error: expected primary-expression before '}' token } ^ C:\SierraChart\ACS_Source\Seb_Code_Test.cpp:67:1: error: expected ';' before '}' token -- End of Build -- 10:42:26 any help would be greatly appreciated Date Time Of Last Edit: 2015-04-16 09:49:44
|
Seb_Code_Test.cpp - Attached On 2015-04-16 09:45:53 UTC - Size: 2.48 KB - 428 views |