How to get the values of the histogram from a MACD

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
M. Koert
Newbie
Newbie
Posts: 1
Joined: Tue Jun 21, 2011 12:00 am

How to get the values of the histogram from a MACD

Post by M. Koert » Thu Dec 08, 2011 7:04 am

Hello,

See image.
MACD.JPG
MACD.JPG (24.7 KiB) Viewed 2514 times
Best regards,
M. Koert

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to get the values of the histogram from a MACD

Post by Yeray » Mon Dec 12, 2011 9:56 am

Hello M. Koert,

Being MACDFunction your TMACDFunction, and index the ValueIndex of the value you want to retrieve, you can do:

Code: Select all

MACDFunction.Histogram.YValue[index]
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply