Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 20:51:57 +0000



Post From: calling functions from another function

[2023-07-07 17:44:40]
WeroTrader - Posts: 46
Greetings, Sierra Chart team.

I'm trying to build a function for the SuperTrend indicator and I've run into a problem.

I already put the "#includes" for "SierraChart.h", and "SCStudyFunctions.h" and "Myfile.h" , but when I try to use the functions of "sc.MovingMedia", "sc.TrueRange", "sc. ATR" "sc.ValueFormat"; The compiler gives me an error indicating that "sc" has not been declared in this scope.

Could you give me a guide to know where I could check documentation to call the mentioned class of functions, from another function?