when i run the code , it places the lines but not at the high or low , you can see what i mean take a look at ss1 and there is also the problem that when i attach the indicator from the indicator window in the mt4 terminal , it does place the lines but way above from the price where it should be take a look at ss2
Looks like belonging to a different candle. Did you scroll the chart to find it? Else add the time of the candle in question to the lines. Create a text object maybe or print to output.
Looks like belonging to a different candle. Did you scroll the chart to find it? Else add the time of the candle in question to the lines. Create a text object maybe or print to output.
And this object is never removed because it lacks the name prefix.
looks ok
when i run the code , it places the lines but not at the high or low , you can see what i mean take a look at ss1
and there is also the problem that when i attach the indicator from the indicator window in the mt4 terminal , it does place the lines but way above from the price where it should be take a look at ss2
Looks like belonging to a different candle. Did you scroll the chart to find it? Else add the time of the candle in question to the lines. Create a text object maybe or print to output.
And this object is never removed because it lacks the name prefix.Looks like belonging to a different candle. Did you scroll the chart to find it? Else add the time of the candle in question to the lines. Create a text object maybe or print to output.
And this object is never removed because it lacks the name prefix.How do I do that? 😅😅
Read the MQL4 Reference about ObjectCreate carefully. You've learned enough to do this on your own now.
well i tried but i cant figure it out