Support Board
Date/Time: Sun, 22 Dec 2024 19:07:24 +0000
Numeric Information Graph Draw help
View Count: 1374
[2015-05-01 13:31:38] |
User66746 - Posts: 15 |
Hello everybody i'm novice in language C++ and I don't find in ACSIL Interface Members the functions for display Ask volume, Bid volume, Delta volume,... in NumericInformationGraphDraw. My code source is based on the study 7 - NumericInformationGraphDrawTypeConfig in attachment. Thank you, best regards. |
NumericInformationGraphDrawTypeConfig.txt - Attached On 2015-05-01 13:30:23 UTC - Size: 2.72 KB - 527 views |
[2015-05-01 18:20:45] |
Sierra Chart Engineering - Posts: 104368 |
Ask Volume and Bid Volume are sc.BaseData members: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scBaseDataIn You can easily calculate the difference between the two. 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 |
[2015-05-01 18:25:29] |
User66746 - Posts: 15 |
ok I try thanks you
|
[2015-05-04 14:12:21] |
User66746 - Posts: 15 |
Hello, it doesn't work, my line Ask is empty, I don't understand my error, could you help me help please.
|
Source Code.txt - Attached On 2015-05-04 14:12:12 UTC - Size: 2.21 KB - 403 views |
[2015-05-04 17:11:09] |
Sierra Chart Engineering - Posts: 104368 |
This is because the Ask Subgraph is not set to anything. You need a line like this: Ask[sc.Index]= Value; 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 |
[2015-05-04 17:16:55] |
User66746 - Posts: 15 |
thank for answer but when build sierra write: " A:\SierraChart\ACS_Source\aTestcode.cpp: In function 'void scsf_NumericNumber(SCStudyInterfaceRef)': A:\SierraChart\ACS_Source\aTestcode.cpp:67:18: error: 'Value' was not declared in this scope Ask[sc.Index]= Value; " best regards |
[2015-05-04 17:32:32] |
Sierra Chart Engineering - Posts: 104368 |
Yes, this is expected. The Value variable we specified is just an example variable. You will have to assign the value that you want.
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 |
[2015-05-04 17:40:55] |
User66746 - Posts: 15 |
OK but which value?, I'm sorry I'm hopeless ^_^
|
[2015-05-04 18:10:36] |
Sierra Chart Engineering - Posts: 104368 |
We would not know the answer to this because we do not know what you want to do exactly.
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 |
[2015-05-04 18:12:28] |
User66746 - Posts: 15 |
I want just display the ask volume for the moment.
|
[2015-05-04 21:50:17] |
Sierra Chart Engineering - Posts: 104368 |
Therefore, use this: Ask[sc.Index]= sc.BaseData[SC_ASKVOL][sc.Index] 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 |
[2015-05-05 07:22:29] |
User66746 - Posts: 15 |
Thank it's Almost ready but I have a différence between the 2 value in my scan. Best regards
Date Time Of Last Edit: 2015-05-05 07:23:02
|
[2015-05-05 14:45:02] |
User66746 - Posts: 15 |
ok i'm sorry is find my error thank you so much!
|
[2015-05-05 16:29:13] |
User66746 - Posts: 15 |
Just last question, how do you calculted 2 variable? I want to subtract Down tick volume - Bid volume in example: Deltaupdowntick[sc.index]= (DownTickVolume[sc.Index] - Bid[sc.Index]); is correct?? thank you best regards |
[2015-05-05 18:06:45] |
Sierra Chart Engineering - Posts: 104368 |
Deltaupdowntick[sc.Index]= (DownTickVolume[sc.Index] - sc.BaseData[SC_BIDVOL][sc.Index] ) 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: 2015-05-05 18:07:19
|
[2015-05-05 18:14:06] |
User66746 - Posts: 15 |
A:\SierraChart\ACS_Source\aTestcode.cpp: In function 'void scsf_NumericNumber(SCStudyInterfaceRef)': A:\SierraChart\ACS_Source\aTestcode.cpp:95:22: error: 'struct s_sc' has no member named 'index' Deltaupdowntick[sc.index]= (DownTickVolume[sc.Index] - sc.BaseData[SC_BIDVOL][sc.Index] ) ^ A:\SierraChart\ACS_Source\aTestcode.cpp:100:2: error: expected ';' before 'if' if (Close[sc.Index] > Close[sc.Index-1]) ^ A:\SierraChart\ACS_Source\aTestcode.cpp:102:2: error: 'else' without a previous 'if' else and I try " Deltaupdowntick[sc.index]= (sc.BaseData[SC_DOWNVOL][sc.Index] - sc.BaseData[SC_BIDVOL][sc.Index] )" but it's not correct. sorry and thank you for your help. |
[2015-05-06 04:56:57] |
Sierra Chart Engineering - Posts: 104368 |
You need to use sc.Index This is case sensitive. 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 |
[2015-05-06 13:41:32] |
User66746 - Posts: 15 |
Thank you it's perfect ! byebye.
|
To post a message in this thread, you need to log in with your Sierra Chart account: