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

[amibroker] Detecting an Open Position with AFL?



PureBytes Links

Trading Reference Links


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/