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

[amibroker] Re: exposure % with rotationaltrading



PureBytes Links

Trading Reference Links

With rotational trading turned on, if your ranking value is equal to
zero, the position will be exited on the next bar, and there may be no
new stocks that meet the entry criteria - so you have a cash position.

When I want long-only rotational trading, I set all stocks with a
negative rank to a rank of zero.

PositionScore = IIF(PScore < 0, 0.00, PScore);

If I want to do RT with market timing, I do the following:

ScoreVal =  IIf(HEMI > 1.00 AND StatHi > StatLo , PScore , IIf(PScore
> 0, PScore, 0.00 )) ;

Here I check my market timing indicator HEMI and a second statistical
timing indicator for favorable overall market conditions, then I only
accept stocks with a positive PScore for RT.

Ed



--- In amibroker@xxxxxxxxxxxxxxx, "David Fitch" <davidfitch@xxx> wrote:
>
> Try something like this
> PosQty=Optimize("PositionQuantity",4,1,20,1);    or whatever you want
> PositionSize= -100/PosQty;
> setOpition("MaxOpenPositions",PosQty);
> 
> Dave
> 
> 
>   ----- Original Message ----- 
>   From: foxblade2000invest 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Thursday, July 03, 2008 4:07 AM
>   Subject: [amibroker] exposure % with rotationaltrading
> 
> 
>   Hello,
> 
>   I'm puzzled and need advice, please?
> 
>   when using rotational trading, I'd assume my exposure would be 100%?
> 
>   I've set the numberheld to the worstrank, hence my position sizing 
>   should allow 100% of funds to be allocated at all times - but I'm 
>   getting between 40% and 60%.
> 
>   Can anyone help?
> 
>   Cheers,
>   Rich
>



------------------------------------

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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