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

[amibroker] Cover & ShortPrice issue



PureBytes Links

Trading Reference Links

Hi, 

I have a question about Cover and ShortPrice. 

My system is having some big losses in the backtest
results because the cover and shortprice function
seems to be misused. It seems it is ignoring the
initial shortprice for some other value. Any thoughts?

ShortPrice = Open;
CoverPrice = Open;

Short = IIf(Close < (HHV(Ref(Close,-1),365)- 10 *
ATR(10)),1,0);
Cover = Close > (ShortPrice *1.05 );



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/