Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 09:29:22 +0000



[Programming Help] - Drawing Marker

View Count: 226

[2023-12-14 15:56:58]
Thaddeus Fulmer - Posts: 71
Hello, i have searched through the support board for this could not find.
Is there a way or has it been requested to be able to adjust (in pixels or otherwise) when drawing a marker DRAWING_MARKER
in a study with s_UseTool - i would like to be able to adjust the marker to align to the edge of a candle on the left or the right or as some offset.
Currently it only displays on the centre line at the Y price specified.
A bit like the DrawStyle for subgraphs eg square offset left/right or square offset left/right candlestick

Thank you,

Thaddeus
[2023-12-14 18:20:06]
User431178 - Posts: 543
Is there a way or has it been requested to be able to adjust (in pixels or otherwise) when drawing a marker DRAWING_MARKER
in a study with s_UseTool - i would like to be able to adjust the marker to align to the edge of a candle on the left or the right or as some offset.

No, they only draw on the centerline.

You could use the new graphics functions to draw whatever you want though.
There is a basic example in the acs_source folder, see the file gdiexample.cpp.

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

Login

Login Page - Create Account