Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature currently requires accessing the site using the built-in Safari browser.
vladko сказал(а):Дело в этом: " 'DrawHorizontalLine' method can't be called from within 'Initialize' method ".
ramires сказал(а):подскажите плиз
простейшая конструкция с скрипте и не рисует линию
в чем может быть дело
protected override void Initialize()
{
DrawHorizontalLine("line",1636.25,Color.Red);
CalculateOnBarClose = false;
}
Add(new Plot(Color.Black, PlotStyle.Line, "Linе"));
protected override void OnBarUpdate()
{
for (int x1 = 1; x1 == 5; x1++)
{
Print("works!");
DrawHorizontalLine("level",lvlArray[x1,0],Color.Red);
}
}
vladko сказал(а):Проверьте хорошенько выражение в скобках для цикла. Ошибка там.