if i change the objectcreate code as follow, it the rectangle always drawn at the opening of the early candle, eventhough the price value had key in highest price and lowest price
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi Everyone,
I would like draw rectangle on everyday, im looking for your kind guidance.
below are the code i wanted to draw rectangle for H1 based on D1 value, but im not able to draw anything on the chart.
if i change the objectcreate code as follow, it the rectangle always drawn at the opening of the early candle, eventhough the price value had key in highest price and lowest price
for the moment, new rectangle is drawn on new day, the yesterday rectangle will be deleted.
But im using for loop to create a new name for every object name. it works, but still the rectangle draw on the opening of the candle.
I have include Object Set, the result still wont move the rectangle to the given value.
Really looking forward for any kind words.
Thank you in advance.