Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 07:40:04 +0000



Custom Studies

View Count: 2109

[2014-06-23 19:18:15]
User55763 - Posts: 4
Hi, I would like to add a new custom study. However, in my Account Info I can see: Not enabled for any third-party provided custom studies. How can I enable new custom study?

Thank you,

Roman Pury
[2014-06-23 19:48:03]
Sierra Chart Engineering - Posts: 104368
Where does this study come from? Something that you have developed yourself.
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
Date Time Of Last Edit: 2014-06-23 19:48:15
[2014-06-23 20:00:36]
User55763 - Posts: 4
No, I did not developed it myself. It has been sent to me as a member of a trading course.

/* Relative Volume Study

Copyright (C) Bob Duffy 2013 bobduffytrading@gmail.com

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at
http://www.gnu.org/licenses.

[2014-06-23 20:19:50]
Sierra Chart Engineering - Posts: 104368
Therefore, follow the instructions here to use it:
http://www.sierrachart.com/index.php?l=doc/doc_DLLUsage.html#ACS

It does not require any authorization by the developer.
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-06-24 17:24:35]
User55763 - Posts: 4
I have tried to follow the instructions but unfortunately, it doesn´t work.

My custom study is in .cpp file. I have downloaded the compiler and tried to convert the study to .dll file. As far as I can judge, the compiling process was succesfull:

-- Starting build of Custom Studies Source files: relVolume.cpp. -- 18:59:44

"C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\relVolume.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\relVolume.dll"

-- End of Build -- 18:59:45

However, I can´t find the resulting .dll file in C:\SierraChart\Data\relVolume.dll nor can I find the study directly in Custom Studies of Sierra...

Do you have an idea, where could the problem be?

I attach part of the code, is there anything wrong with it?

/* Relative Volume Study

Copyright (C) Bob Duffy 2013 bobduffytrading@gmail.com

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at
http://www.gnu.org/licenses.

*/

#include "sierrachart.h"
SCDLLName("RelVolume4j")

// #define FREE_DLL 0 // Set nonzero to make study reloadable

bool isWeekendDay(const SCDateTime& dateTime);
SCString fmtDateTime(const SCDateTime& dateTime);

SCSFExport scsf_RelativeVolume24j(SCStudyGraphRef sc)
{
SCSubgraphRef relV = sc.Subgraph[0];
SCSubgraphRef cumV = sc.Subgraph[1];
SCSubgraphRef avgV = sc.Subgraph[2];

...etc

Thank you for advice. Roman Pury


[2014-06-24 17:50:40]
Sierra Chart Engineering - Posts: 104368
Follow the instructions here:
Resolved: No DLL File Generated with Built-In Sierra Chart Compiler
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
[2018-07-30 12:07:26]
CTBSD - Posts: 10
I copied the following files into a new computer. Super simple and everything works exactly the same except on error.

ESU18 [CB] 5 Min #6 | Error loading Custom Studies DLL: C:\SierraChart\Data\relVolume_64.dll. Windows error code 126: The specified module could not be found. | 2018-07-30 08:05:10 *

I see the file relVolume.dll in my data folder. Is the _64 the issue?


Data Files Folder
Accounts.config
GlobalSymbolSettings.xml
KeyboardShortcuts.config
ListedTradeOrders.xml
SCStudiesDefSettings.ini
Sierra3.cfg
TradeActivityLog.dat
TradePositionData.xml
[2018-07-30 17:14:45]
Sierra Chart Engineering - Posts: 104368
The problem would seem to be that particular DLL file has another dependent file which is missing. You need to contact the developer about that. We do not know.
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