Announcement

Collapse
No announcement yet.

Executing script just once on a chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Executing script just once on a chart

    Hi,
    Is there a way to run a script just once for a chart, for the most recent bar? I do not want the script to run on earlier bars. Is there a way?

    Regards,
    Rangarajan

  • #2
    Rangarajan
    The enclosed image illustrates one way you can execute some code once only on the most recent bar
    Alex




    Originally posted by ranga_mms View Post
    Hi,
    Is there a way to run a script just once for a chart, for the most recent bar? I do not want the script to run on earlier bars. Is there a way?

    Regards,
    Rangarajan

    Comment

    Working...
    X