command to display highest point of candle, including wick (not highest close)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #188281 quote
    RaspberriRaspberri
    Participant
    New

    Hi all,

    I was wondering if there is a command that I have overlooked that will display the absolute highest high of all candles over n candles, not just the close. I am currently using highest[n] but this will display the highest close. E.g. 4h candle closes at 1000 but reached 1005 at some point – I would want to “grab” 1005 instead of 1000. I reckon it could be done via lower timeframes but maybe there is a more elegant way that I have missed. Thanks in advance 🙂

    #188282 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Hi,

    myvalue = highest[n](high)

    Raspberri thanked this post
    #188283 quote
    GraHalGraHal
    Participant
    Master

    Try this …

    Highest[n]High[1]
    #188285 quote
    RaspberriRaspberri
    Participant
    New

    Thanks, highest[n](high) worked!

Viewing 4 posts - 1 through 4 (of 4 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

command to display highest point of candle, including wick (not highest close)


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Raspberri @raspberri Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by RaspberriRaspberri
4 years, 7 months ago.

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