PureBytes Links
Trading Reference Links
|
Vitas <vrasys@xxxxxxxxxxxx> writes:
>With four days of 1 minute bars loaded how do I get this indicator
>to start plotting on the second day, so that the plot is of the second,
>third, and fourth days, and does not include the first day in any way?
var: daycount(0);
{Note the start of each new day}
if date <> date[1] then
daycount = daycount + 1;
{Start plotting your indicator after the chosen day}
if daycount > 0 then begin
plot(...);
blah blah blah...
end;
|