High/low of the day so far

Forums ProRealTime English forum ProOrder support High/low of the day so far

  • This topic has 4 replies, 3 voices, and was last updated 3 days ago by avatarKVS.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #245265
    KVS

    Hi all,

    I am just starting out with PRT. I can see in the Glossary of the Trading Systems programming guide that DOpen, DHigh, DLow, DClose functions are available to these metrics from the n-th day before the current one; however, if the n value is not specified (or if it’s [0]) does these functions provide the Open/High/Low of the current day, so far?

    I’d much appreciate if anyone can confirm this.

    Cheers

    KVS

    #245269

    DOpen, DHigh, DLow, DClose require parentheses “()” not brackets.

    In addition they do not assume default values, so (0) is required for the current day or you’ll get an error.

     

     

    1 user thanked author for this post.
    #245270
    KVS

    Thanks Robert. So I can use DHigh(0), for example, to call the high of the current day before the daily bar is closed?

    #245304

    Better to try it out, right?

    1 user thanked author for this post.
    #245348
    KVS

    Thanks Ivan. I will try it out.

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login