Date indicator .

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #192506 quote
    assafn
    Participant
    Average

    Hello everybody.

    Is there a way of building an indicator that shows certain values at certain dates?

    (Let’s say the value 1 will show on the 1st aug 2019 no matter what stock is diaplayed)

    #192515 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Signal = 0
    If date = 20220502 Then
       Signal = 1
    Endif
    Return Signal

    it will return 1 on May 2nd, 2022.

    assafn thanked this post
    #192518 quote
    assafn
    Participant
    Average

    robertogozzi  Thank you, your’e the best.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Date indicator .


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
assafn @assafn Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by assafn
3 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/01/2022
Status: Active
Attachments: No files
Logo Logo
Loading...