(1.) I display the current symbol and interval in the top right corner of an advanced chart. Since I have many tick charts open, I want to minimize system resources. Can I have a variable in main() to execute it only once, or every time I click on a chart? I understand that main() is executed for every tick. Correct?
(2.) This would also require a function to indicate that the chart I just clicked on and is now the active chart. I did not find anything in the online docs something like "isActive".
(3.) Using the drawTextRelative function places the info above the most recent bar, but I would like to place it at the end of the right hand edge of a chart.
Thank you!
(2.) This would also require a function to indicate that the chart I just clicked on and is now the active chart. I did not find anything in the online docs something like "isActive".
(3.) Using the drawTextRelative function places the info above the most recent bar, but I would like to place it at the end of the right hand edge of a chart.
Thank you!
Comment