Forum

ChartXYToTimePrice is only working for one OBJ_CHART out of the 4 i have

hi guys, i need to ask for some guidance on ChartXYToTimePrice. my code with ChartXYToTimePrice seems to only work with the first OBJ_CHART. i have created 4 OBJ_CHARTs (tiled) and would like to use ChartXYToTimePrice on each of them to get the Time and Price of current clicked chart. its able to

Can i create objects (example OBJ_HLINE) inside OBJ_CHART?

i am trying to display 4 time frames in one screen, hence i created 4 OBJ_CHARTs in one ChartWindow. I would like to draw a OBJ_HLINE , just like what we can do on the ChartWindow but seems like its not working. the OBJ_HLINE appears in ChartWindow. Can anyone help? int totalcharts =