Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 08:47:10 +0000



[User Discussion] - horizontal study bars

View Count: 509

[2020-02-17 21:57:45]
User12089 - Posts: 350
is there anyway to create a custom study which draws horizontal (rather than vertical) bars, moreover along the Price Axis (essentially like what e.g. a Volume Profile Histogram looks like when fixed to the right side of a chart)

Can use ACSIL etc - but whats the way ?

the data for the study will come from outside SC, so no need to synchronize anything with the internal study callbacks of SC - the study will simply visualize extrnal data like a "vertical histogram" fixed to the ride side of the chart / the price axis
[2020-02-17 22:10:54]
Ackin - Posts: 1865
Can use ACSIL etc - but whats the way ?

simple ... use sc.UseTool()
Using Drawing Tools From an Advanced Custom Study: Using Tools with sc.UseTool()
imagepf.png / V - Attached On 2020-02-17 22:10:46 UTC - Size: 68.22 KB - 209 views
[2020-02-17 22:12:56]
User12089 - Posts: 350
thanks, and any way to achieve the same by using the SC spreadsheet study ?
[2020-02-17 22:17:02]
Ackin - Posts: 1865
How many values (how many horizontal bars) do you need?
[2020-02-17 22:49:30]
User12089 - Posts: 350
well, in general, one per price level, but at the same time there is no need for infinite number of levels away from the current/best price
[2020-02-17 23:12:49]
Ackin - Posts: 1865
and any way to achieve the same by using the SC spreadsheet study ?

It would be possible to create a universal study drawing profile, for example for 20 price levels ... it would be the input of two user-defined arrays (two inputs IDx.SGx), first being price-lvl, the second value as the bar size. .. using Spreadsheet filling the first and second supgraph of their value.

one per price level, but at the same time there is no need for infinite number of levels away from the current/best price
Probably there would be a few situations where the conditions would have to deal with what happens when the same price level is shown, but that would be solved by the study settings form.
[2020-02-17 23:19:41]
User12089 - Posts: 350
by excel spreadsheet i meant the standard SC Excel Spreadsheet Study and whether there was a way to use its params / formulas to achieve the above stated objective

otherwise for a custom ACSIL study, yes the input can b eexcel, csv file, messages etc whatever

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

Login

Login Page - Create Account