DAYS

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #156996 quote
    jdicks
    Participant
    Junior

    Hi, Prorealtime members, happy new year and hope everyone is doing ok in this strange world at the moment.

    Just wondered if something would be very kind to help me, I am used to writing in pinescript on tradingview.

    I am trying to write a code on a 2 day or a 4hr chart but not sure how to find it.  I know Dhigh is a Daily high, well I hope anyway.

    On tradingview you just type 2D to get a two day high or

    h2 = security(tickerid, ‘2d’, high[1]).

    240h = security(tickerid, ‘240’, high[1]).

    but can’t find this on prorealtime ?

    If anyone could help me out, that would be fantastic.

    Kind regards and happy trading.

    James

    #156999 quote
    jdicks
    Participant
    Junior

    Ok great , Thanks for your help I will have a look .

    #157003 quote
    jdicks
    Participant
    Junior

    Hard to use that bbcodes but thank you for the advice

    #157004 quote
    robertogozzi
    Moderator
    Master

    Never mind!

    #157046 quote
    Vonasi
    Moderator
    Master
    timeframe(daily)
    D2High = highest[2](high)
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

DAYS


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
jdicks @jdicks Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Vonasi
5 years, 1 month ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 01/08/2021
Status: Active
Attachments: No files
Logo Logo
Loading...