How to draw a solid line at Y=0 on MACD Indicator
Posted: Tue Jun 16, 2009 10:55 pm
I would like my MACD indicator to have an horizontal solid line at Y = Zero. What is the best way to go about that? Thanks.
Steema Software - Customer Support Forums
http://teechart.com/support/
Code: Select all
Chart1.Tools.Add(TColorLineTool.Create(self));
with (Chart1.Tools[Chart1.Tools.Count-1] as TColorLineTool) do
begin
Axis := Chart1.Axes.Left;
Value := 0;
end;