Oh sorry, I thought that ...
The market position (1 = long, -1 = short, 0 = flat) of the specified position.
Syntax: MarketPosition(Num)
Num: number of positions ago
Usage: Value1 = MarketPosition(2) ; {returns1 if long 2 posittions ago was long}
----- Original Message -----
From: Herman
To: amsiev
Sent: Tuesday, March 25, 2008 10:22 PM
Subject: Re: [amibroker] MarketPosition
And what would EL's MarketPosition be about?
any links?
herman
For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/
Tuesday, March 25, 2008, 5:07:13 PM, you wrote:
> I am using all kinds of tricks to get the equivalent of EL's
> MarketPosition in AFL. What's the correct instruction ?
> ------------------------------------
> Please note that this group is for discussion between users only.
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> http://groups.yahoo.com/group/amibroker/
> Individual Email | Traditional
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://docs.yahoo.com/info/terms/