Support Board
Date/Time: Sun, 24 Nov 2024 08:49:23 +0000
[User Discussion] - Coloring bid/ask numbers in numbersbar using ACSIL
View Count: 3222
[2013-10-01 23:20:36] |
imdtrader - Posts: 26 |
Hello, Can anyone please point me, if it is possible to color different numbers in numbers bars using ASCIL, based on my own different conditions? I did find out how to use VolumeAtPriceForBars to make different background colors for levels in numbers bar, but can I control color of individual bid/ask prints in the bar? If so – is there any example? Thank you. |
[2013-10-02 03:08:35] |
ganz - Posts: 1048 |
imdtrader http://www.sierrachart.com/supportboard/showthread.php?t=37616 |
[2013-10-02 07:34:54] |
imdtrader - Posts: 26 |
Ganz, Thank you for your reply. I know your thread. Indeed it is a main source of inspiration for me as I am not a programmer. Thank you once more for sharing the codes. But there is no open code for coloring the bid/ask letters (not background). For example – print light blue all bids that have lower value than 5 (not background but the color of the numbers). If you have coded that – would you be willing to share part of this code so I get some inspiration how this is done? Thank you very much. |
[2013-10-02 07:53:28] |
ganz - Posts: 1048 |
imdtrader ah ... now i understand no, i don't know how to control for coloring the bid/ask letters w ACSIL but NB has Text Coloring Method option including color ranges http://www.sierrachart.com/index.php?l=doc/doc_NumbersBars.php#ColorSettings Date Time Of Last Edit: 2013-10-02 07:54:00
|
[2013-10-02 08:18:16] |
imdtrader - Posts: 26 |
The coloring method is too global for me. I wanted to try to code something in the style of ofa footprints which is done for Ninjatrader here https://www.bigmiketrading.com/elite-circle/2100-volume-ladder-highlight-addition-109.html#post359541 So I guess this is not yet possible with SierraChart. |
ofa new2.jpg / V - Attached On 2013-10-02 08:18:04 UTC - Size: 78.44 KB - 685 views |
[2013-10-02 08:30:23] |
ganz - Posts: 1048 |
imdtrader sc.Index sc.ChartBarSpacing is the spacing between the chart bars in pixels. This is for the chart your custom study is applied to. sc.StudyRegionTopCoordinate is the Y-coordinate of the top of the region that the study is in. This value is given in the coordinate system of the client window. sc.StudyRegionBottomCoordinate is the Y-coordinate of the bottom of the region that the study is in. This value is given in the coordinate system of the client window. float sc.YPixelCoordinateToGraphValue(int YPixelCoordinate); it is possible to use ACS Tools http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html to mark it as you need Date Time Of Last Edit: 2013-10-02 08:52:36
|
[2013-10-02 08:50:22] |
imdtrader - Posts: 26 |
Thank you ganz. This is perhaps a bit too complicated for me now, but I will try to expand my knowledge in this field. |
[2013-10-02 08:55:40] |
ganz - Posts: 1048 |
imdtrader i've removed sc.RegionYPixelCoordinateToGraphValue because of no specs also please be aware of http://www.sierrachart.com/supportboard/showthread.php?t=36699 |
[2013-10-02 09:30:56] |
imdtrader - Posts: 26 |
Thank you for the link ganz. I was not actually aware of the Text On Dominant Side Auction text coloring method. This is very close to my needs. Thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: