Support Board
Date/Time: Wed, 01 Jul 2026 07:00:11 +0000
[Programming Help] - ACSIL way to SELECT MANY bars?
View Count: 304
| [2026-05-13 20:55:07] |
| TopGunTrader - Posts: 313 |
|
Hi, I've written many ACSIL and see tremendous value in COMBINING bars, profiles etc into various things but right click go 1 back or 5 etc is very time consuming. I want some way of once selected it lets me drag over MANY bars and them my program does next step. We've spent hours trying to do this ourselves and have given up. Here's current method. Current method in v117: The user chooses Split Profile: Merge Range from the right-click menu. That arms range-select mode and turns on UpdateAlways. The user left-clicks and holds on the first bar. While dragging, the study reads sc.PointerHorzWindowCoord. It maps that mouse X coordinate to the nearest visible bar by comparing against sc.BarIndexToXPixelCoordinate(barIndex). The GDI draw function renders a gray selection box from RangeStartBar to RangeCurrentBar. On left mouse release, it creates one MergeProfileGroup from min(start, end) to max(start, end). It pushes a full undo snapshot before modifying MergeGroups. So the selection method is: Right-click menu arms range mode, then Excel-style left-click drag across bars using Sierra pointer X coordinate mapped to nearest visible bar. |
| [2026-05-22 16:02:38] |
| TopGunTrader - Posts: 313 |
|
Still no answer I'm working on many code projects but one thing is clear many if not most bars on chart are WORTHLESS either after time or for instance an inside bar and can be combined. Combining bars back 1 2 3 6 is painful and slow and having hotkey that then drags with a rectangle identification of bars selected and when hotkey is released those are combined is very useful less noice and seeing further back. I can't get it to work it sometimes works and other times drags the bars is there some method you have or point me to a function I should use? |
| [2026-06-18 21:58:47] |
| Sierra_Chart Engineering - Posts: 24145 |
|
Something like this is just inherently not supported. It is not something we can help with. Although it is supported with TPO profiles but those are very different types of charts. You cannot combine bars, in this way with a standard bar 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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2026-06-18 21:59:13
|
To post a message in this thread, you need to log in with your Sierra Chart account:
