Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 13:50:20 +0000



[Programming Help] - Writing a Study from Default Codes

View Count: 586

[2023-04-08 09:04:11]
Matias Quadro - Posts: 8
Hello, i have been looking for the answer to my question but i have not found anything yet.

I want to simplify the default study codes to fasten up data processing, how can i copy the default codes of the studies that i want to edit?
Are the ones on Study.cpp complete or are they missing important strings?

Thank you

(i am interested in: Time Price Opportunity, Volume Weighted Average price, Volume by Price, Number Bars and Number Bars Calculated Values)
[2023-04-08 11:10:46]
User431178 - Posts: 543
(i am interested in: Time Price Opportunity, Volume Weighted Average price, Volume by Price, Number Bars and Number Bars Calculated Values)

How to Build an Advanced Custom Study from Source Code: Source Code for Some Built in Studies Not Available
[2023-04-08 15:29:58]
Tony - Posts: 518
I don't think we have access to most default studies. TPO and VbP are always tricky,
I wouldn't bother, just not worth it, they are processed on each price level not on
indexes. Here is the document about process VbP with ACSIL:

ACSIL Interface Members - Variables and Arrays: sc.VolumeAtPriceForBars
[2023-04-08 23:44:11]
ForgivingComputers.com - Posts: 960
I don't think we have access to most default studies.

From a numbers standpoint, you do have access to the source code of most studies.

The more complicated studies, like TPO and VBP, are not available as explained here: How to Build an Advanced Custom Study from Source Code: Source Code for Some Built in Studies Not Available

VWAP is available in studies3.cpp.
[2023-04-11 09:50:52]
Matias Quadro - Posts: 8
Hi everyone

I was able to ask Bing's Chat GPT to write them for me,
thank you for your time.
[2023-04-11 14:59:39]
Tony - Posts: 518
Hi Matias Quadro,

That is pretty cool! Would you mind sharing how we can do that?
Do I have to use Edge web browser to access?

Thanks so much!
Date Time Of Last Edit: 2023-04-11 15:06:24
[2023-04-13 09:07:44]
Matias Quadro - Posts: 8
Hi

I used Bing Chat on "Creative" mode on Edge web browser, the message that worked that i sent was:

could you write sierra chart c++ default codes for the next studies? Moving average - Exponential Volume Weighted Average price Market Profile Volume By Price Market Depth Historical Graph

It only worked with this message in specific.. had to try a few times to get it right.
I hope it works for you too!

(every time it ends the message but you know the code was not entire just say: "was your last message entire? if not could you please continue")

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

Login

Login Page - Create Account