5day High and 5 day Low

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223713 quote
    oyinloyeaoyinloyea
    Participant
    Veteran

    I will like to have a 5 day high and 5day low marked on an intraday chart.

    I  also want a horizontal line across the 5 day high and low

    I coded it using the below

    Timeframe (Daily)
    myhigh=highest[5]
    Mylow=lowest[5]
    Return myhigh as “myhigh”, mylow as “mylow”

     

    Please help. Thanks in advance

    Shown below is an example of the chart

    Screenshot-2023-11-14-220054.png Screenshot-2023-11-14-220054.png
    #223732 quote
    ZigoZigo
    Participant
    Master
    
    timeframe(daily, updateonclose)
    myhigh = highest[5](high)
    mylow= lowest[5](low)
    timeframe(default)
    return myhigh, mylow

    Maybe this can help

    DAX-3-uren.png DAX-3-uren.png
Viewing 2 posts - 1 through 2 (of 2 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

5day High and 5 day Low


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
oyinloyea @oyinloyea Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/14/2023
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...