I want to place arrows and want to write the exact price where they are placed at the description-field of the objects.
How can I do this?
The only thing I found is to place text-objects and they have without any further interaction a description but only what you can see anyhow :(
Chart-> RightMouse Click -> ObjectList:
Object | Name | Description| Window
or Select an Arrow-Object on the Chart (Double Click) -> RightMouse Click -> Arrow Propperties -> Common:
Name: Description:
Style:
|_| Draw as Background
How do I change the empty place of the description of an arrow placed like that:
string DrawArrow(string n, datetime xTme, double xPrc, int typeArrow, color clr=DimGray) {
if(ObjectFind(n) >= 0) ObjectDelete(n);
ObjectCreate(n, OBJ_ARROW, 0, xTme, xPrc);
ObjectSet(n, OBJPROP_ARROWCODE, typeArrow);
ObjectSet(n, OBJPROP_COLOR, clr);
return(n);
}
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 want to place arrows and want to write the exact price where they are placed at the description-field of the objects.
How can I do this?
The only thing I found is to place text-objects and they have without any further interaction a description but only what you can see anyhow :(
Chart-> RightMouse Click -> ObjectList:
Object | Name | Description | Window
or Select an Arrow-Object on the Chart (Double Click) -> RightMouse Click -> Arrow Propperties -> Common:
Name:
Description:
Style:
|_| Draw as Background
How do I change the empty place of the description of an arrow placed like that:
Uups got it:
just add:
gooly