User (Legacy) Posted March 11, 2003 Report Share Posted March 11, 2003 Hi, I just want to ensure that I am doing this correctly. I am trying to add 1 additional tick of data to ChartFX. lngCount = ChartFX.NValues - 1 ' '|| Open a Communication Channel for 5 Series (Open, Hi, Low, Close & Date) ChartFX.OpenDataEx COD_VALUES, COD_UNCHANGE, lngCount + 2 ChartFX.OpenDataEx COD_XVALUES, COD_UNCHANGE, lngCount + 2 ' '|| Pass the data in the order expected by Chart FX FE ' ChartFX.ValueEx(0, lngCount + 1) = dblTickBid 'low ChartFX.ValueEx(1, lngCount + 1) = dblTickBid 'open ChartFX.ValueEx(2, lngCount + 1) = dblTickBid 'close ChartFX.ValueEx(3, lngCount + 1) = dblTickBid 'high ' '|| Dates are passed in julian form using CDate Function ChartFX.XValueEx(0, lngCount + 1) = CDate(dtDate) ' '|| Close the Communication Channels ChartFX.CloseData COD_VALUES ChartFX.CloseData COD_XVALUES Also I would like to thank your support team for all the help given. Chase Gale Link to comment Share on other sites More sharing options...
Software FX Posted March 11, 2003 Report Share Posted March 11, 2003 Yes, this looks correct -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.