Highest Close, can give me a hand?

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

    Hello.

    Maybe someone can give me a hand?

    I want to open a position,
    if the close of the current candle is above the highest n-th close.

    So far, I’ve found this:

    if ( close > Highest[n] (close) ) then

     

    Is that so correct?

    #79518 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Use one of these two:

    if ( close = Highest[n] (close) ) then

    or

    if ( close > Highest[n] (close[1]) ) then
    bluetime6 thanked this post
    #79522 quote
    bluetime6bluetime6
    Participant
    Average

    i will try

    thank you

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

Highest Close, can give me a hand?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
bluetime6 @bluetime6 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by bluetime6bluetime6
8 years, 1 month ago.

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