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

[amibroker] Re: Position size based on equity



PureBytes Links

Trading Reference Links



On any bar, isn't Equity() equal to the current portfolio equity ?  
If not, then that would explain everything.

Otherwise, after another day of trying to figure this out, I'm still 
stumped !

HB

--- In amibroker@xxxxxxxxxxxxxxx, "hmab1" <hbahlool@xxxx> wrote:
> 
> Hello,
> 
> How do I set my position size (positionsize) based on current 
> portfoliio equity ?
> 
> I've tried the following but it doesn't seem to work. 
> 
> PositionSize = IIf(Equity()< x, possize1 ,possize2)
> 
> For some reason, it keeps using possize1 even after portfolio 
equity 
> goes above x.
> 
> Thanks
> HB





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