example from easy language to proreal time plotting a line

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

    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
    robertogozzi
    Moderator
    Master
    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
    robertogozzi
    Moderator
    Master
    You added your country falg, but you posted on the spanish forum, I’ll move it to the english one.
    #119204 quote
    Nicolas
    Keymaster
    Master
    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.

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 Nicolas
6 years ago.

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