Login Page - Create Account

Support Board


Date/Time: Thu, 06 Feb 2025 02:35:48 +0000



Post From: Horizontal Line: Name & Value Display

[2020-04-07 21:05:12]
User184576 - Posts: 20
Hi,

I would like to code both name and value display properties into a custom study.

I've only been able to achieve one or the other, but not both simultaneously

I assume I'm missing a reference and/or my syntax is incorrect.

Any assistance would be appreciated.

Thank you!


******************************************************************************************
//Line Attributes
//Set Subgraphs To Display Price On Far Right Side Of Chart And Center Vertically
//Set Subgraphs To Display Name On Far Left Side Of Chart And Center Vertically

PreviousCloseLine.LineLabel = LL_DISPLAY_NAME | LL_NAME_ALIGN_CENTER | LL_NAME_ALIGN_LEFT_EDGE;
PreviousCloseLine.LineLabel = LL_DISPLAY_VALUE | LL_VALUE_ALIGN_CENTER | LL_VALUE_ALIGN_FAR_RIGHT;