I want to store custom values in an array that can be used to display in an
exploration. I guess the problem with my code is that the getSupport function
doesn't create a support array (I'm not sure how to do this)
Here is the snippet of the code to clarify what I'm trying to do:
function getSupport()
{
for(i=1; i<=SRBack; i++)
{
y0 = GetYSupport(L, SRPer, i);
Support = Min(Support, y0);
}
return Support;
}
Support = getSupport();
AddColumn(C, "Close");
AddColumn(Support, "Support");
AddColumn(Resistance, "Resistance");
--- In [email protected], "sidhartha70" <sidharth...@...> wrote:
>
> You don't explain exactly what you are after very well... but it's very
> doable. Sounds like a job for static arrays so you can access them from
> outside the exploration.
>
> --- In [email protected], "aghari" <aghari@> wrote:
> >
> > I'm trying to build an exploration that would store that bars calculated
> > support/resistance value in a custom array. Is this possible?
> >
> > I would really appreciate any samples or pointers.
> >
>