Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 09:09:44 +0000



Post From: Vertical Line from Absolute top to absolute bottom, study also does price level plots

[2015-11-05 17:12:00]
KhaosTrader - Posts: 128
Just to clarify , I am using this code to define the line



    CloseTrades_TimeLineTop.Name = "CloseTrades TimeLine Top";
    CloseTrades_TimeLineTop.DrawStyle = DRAWSTYLE_BARTOP;
    CloseTrades_TimeLineTop.PrimaryColor = COLOR_YELLOW;
    CloseTrades_TimeLineTop.DrawZeros = false;
    CloseTrades_TimeLineTop.LineStyle = LINESTYLE_DASH;
    CloseTrades_TimeLineTop.LineWidth = 1;

    CloseTrades_TimeLineBottom.Name = "CloseTrades TimeLine Bottom";
    CloseTrades_TimeLineBottom.DrawStyle = DRAWSTYLE_BARBOTTOM;
    CloseTrades_TimeLineBottom.PrimaryColor = COLOR_YELLOW;
    CloseTrades_TimeLineBottom.DrawZeros = false;
    CloseTrades_TimeLineBottom.LineStyle = LINESTYLE_DASH;
    CloseTrades_TimeLineBottom.LineWidth = 1;

The problem is, I must put an index value for each of them, this index value is a price level, not the percentage of the chart area... I have other subgraphs that do need to use price levels in the study, I just want the subgraphs that display a vertical line to not use price levels ...