Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 18:59:35 +0000



Data Analysis

View Count: 1637

[2016-09-20 18:51:34]
User94740 - Posts: 333
I am wondering if there is a way in which I can analyze the complete data to find the best chart settings according to my methodology. Some settings have to be fixed such as date, time, and rollover, but my only variable is the number of trades. I need the ability to scan the variable with multiple settings, simultaneously and with as few opened windows as possible. Is this possible with SC? I have looked at the spreadsheet study, but it is chart dependent and settings are fixed with no chance to check multiple settings. I have also thought about the ACSIL, but am trying to understand how the rollover setting could be fixed. Would appreciate your comments. thank u
[2016-09-21 23:43:02]
User94740 - Posts: 333
since I may have a solution, thx anyway
[2016-09-22 19:34:09]
User94740 - Posts: 333
just in case, I would like to ask three questions before I get too far into this great endeavor. Is it possible with sc to do the following in a single custom study:

--test a variable with multiple inputs simultaneously

I would also like to know, if the above is possible, then how much it might cost and how long it might take for sc to create the custom study?

thx as always for the professional assistance.
Date Time Of Last Edit: 2016-09-22 19:41:16
[2016-10-04 20:29:56]
User94740 - Posts: 333
SC, I received no reply as of yet, but I understand your limited resources. If you have suggestions I would appreciate your input regarding the following strategies to test a variable simultaneously multiple times:

1. create small code files and have them funneled into a main file
2. use a certain data container with certain loop function

As stated before as well, if you had time how long it might take to complete such a code. I think the cost/hr is 50,00 usd

thx as always
Date Time Of Last Edit: 2016-10-05 09:38:21
[2016-10-04 22:31:16]
User94740 - Posts: 333
I would also like to know, if I need to place the following into the header or if they are included in #include "sierrachart.h"

#include <array>
#include <algorithm>
#include <iostream>
[2016-10-05 17:02:46]
Sierra Chart Engineering - Posts: 104368
In response to post #5, if you require those, you do need to add them before the #include "sierrachart.h" line.

We do not understand post #4 and programming help is definitely outside the scope of our support.
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
[2016-10-05 17:06:40]
Sierra Chart Engineering - Posts: 104368


As stated before as well, if you had time how long it might take to complete such a code. I think the cost/hr is 50,00 usd
Refer to:
https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

--test a variable with multiple inputs simultaneously
Yes this is possible.
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
[2016-10-07 00:03:40]
User94740 - Posts: 333
if I incorporate sc.RenkoTicksPerBar into a custom study and use a different setting in a calculation other than what is at the moment displayed on the chart, should I understand the calculation can only happen after the study has been applied with the new setting?
Date Time Of Last Edit: 2016-10-07 00:04:26
[2016-10-07 04:39:10]
Sierra Chart Engineering - Posts: 104368
This is documented here:
ACSIL Interface Members - Variables and Arrays: sc.RenkoTicksPerBar

Changes to that variable do not go into effect until after the study function returns.
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
[2016-10-12 22:14:07]
User94740 - Posts: 333
is it possible to float the Range Bar Value before the chart updates in order to make calculations? I am only asking if it is possible and if I am blessed you might have a suggestion?
[2016-10-12 23:35:04]
User94740 - Posts: 333
I would also like to ask if it is possible to create code which would change the chart settings after double clicking on a line within the alert manager window
[2016-10-13 00:03:51]
Sierra Chart Engineering - Posts: 104368
to float the Range Bar Value
We do not understand 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
[2016-10-13 00:21:00]
User94740 - Posts: 333
reply to #12:

sc.RangeBarValue updates the chart before I can perform any tests and I want to keep the chart from constantly updating while trying to check simultaneously various range bar settings for a specific pattern. I am also pondering the idea if I might have to somehow use BaseDataIn in some context. I appreciate any and all help.

PS my worst nightmare is if I have to build the range bars from scratch so-to-say.

