Login Page - Create Account

Support Board


Date/Time: Sat, 21 Sep 2024 01:24:58 +0000



How to make MARKER_ARROWUP point to bottom of bar?

View Count: 788

[2016-06-08 04:11:24]
skelcap - Posts: 139
I have similar code to the example scsf_UseToolExampleMarker:


Tool.DrawingType = DRAWING_MARKER;
Tool.MarkerType = MARKER_ARROWUP;
Tool.BeginValue = sc.Low[BarIndex];

I want the TIP of the arrow point exactly to the low of the bar. It seems that the default behavior is for the MIDDLE of the arrow shaft to lie on the BeginValue. I tried setting Tool.DrawFromEnd = 1 but that didn't seem to do anything. I tried to dynamically offset the BeginValue from the low as a multiple of the Tool.MarkerSize and TickSize but the result is not satisfactory since the placement varies according to the market and scale/barspacing. Wondering if there is an easier way I'm missing?
[2016-06-08 17:08:30]
Sierra Chart Engineering - Posts: 104368
You cannot do what you want using this Drawing Type.

You instead need to use a sc.Subgraph with the Draw Style set to Arrow Up:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_scSubgraph.html#scSubgraphDrawStyle
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-06-08 21:11:42]
skelcap - Posts: 139
Thanks actually that's what I tried first and I agree it yields arrow tip coinciding with BeginValue. I should have been clearer, what I actually want is one arrow pointing in to the BeginValue and another arrow in the same direction pointing out from the BeginValue, something like this so the tip of one arrow touches the tail of the other:

^
|
^
|

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

Login

Login Page - Create Account