ohlc or is it loch ? lazarus / 55-TAChart ---------------------------------------------------------------------- Ruptor · 2013-02-04 12:15 I have lost the will to live with this one. Line always draws but ohlc gives nothing not even a dash anywhere. Code: [Select]        x:=i;         y:=bid-0.001;         ohlc[0]:=bid;         ohlc[1]:=bid+0.001;         ohlc[2]:=bid+0.0015;         BidLine.ADDXY(x,bid);         Chart1OpenHighLowCloseSeries1.ADDXY(x,y,ohlc); It is probably something simple that I have misunderstood but I can't see it. Some of these chart routines seem to be user unfriendly to me. Like OHLC where everybody on the planet knows it as OHLC and yet the parameter list is L,O,C,H how odd is that? Also the parameters of ADDXY like x,y,ylist when x,ylist would be more efficient and make more sense. There may well be programming reasons for the oddities but they don't need to be passed to the user do they? ---------------------------------------------------------------------- Ask · 2013-02-04 14:16 Quotethe parameters of ADDXY like x,y,ylist when x,ylist would be more efficient and make more sense. It is actually less efficient, but if you want, you can use ListSource.AddXYList to get the latter behavior. Quote the parameter list is L,O,C,H Actually, the order of values is controlled by YIndex... properties, and may be different from what you described (see also documentation) Implemented AddXOHLC function in r40176, which may be helpful for you. ---------------------------------------------------------------------- Ruptor · 2013-02-04 14:21 Any idea why my code doesn't give a line? ---------------------------------------------------------------------- Ask · 2013-02-04 14:54 Please post your code -- maybe I shall have some ideas then ---------------------------------------------------------------------- Ruptor · 2013-02-04 16:37 I have it is up there. OHLC uses the same x,y values and gives a line and I artificially gave the OHLC the extra Y values but it doesn't show anything. ---------------------------------------------------------------------- Ask · 2013-02-04 17:30 No, please post a complete example.