DCLOSE help

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36705 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    What is returned by

    Dclose(0)

    when I run my strategy within:

    1. 4-hour TF
    2. daily TF

    ?

    Thank you.

    #36717 quote
    GraHalGraHal
    Participant
    Master

    The current market mid price is my understanding of DClose(0) … so same on 4H or  1 D TF.

    Same logic as at any time during the life of any bar Close is the market price at that point. When bar is over  then Close is closing p[rice of that bar.

    DClose(1) would be yesterdays closing price … as you probably know.

    Hope that helps Robert?

    GraHal

    Nicolas and robertogozzi thanked this post
    #36724 quote
    DerekDerek
    Participant
    Veteran

    Hey Roberto,

    all you have to do is create an Indicator that returns DClose (0).

    robertogozzi thanked this post
Viewing 3 posts - 1 through 3 (of 3 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

DCLOSE help


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by DerekDerek
9 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/26/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...