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

[amibroker] Re: CBT: Scaled trades



PureBytes Links

Trading Reference Links

Thanks mate, but forgot to mention: I use rotational mode in CBT 
which seems to complicate matters due to the fact that scaling is 
triggered by stock-specific variables (arrays) which relate to both 
(current vs. required) PositionSize and (previous vs. new)
PositionScore. 
I have been unable to determine: 
1) how much cash is available for all ScaleIns at each bar
2) how to allocate this cash according to a specific "ScaleIn"-rule.

Support question, I suspect.

PS

--- In amibroker@xxxxxxxxxxxxxxx, "Paul Ho" <paultsho@xxx> wrote:
>
> Mate
> If you're using CBT, you can program the way you want it
> just put scaleout before the others, they will be executed first ;)
> 
> 
>   _____  
> 
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] 
On Behalf
> Of vlanschot
> Sent: Thursday, 3 May 2007 9:01 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] CBT: Scaled trades
> 
> 
> 
> Could anybody possibly confirm whether ScaleOut trades are executed 
> FIRST, in order to release cash for the subsequent ScaleIn trades?
> 
> And if so, is the only way to calculate the resulting amount of 
cash 
> available for the ScaleIn-trades to add (PosSize - Exit 
Commissions) of 
> each ScaleOut to the bo.Cash of the previous bar?
> 
> Thx,
> 
> PS
>




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/