Please help me about ObjectCreate OBJ_HLINE

Hi All,
I am newbie in MQL4,

I write the code like this :slight_smile:

double dHarga=iClose(NULL,PERIOD_D1,1);

string Rem,desc1;
Rem=“test hline”;
ObjectCreate(Rem,OBJ_HLINE,0,0,0,0,0);
ObjectSet(Rem,OBJPROP_PRICE1,dHarga);

I got the correct value dHarga=1.16457.

But I confuse about the label which mt4 draws , the result is different. which is 1.16438.

I want to know the function which result 1.16438. I already try ObjectGetShiftByValue and ObjectGet without success.

I want to know how to get 1.16438.

Many thanks before

Hans

I want to upload the chart. But the system forbides me :frowning: . , because I am a new user