[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referencing DAILY data on an INTRA-DAY Chart?



PureBytes Links

Trading Reference Links

Short of having 2 charts -- 1 intra-day, and another data series 
("Data2") to show daily, is there a way to perform calculations on prior 
*daily* data?  OpenD, HighD, LowD, and CloseD are helpful, but I beleive 
they can only be referenced 10 days back.  ...Moreover, what I'd really 
like to do is only call the function if some other criteria are met -- 
for example,

if date <> date[1] then begin
    value1 = DMICustom(HighD(1), LowD(1), CloseD(1), 14);
    <other calcs>
end;
plot1(value1, "DMI_Daily");

This doesn't seem to work.  I suspect it is somehow interpreting  the 
'14' in the above syntax as the last 14 [5-minute] bars, not the last 14 
times it's been called [14 days].

Any help would be much appreciated.
thx,
Ian