Daily range

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4083 quote
    Ronny
    Participant
    Veteran

    I would like an indicator that shows i.e. yesterday’s daily range (or average over several days), in pips. The best would be to have this as a text i the chart itself, but as I understand that would not be possible before 10.3? Maybe it would be OK to have it in a separate indicator window, just as a straight line showing the difference between DHIGH[1] and DLOW[1]. Not optimal, but maybe OK. Any other suggestions?

    #4178 quote
    Nicolas
    Keymaster
    Master

    Hello Ronny, you are right, it is not possible to draw text by now, until the version 10.3 to be available.

    If you need to draw the yesterday daily range, then you need 2 lines : the line of the previous day high and the other line for the previous day low.

    In case you just want to draw a line showing the “difference between DHIGH[1] and DLOW[1]”, all you need is the code below :

    line = DHIGH[1] - DLOW[1]
    
    RETURN line
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Daily range


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Ronny @ronny_solversen Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
9 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/22/2016
Status: Active
Attachments: No files
Logo Logo
Loading...