PureBytes Links
Trading Reference Links
|
Claude Caruana wrote:
>My only comment about this is that exRemSpan would work fine on simple fixed
>nBar exits, but not necessarily on more complex conditions e.g.
>
>Exit after 5 bars if loss
>Exit after 20 bars if profit
>
Believe me, I know!
The solution requires looping, which I have yet to master. Six months or
so ago, Tomasz was kind enough to supply code for a long exit on the
first profitable open after a 1-bar delay. Unfortunately, a short time
later the machine I was using died, and the code remains trapped on the
old hard drive; I haven't had time to pull the drive and move it over to
the new box yet. You should be able to find the code in the archives. No
doubt it can be modified for a variable delay and short trades, if you wish.
Best of luck.
Owen Davies
------------------------ 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
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.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/
|