example from easy language to proreal time plotting a line

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119196 quote
    FibonaccheeseFibonaccheese
    Participant
    Junior
    plot a line considering the open of the current day adding up the difference between the high and the low from the previous session
    Vars: Range(0),Dif(0);
    
    Dif=HighD(1)-LowD(1);
    
    Level=OpenD(1)-Dif;
    
    Plot1 (Level,"level",green,default,3);
     
    #119198 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Inserte la marca de verificación dentro de la casilla en su perfil para actualizar su país. << gracias 🙂

    >> Please update your country flag in your profile. Thank you 🙂 <<

     
    #119203 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    You added your country falg, but you posted on the spanish forum, I’ll move it to the english one.
    #119204 quote
    NicolasNicolas
    Keymaster
    Legend
    The posts are written in English, I moved the topic into the appropriate forum. The translated code into Prorealtime programming language would be:
    Dif=dHigh(1)-dLow(1)
    
    Level=dOpen(1)-Dif
    
    return level coloured(0,255,0) style(line,3) as "level"
    
    (not tested, please do).
    robertogozzi thanked this post
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

example from easy language to proreal time plotting a line


ProBuilder: Indicators & Custom Tools

New Reply
Summary

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

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