Valid date for indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220730 quote
    umebon
    Participant
    Average

    If I want my indicator to only be valid to a specific date, how do I program that?

    #220752 quote
    robertogozzi
    Moderator
    Master

    This will expire after Sept. 13th:

    Myindicator = range > (average[100,0](range) * 1.5)
    IF OpenDate > 20230913 THEN
       Myindicator = 0
    ENDIF
    RETURN Myindicator
    umebon thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Valid date for indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
umebon @umebon Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
2 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/11/2023
Status: Active
Attachments: No files
Logo Logo
Loading...