смотришь в книгу видишь фигу?
obj_name = prefix + "Cross"+ Time[0];
if (ObjectFind(obj_name) == -1)
{
ObjectCreate(obj_name, OBJ_TREND, 0, 0, 0 , 0 , 0); }
ObjectSet(obj_name, OBJPROP_COLOR, CrossLine.color);
ObjectSet(obj_name, OBJPROP_WIDTH, CrossLine.width);
ObjectSet(obj_name, OBJPROP_STYLE, CrossLine.style);
ObjectSet(obj_name, OBJPROP_RAY, False);
ObjectMove(obj_name, 0, Time[0], LastDwAzan- (pluspip*Point));
ObjectMove(obj_name, 1, Time[1], LastDwAzan- (pluspip*Point));
ObjectSetText(obj_name, "Азан вниз!", 10, "Times New Roman", Green);
смотришь в книгу видишь фигу? :)
obj_name = prefix + "Cross"+ Time[0];
if (ObjectFind(obj_name) == -1)
{
[b]ObjectCreate(obj_name, [color=#FF0000]OBJ_TREND[/color], 0, 0, 0 , 0 , 0);[/b]
}
ObjectSet(obj_name, OBJPROP_COLOR, CrossLine.color);
ObjectSet(obj_name, OBJPROP_WIDTH, CrossLine.width);
ObjectSet(obj_name, OBJPROP_STYLE, CrossLine.style);
ObjectSet(obj_name, OBJPROP_RAY, False);
ObjectMove(obj_name, 0, Time[0], LastDwAzan- (pluspip*Point));
ObjectMove(obj_name, 1, Time[1], LastDwAzan- (pluspip*Point));
ObjectSetText(obj_name, "Азан вниз!", 10, "Times New Roman", Green);