PureBytes Links
Trading Reference Links
|
kubikconcepts wrote:
>I have the following rules that I want to implement in AFL.
>
Actually, this isn't an offer of help, but an attempt to drum up support
for a stop-related (or at least exit-related) feature that I have wanted
for a long time. No doubt it's a concept that could be implemented in
JPL or -- no, wait; that's the aerospace lab in Pasadena -- well,
whatever that language is, but as you have probably figured out the task
is beyond me.
Would anyone else appreciate a BarsSince(Entry) function? It's is truly
useful, and the one thing I desperately miss from MS. To see its merits,
try implementing Larry Williams's bailout exit without it:
Enter on some signal that repeats itself frequently. For the sake of
convenience, let's go long when H > Ref(H,-1) at
BuyPrice=Max(O,Ref(H,-1) + TickSize). We could have signals on a dozen
bars in a row. Now skip one bar, and exit on the first profitable open
thereafter. I can't do it within the limits of AFL. Every time the
signal recurs, the skip-one-bar timer gets reset. I can do it for one
bar, within some really inconvenient limits, but when I try to extend it
to N bars, the logic gets so tangled I can't figure it out -- and I
don't think the problem is with me; it can't be done in a generally
applicable way.
The bailout exit is not the only case in which this issue comes up.
Very short-term trading is what interests me most, so I run into this
kind of thing a lot. I understand that Tomasz finds the BarsSince(Entry)
function unnecessary, and therefore undesirable -- no doubt I would feel
the same way if I were interested in elegant programming rather than
profitable trading -- but for those of us who would sooner test our
trading ideas than learn to write code, it would be extremely useful.
Or so it seems to me. Would anyone else like to see this function
implemented, or am I way off on my own?
Owen Davies
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/
|