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

Re: [amibroker] Re: Updated interpretations..... and horizontal lines again!!!



PureBytes Links

Trading Reference Links

Dave,
 
Have you figured out a way to know what positions are currently on, and how many bars they have been on while rotational trading?
 
Thanks,
Gary

Dave Merrill <dmerrill@xxxxxxx> wrote:
How about:

Sell = my_sell_signal AND (BarsSince(Buy) >= min_hold_bars);

That won't work if you're using rotational trading, because there aren't any
Sell signals.

Dave Merrill
  Is there an AFL function for backtesting that restricts trades to a
  minimum holding period? New mutual fund rules have 30, 60 and
  sometimes 90 day hold restrictions. Would like to account for this
  in backtesting.

  Thanks!
  -Eric.


[Non-text portions of this message have been removed]



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 


Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
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 the Yahoo! Terms of Service. 


		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

[Non-text portions of this message have been removed]



------------------------ 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/