Date indicator .

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #192506 quote
    assafnassafn
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    assafnassafn
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 assafnassafn
4 years, 5 months ago.

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