Coverting an indicator between e-signal and sierra charts?

  • Thread starter Thread starter bonfire09
  • Start date Start date
  • Tags Tags
    Charts
AI Thread Summary
Converting a JavaScript indicator from eSignal to Sierra Charts is feasible, but it requires understanding the Sierra Charts platform's specifics. Sierra Charts operates primarily with a high-level C++ language and utilizes a standard DLL interface for custom indicators. To successfully convert the indicator, one must access the Sierra Charts API and any available third-party SDK documentation, which outlines how to create custom studies. The key is to fill the SCStudyGraphRef structure with the appropriate data, aligning it with how Sierra Charts manages data compared to eSignal. If documentation is lacking, examining header files for definitions can provide necessary insights. Understanding the runtime environment and available scripting options on Sierra Charts is crucial for this conversion process.
bonfire09
Messages
247
Reaction score
0
One of my family member's trades the markets and wants to see that the indicator she has written in JavaScript for esignal can be converted to run on sierra charts?can this be done?
 
Technology news on Phys.org
Hey bonfire09.

I am unfamiliar with sierra charts, but from a programmer perspective what are the details of the sierra platform?

What run-time environment? (Web-based: Java-script or something java related, ASP, and so on or Non-Web based like Windows executables in COM, .NET, straight Win-32, MFC?)

Finally what's the API? Does it even have an API? If not can you use a scripting language?

If you answer the above, you'll end up finding the answer.
 
i think sierra charts is written in high lvl c++ language.
 
Can you get access to a 3rd party SDK with documentation for the API?
 
I took a quick look and it seems that a standard DLL is the interface that deals with exporting a specific structure (SCStudyGraphRef) from a list of functions.

What you will have to do is basically fill this structure with the right information and Sierra Charts will take it from there.

Look at the data definition of the structure and the helper methods used to populate the structure with the correct information and then look at all the functions you have to supply to Sierra Charts (i.e. all the declared functions in your DLL) and then write them.

I don't know what the structures are and how they are used, but essentially the way to start is to get all structures and sub-structures related to this SCStudyGraphRef and look at how Sierra Charts stores data vs how your other original one (e-signal) stores data.

If the documentation is weak, search all the header files directly to get the definitions: they have to exist other-wise you wouldn't be able to compile the custom DLL or use it to do what you need to do.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top