Hello,
I am trying to add a label below a certain candle, but it appears at x-distance 200, y-distance 50. I want it to be on the time and price of a candle.
Maybe someone can just throw me an indicator that displays labels at custom locations, and I could hack the code myself.
Also, how can I change the color of a certain candle? I want to make my pinbars and dojos, etc. a different color.
PS. I am very new to trading , but have a programming background.
I am trying to add a label below a certain candle, but it appears at x-distance 200, y-distance 50. I want it to be on the time and price of a candle.
PHP Code
string Obj = "label12345";
ObjectCreate(Obj, OBJ_LABEL, 0, Time[0], Low[0]);
ObjectSetText(Obj, "hello world", 10, "Times New Roman", White);
Also, how can I change the color of a certain candle? I want to make my pinbars and dojos, etc. a different color.
PS. I am very new to trading , but have a programming background.