CALL Dclose and Dopen?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #59453 quote
    InertiaInertia
    Participant
    Master

    Hi,

    I would like to play around with the following : Dclose (1) or Dopen (1) – previous day close and Open values – but the system doesn’t accept it. It returns “userindic”…

    I have look in the prorealcode search engine but nothing relevant yet about this.

    Attached the pic.

    Q1: what’s wrong please ?

    Q2: Would it be useful to have an indicator that sumerize those two values ? Kind of crossing MM like the MACD ??

    Thank you 😉

    Thx for your kind help.

    #59454 quote
    InertiaInertia
    Participant
    Master
    #59457 quote
    NicolasNicolas
    Keymaster
    Legend

    1/ Why do you want to CALL “Dclose”, since it is already a constant?  You can assign its value to a variable:

    MyVar = Dclose(1)

    2/ Why not? Explore what you have in mind and you might find something useful 🙂

    #59459 quote
    InertiaInertia
    Participant
    Master

    Thank you Nicolas.

    Your answer is much appreciated.

    Let’s see what I can do.

Viewing 4 posts - 1 through 4 (of 4 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

CALL Dclose and Dopen?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Inertia @inertia Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by InertiaInertia
8 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/14/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...