OpenD(0) question  [SOLVED]

Questions about MultiCharts and user contributed studies.
Posts: 135
Joined: 05 Jul 2012
Has thanked: 10 times
Been thanked: 4 times

OpenD(0) question

Postby ctu1121 » 08 Oct 2012

Hi there,
I would like to get 200 days ago open price, I wrote the following code.


The result is as below:

I am running the code in one day K bar window. Please advise why I can not receive the
correct price for 200 days ago. Is that because that day is holiday?

Thanks for your help!


Posts: 455
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 283 times

Re: OpenD(0) question  [SOLVED]

Postby SP » 08 Oct 2012

The ...D functions are limited by the OHLCPeriodsAgo function with the array
arr0[ 4, 50 ]( -1 ) at 50. Use a daily chart as data2 and Open[200] of data2.

Return to “MultiCharts”