Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 12:02:16 +0000



Volume by Price – auto start index input

View Count: 1447

[2016-11-16 08:08:29]
Marmany - Posts: 307
As part of my project to maximise the degree of automation in a trading strategy I need to be able to directly feed start index into a Volume by Price study drawing a From Start Date-Time to End profile.
This could be based on output from another transmitting study which calculates the start index as sc.GetPersistentInt(1) (from either a swing point or mouse input).
The Volume by Price study would take input from the transmitting study and could pick up the index with sc.GetStudyPersistentIntFromChart then check for sc.GetPersistentInt(1)
!=0, grab the start index then feed it into Volume by Price study to replace the Start Date and Start Time inputs.
Fully aware that Sierra have a high workload and am only asking for your support as code for the Volume by Price study has not been released.
Please consider this request to add a few additional lines of code to the Volume by Price study. The need for manual input of date and time has brought my automation project to a halt.
Many thanks.
[2016-11-18 10:15:36]
Sierra Chart Engineering - Posts: 104368
There is not anything we can do in the near term, but we do expect to be working with ACSIL during the first quarter of 2017 and the capability to change study Inputs of other studies will be added.
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-12-06 17:51:59]
Marmany - Posts: 307
Really appreciate your offer to allow Study Inputs to be accessed from another study when you work on ACSIL next year. I can foresee many applications for such functionality.
Looking again at my situation it is possible for my other studies to pick up the start index from the start of the current Volume by Price (VBP) Study profile so only one Date and Time input is now required.
Whenever a new start point is required the VBP study requires 5 mouse clicks + 1 x 10 character date input + 1 x 8 character time input. Agreed this is not the end of the world but on a typical day I will go through these actions 5 times on each of 3 platforms.
On other studies, I have reduced this to 1 cursor movement and one hot key hit. The following code works by simply holding the cursor above the desired Time and hitting a Hot Key shortcut to Custom Study Control Bar Button 3.

SCInputRef AutoInput = sc.Input[68];
if (sc.SetDefaults)
  {
    AutoInput.Name = "Enable One click Time Entry";
    AutoInput.SetYesNo(true);
    return;
  }
if(AutoInput.GetYesNo())
{
sc.ReceivePointerEvents = 1;

if (sc.MenuEventID == 3)
{
sc.SetACSToolEnable(SC_ACS_TOOL3, false); //one time use
StartDateTime.SetDateTime(sc.BaseDateTimeIn[sc.ActiveToolIndex]);
  
sc.FlagFullRecalculate = 1;
}
}

Hopefully you will be able to spare a few moments to investigate the possibility of adding this small module to the VBP study, before the more comprehensive work is undertaken on ACSIL.
[2016-12-07 05:07:40]
Sierra Chart Engineering - Posts: 104368
We are going to try to add the capability to set study inputs through keyboard entry from the main chart window very soon. Should be before the end of the month.
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
[2017-01-16 09:55:12]
Marmany - Posts: 307
Appreciate that you have a full workload at Sierra, however you indicated that the situation regarding study inputs might be looked into before end of December 2016.
I find that the module in #3 works perfectly for input of date and time via a single click / hot key, on ACSIL studies I have written.
As the source code for Volume by Price is not released, please have a look at adding the module to VBP Study as one of the "Quick Fix" items that you so often manage to find the time to implement.
Many thanks
[2017-01-16 19:11:33]
Sierra Chart Engineering - Posts: 104368
however you indicated that the situation regarding study inputs might be looked into before end of December 2016.

We have not had time to do this yet.

Regarding what is in post #3. We do not understand that, it is complicated and it is definitely not something that we would add. It is not part of our development to do specialized development requests within Sierra Chart for one user.
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
[2017-01-26 10:55:40]
Sierra Chart Engineering - Posts: 104368
In the next release it will be possible to use the keyboard to change study inputs directly from the chart window in the same way as changing the symbol of a 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
[2017-01-29 21:34:16]
Marmany - Posts: 307
Apologies if I have not expressed myself clearly enough in this thread.
My desire is to be able to input start date and time into the Volume by Price Study either from a single mouse click or direct feed from another study.
Typing the data into the chart header does not offer any significant benefit over input via Study Settings.
If the source code for Volume by Price was available I could add the code in Post #3 and feed in start date and time directly from a Hot Key picking up mouse position on the chart.
I use this on a study drawing linear regression channel. As it is so easy and quick to draw new channels, more are drawn. Some are immediately rejected but the current Trend or Consolidation zone is rapidly and accurately identified. A Volume by Price Study starting at the same point as the regression channel gives the best picture I have found with regard to the current state of any market.

Is the study input typed from the keyboard picked up by an ACSIL function?
If so is it possible for me to write to that function from another Study?
Please advise
[2017-01-29 22:06:33]
ertrader - Posts: 681
This is great to hear! It's been very challenging to automate SC menus and particularly studies and inputs. A couple things:
1) When you do make this update, can you please also make each input and input value to be navigable by keyboard strokes (tabs, spaces, arrows, function keys etc)?
2) This would enable automation scripts from Autoit (or other automation scripting languages)to be easier and consistent.

Maybe you already inferred this in your comments...I just wanted to make it clear.

Thank you!
[2017-01-29 23:14:28]
Sierra Chart Engineering - Posts: 104368

Is the study input typed from the keyboard picked up by an ACSIL function?
The study that is having its Input changed, will receive the new Input value and all the studies will get recalculated.


If so is it possible for me to write to that function from another Study?

It is not possible at this time for a study to access the Input values from another study. This will come later in the year. We expect the development for this capability will begin in about a month or two. But we do not know how long it will take. Could take about three months.

In regards to post #9, refer to the documentation for how this feature works:
Chart Studies: Changing Study Inputs Directly from Chart

Also the Volume by Price study source code consists of multiple components and none of it has any usefulness to a user. It is not ACSIL compatible.
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: 2017-01-29 23:23:29
[2017-02-09 18:27:45]
Marmany - Posts: 307
For information.
On re-reading the SC Manual I noted that the Draw Volume Profile tool actually adds a Volume by Price study to the chart, the start point can be changed simply by dragging the tool border. This eliminates the need for manual input of Date and Time. My linear regression study picks up start point of this VbP study (POC values have zero value prior to start point)so strategy can now be operated without need for any keyboard input into Study Settings.

Therefore I no longer have a need to feed study inputs from another study in order to complete the current project.
[2017-02-09 18:30:11]
Sierra Chart Engineering - Posts: 104368
OK this is good.
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

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

Login

Login Page - Create Account