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,
I make this simple code to display arrow on chart :
canvas.CreateBitmap(0,0, "arrow01", Time[0], High[0], 50, 50, COLOR_FORMAT_ARGB_RAW);
canvas.LoadFromFile("ObjBuy.bmp");
canvas.Update();
The arrow01 object display correctly. For having two arrows on my chart, I use this code :
canvas.CreateBitmap(0,0, "arrow01", Time[0], High[0], 50, 50, COLOR_FORMAT_ARGB_RAW);
canvas.LoadFromFile("ObjBuy.bmp");
canvas.CreateBitmap(0,0, "arrow02", Time[10], High[10], 50, 50, COLOR_FORMAT_ARGB_RAW);
canvas.LoadFromFile("ObjSell.bmp");
canvas.Update();
Only the second arrow appears. Is something wrong in my code ?
Additionnal question : How set anchor points using canvas class ?
Thank you !
Ghen.