PureBytes Links
Trading Reference Links
|
I presume you want to trade long and short
Just define your buy and sell as normal for long and then use
Short=Sell;
Cover=Buy;
On Sun, 09 Jan 2005 21:21:35 -0000, The Webmaster
<maintainer_wiz@xxxxxxxxx> wrote:
>
>
> Hi All:
>
> Just bought AB and am getting adjusted to AFL programming(was a long
> time Easy Language programmer from way back when).
>
> Here's my question:
>
> How would I code a "stop and reverse" trade entry based on my
> initial position being long one SP contract, then getting stopped
> out at price x by selling two contracts at that price, so that now
> I'm net short one contract at stop price x?
>
> What would the "Sell = " code look like?
>
> Thanks,
> -Craig
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ 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/
|