DislikedMarketsnipers, re: colour of lines, I altered the code ie the colour from yellow to red but this made no difference, the line just reverted back to its original colour after about one minute.Ignored
if (Weekly_SR_Levels==true)
{
ObjectCreate("WR1_Line", OBJ_HLINE,0, CurTime(),WR1);
ObjectSet("WR1_Line", OBJPROP_COLOR, Red);
ObjectSet("WR1_Line", OBJPROP_STYLE, STYLE_DASHDOTDOT);
if(ObjectFind("WR1_Label") != 0)
{
ObjectCreate("WR1_Label", OBJ_TEXT, 0, Time[5], WR1);
ObjectSetText("WR1_Label", " Weekly R1", 8, "Arial", Red);
}
else
{
ObjectMove("WR1_Label", 0, Time[5], WR1);
}