PPS I would be blessed just to know if it is possible
Date Time Of Last Edit: 2016-10-13 00:51:24
[2016-10-13 01:39:50]
Sierra Chart Engineering - Posts: 104368
Not sure we understand this. So you are changing the value of sc.RangeBarValue?

Once you change it, then the chart will reload and use the new setting and then it will remain at that setting.
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
[2016-10-13 08:53:06]
User94740 - Posts: 333
yes, because I am trying to test for a specific pattern in various range bar settings

yes, but I want to keep the chart from reloading. I want to test without the chart constantly reloading due to the various range bar settings being tested.
[2016-10-13 09:45:00]
Sierra Chart Engineering - Posts: 104368
There is no way to prevent the reloading.
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
[2016-10-13 11:58:24]
User94740 - Posts: 333
thx and if I may, then I would like to ask the ultimate question: According to your understanding of how the software in conjunction with C++ works, is it possible at all to test simultaneously multiple range bar chart settings for a specific pattern?

PS would be great if I could an answer as well for posting #11
Date Time Of Last Edit: 2016-10-13 14:26:29
[2016-10-13 16:47:02]
Sierra Chart Engineering - Posts: 104368
The answer to post #11 is no.

The answer to post #17 is that you would need a separate chart for each pattern you want to test. But are you referring to performing a back test? If so, then you really want to do this in different instances of Sierra Chart.
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: 2016-10-13 16:48:20
[2016-10-13 17:39:43]
User94740 - Posts: 333
The answer to post #17

I think even one instance for a hundred charts for one symbol and in backtesting mode would be too little.

I am also looking at the possibility to take the BaseDataIn array for high and low of a chart with the lowest increment which would be 0.1 or range 1 in the case of Gold for example, set my desired range and somehow process the data into new range bars with some kind of looping. I guess it would be like building the range bars in the same way the chart builds them. Does my understanding seem possible?

thx for everything!

PS I am having trouble with a floating point type after compiling:

RangeValue.Name = "Range Bar Value";
RangeValue.SetFloat(1.0f);
RangeValue.SetFloatLimits(0.0f, MAX_STUDY_LENGTH);

sc.RangeBarValue = RangeValue.GetFloat();

warning C4244: 'argument': conversion from 'const int' to 'float', possible loss of data
Date Time Of Last Edit: 2016-10-13 17:43:59
[2016-10-13 17:49:05]
Sierra Chart Engineering - Posts: 104368
That would seem possible but we do not provide programming help.

The warning you can just ignore.
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
[2016-10-14 15:54:26]
User94740 - Posts: 333
sc.GetHighest()
//Get the highest high from the base graph over the last 20 bars
float Highest = sc.GetHighest(sc.BaseDataIn[SC_HIGH], 20);

Q: does this get the last 20 "completed" bars or does it take the bar in progress also into consideration?
[2016-10-16 04:38:16]
Sierra Chart Engineering - Posts: 104368
See:
Array Based Study Functions That Do Not Use the Index Parameter
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
[2016-10-17 00:18:49]
User94740 - Posts: 333
I am trying to understand why a simple custom study with a simple calculation and comparison sometimes works and fails. Attached is a screenshot showing green lines where it worked meaning the alert log(attached) registered correctly and red lines where it failed meaning the alert log failed to register the comparison. Attached is also the custom study code. In addition, the custom study also acted strangely in that it changed from a range bar chart to a time bar chart.

http://www.sierrachart.com/image.php?Image=1476662385776.png
Private File
attachmentTestHHLLTv1.cpp - Attached On 2016-10-17 00:14:36 UTC - Size: 1.79 KB - 225 views
[2016-10-17 02:24:45]
Sierra Chart Engineering - Posts: 104368
This is completely outside the scope of our support. You will need to consult with an outside programmer:
https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

And please do not tell us, that this is a question we have to answer. It simply is not.

If we could find a programmer for you for 35USD/hour would you be interested?
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: 2016-10-17 02:26:12
[2016-10-17 08:17:09]
User94740 - Posts: 333
yes, I would be interested.

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

Login

Login Page - Create Account