5day High and 5 day Low

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223713 quote
    oyinloyea
    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

    #223732 quote
    Zigo
    Participant
    Master
    
    timeframe(daily, updateonclose)
    myhigh = highest[5](high)
    mylow= lowest[5](low)
    timeframe(default)
    return myhigh, mylow

    Maybe this can help

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

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 Zigo
2 years, 2 months ago.

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