Nothing is hard, some things just take more time and discipline.
Mt4 shortcut or hotkey for drawing objects like lines etc 4 replies
MQL Coding - Let’s talk about how to code mql 0 replies
drawing objects problem 0 replies
Objects and new chart question 1 reply
Drawing Objects vs Drawing lines 1 reply
DislikedAll objects are pretty much drawn the same way, using ObjectCreate(...).
You just specify the type of object using the object type enumeration.Ignored
Dislikedhi
check this
if(ObjectFind("MEVA Line Alto") != 0)
{
ObjectCreate("MEVA Line Alto", OBJ_RECTANGLE, 0, Time[1440], ontem_h, Time[0], ontem_l);
ObjectSet("MEVA Line Alto", OBJPROP_STYLE, STYLE_DASHDOTDOT);
ObjectSet("MEVA Line Alto", OBJPROP_COLOR, MidnightBlue);
ObjectSet("MEVA Line Alto", OBJPROP_WIDTH, 4);
}
else
{
ObjectMove("MEVA Line Alto", 0, Time[0], ontem_h );
}
ontem_h and _l are high and low from previous day
i hope this helpIgnored
DislikedHi,
Is it possible to put into the corner of the window an OBJ_RECTANGLE?...Ignored