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

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

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

    just Curious

    possible.png possible.png
    #54956 quote
    NicolasNicolas
    Keymaster
    Legend

    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
    GLENGOLOLOGLENGOLOLO
    Participant
    Junior

    Hi Nicolas

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

    #55459 quote
    NicolasNicolas
    Keymaster
    Legend

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

    #55463 quote
    GLENGOLOLOGLENGOLOLO
    Participant
    Junior

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

    #55466 quote
    NicolasNicolas
    Keymaster
    Legend
    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.
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

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 NicolasNicolas
8 years, 9 months ago.

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