Is it possible to extract /Var./prev.unit

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #54946 quote
    GLENGOLOLO
    Participant
    Junior

    Var./prev.unit is displayed below high-low on a cursor details interface 

    just Curious

    #54956 quote
    Nicolas
    Keymaster
    Master

    You can achieve this with VARIATION instruction. It returns the percentage variation between the close of the last bar and close of the current bar.

    #55457 quote
    GLENGOLOLO
    Participant
    Junior

    Hi Nicolas

    Can you please help with the code ,i dont know how to use  Variation instruction

    #55459 quote
    Nicolas
    Keymaster
    Master

    Variation(Close) returns variation in percentage between the Close and Close[1]  (one bar ago). 

    #55463 quote
    GLENGOLOLO
    Participant
    Junior

    I cant  translate your statement into code , i’m new to coding, practical code would help 

    #55466 quote
    Nicolas
    Keymaster
    Master
    variable = variation(close)
    
    return variable

     

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

Is it possible to extract /Var./prev.unit


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
GLENGOLOLO @glengololo Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by Nicolas
8 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/07/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...