Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 22:37:00 +0000



[Programming Help] - INFO

View Count: 554

[2023-01-11 13:53:23]
pegssfx - Posts: 15
how do i take the source code of this file then encode it into metatrader 4/5 to make an ea? whenever it can be done
imageexample.png / V - Attached On 2023-01-11 13:53:07 UTC - Size: 68.14 KB - 105 views
[2023-01-11 15:33:22]
ForgivingComputers.com - Posts: 960
how do i take the source code of this file then encode it into metatrader 4/5 to make an ea? whenever it can be done

There is no easy way to do this. If you find a developer who is proficient in ACSIL (e.g. me) and MQL4 (e.g. not me), the difficult part is converting between the Indexing schemes. In Sierra Chart, bars are numbered from oldest (0) to newest: each bar has its own Index that doesn't change. In MQL4 the bars are numbers from newest (0) to oldest, so each bar changes its number as new ones are added.
[2023-01-11 16:29:36]
pegssfx - Posts: 15
but how do I get the code of the file? also would you be able to do what is right? or some of your collaborators? obviously paying
[2023-01-11 17:03:41]
ForgivingComputers.com - Posts: 960
Most standard Sierra Studies have available source code. Otherwise, unless you have access to the original cpp file(s), you cannot get the source code. Your best bet is to document everything being done on the chart and create it from scratch in MQL4. Of course, if you cannot tell how something is working, this may not be possible.
[2023-01-11 17:53:25]
pegssfx - Posts: 15
I have this graph, but how do I get into the cpp file? I have to go to analysis and then^?
[2023-01-11 18:38:07]
ForgivingComputers.com - Posts: 960
Open Study settings for each study and look at the lower left. If the DLLName.FunctionName is present, then search for the string in the Function Name that begins with "scsf_" in the ACS_Source folder using Find in Files (Ctrl-Shift-F) with Notepad++.
[2023-01-11 19:17:22]
pegssfx - Posts: 15
hmm I don't quite understand...
I open the chartbook, then I go to analysis --> New/Open custome files (see image step1). After doing this a window opens (see step2), in this window what should I select?
imagestep2.png / V - Attached On 2023-01-11 19:16:58 UTC - Size: 45.75 KB - 93 views
imagestep1.png / V - Attached On 2023-01-11 19:17:02 UTC - Size: 13.65 KB - 90 views
[2023-01-11 19:59:31]
ForgivingComputers.com - Posts: 960
Analysis>>Studies Then for each study in the Studies to Graph Window, Click Settings. The Settings and Inputs tab will have the information, if available.
[2023-01-11 20:26:26]
pegssfx - Posts: 15
when you have free time, could you send me the steps to do with the pictures please
[2023-01-11 20:31:40]
User431178 - Posts: 545
How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies
[2023-01-11 22:51:59]
pegssfx - Posts: 15
i have all this study but in notepad i cant find them
imagestudy.png / V - Attached On 2023-01-11 22:51:48 UTC - Size: 25.71 KB - 84 views
[2023-01-12 07:32:12]
User183724 - Posts: 183
you'll need to look for what you want in the study examples in ACS_Source. in your post above (#7) you posted two pictures. Step2.png shows several of the studies... anything with a .cpp file type is a study or studies example(s). However, I couldnt find Color Based on Alert Condition listed. they dont share all of their studies .... volume on price is another one they havent shared. you can write up a color bar based on alert in acsil pretty easy though... all the pieces are available to build it. as far as converting to another language, you'll probably need to reach out to one of the third party guys for a quote.
[2023-01-12 13:41:47]
pegssfx - Posts: 15
yes, thanks I managed to find the files and instead for the color based I have the code inserted here (see image), the problem is that now I need someone to encode from acs to metatrader4/5, do you know where I can look?
imageexample1.png / V - Attached On 2023-01-12 13:41:25 UTC - Size: 46.75 KB - 83 views
[2023-01-12 16:42:11]
User183724 - Posts: 183
https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account