Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:35:40 +0000



Write Bar and Study Data To File Study - how to add symbol and bar period

View Count: 705

[2019-01-16 18:31:19]
User719310 - Posts: 23
Hi,

I am using the "Write Bar and Study Data To File Study" to write the study data to a text file, but it does not add the Symbol and Bar Period to the text file.

Eg: EU6H19 0.00050 Range

How can I do this - get the Symbol and Bar Period?

I know that I can get this info in the title of the text file, but I require it in the body of the text file as I am doing this for multiple symbols and bar periods.

Regards
James
[2019-01-16 19:28:23]
Sierra Chart Engineering - Posts: 104368
You will have to just make your own custom study to accomplish this.
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
[2019-01-16 19:51:17]
User719310 - Posts: 23
I'm new to this environment.

Can you give an example of a study, function or variable where the Symbol and Bar Period data is captured?
[2019-01-17 18:35:00]
Sierra Chart Engineering - Posts: 104368
For the symbol, use:
ACSIL Interface Members - Variables and Arrays: sc.Symbol

For the bar period, use:
sc.GetBarPeriodParameters()
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: 2019-01-17 18:35:12

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

Login

Login Page - Create Account