I need to draw horizontal lines on the chart. I can do it by reading from an csv file, and I can do it by the syntax in obarupdate. But as the levels dont need to be updated with every bar because the are calculated only one time from current open I would like to use with onstartup or initilialize. Do I understand correctly that this is not so CPU intensive as to do in obarupdate.
And as there are a lot of levels I´d like to have the properties in one line like
("price100HB", false, price100HB, Color.SaddleBrown, DashStyle.Solid, 2);
how would this work in Initialize please? I can´t find in the forum (to code as shown here)
Thank you
Tony
Comment