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

[amibroker] Re: Custom arrays for exploration?



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "sidhartha70" <sidhartha70@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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.
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/