Using BARDATE() to display when a condition last happened

Optuma Forums Optuma Scripting Using BARDATE() to display when a condition last happened

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #56767
    Darren
    • Topics: 66
    • Replies: 667
    • Posts: 733

    Combine the BARDATE() function with a true/false condition to show when that event last occurred in a watchlist, chart header, or Chart Element. For example, the date of the highest high price:

    When the latest closing price was this high:

    To count the number of days since the event use the TIMESINCESIGNAL() function:

    In this example, NXT on the ASX had its highest close since July 3rd 2018 (569 days ago).

    Capture

    2 users thanked author for this post.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest