PureBytes Links
Trading Reference Links
|
Hello All,
I have implemented Applystop (for profit targets and for stop
losses) into my code. However, I would like to do the following:
if a long position is stopped out then I would like the backtester
to buy if the market makes a new high (at that new high) and if this
new position is stopped out then buy again at a new high and so on
until either the profit target is reached or a short signal is
generated.
I would appreciate any ideas on how to do this. I am currently
thinking about using exRem and Flip functions.
Thanks
Sam
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|