Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 16:02:54 +0000



ACSIL function for Log10

View Count: 814

[2017-07-19 21:51:08]
Neo - Posts: 198
Can you add an ACSIL function for Log10

eg


/* log10 example */
#include <stdio.h> /* printf */
#include <math.h> /* log10 */

int main ()
{
double param, result;
param = 1000.0;
result = log10 (param);
printf ("log10(%f) = %f\n", param, result );
return 0;
}

[2017-07-19 22:09:12]
Sierra Chart Engineering - Posts: 104368
It already exists in the C++ language. Just go ahead and use it.
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
[2017-07-19 23:27:03]
Neo - Posts: 198
OK.

If for example, there was an ACSIL function for Log10

Then in terms of SC study implementation, what would be more efficient- calling Log10 as an ACSIL function, or calling from math.h?
[2017-07-19 23:40:59]
Sierra Chart Engineering - Posts: 104368
It would not make any difference.
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