PureBytes Links
Trading Reference Links
|
Look, I'm don't know what you're trying to do...
But in AB, just set your "Sell" conditions and then AB will make sure
you're "in" before that Sell condition is triggered. You don't really
need to know when you're in.
Basically I don't know if such a function exists, and I don't see how
that would be used. Can you give us a little more of an idea of what
you're trying to do?
--- In amibroker@xxxxxxxxxxxxxxx, "The Webmaster"
<maintainer_wiz@xxxx> wrote:
>
> Is there a function to detect the open trading position of a bar?
>
> I'm trying to use a for loop to check certain conditions which would
> exit my long and go short. However, it's not working because I
> think my coding assumptions about how this array programming thing
> works are incorrect.
>
> If it's not already available, AB should add an AFL function or
> variable called Position which would return the open position of the
> bar. Just like in Trade Station's EasyLanguage. AB has potential,
> but they should really look to Easy Language as a guide to improving
> AFL.
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|