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

[amibroker] Re: Set Position Size of long = 1.5*Short?



PureBytes Links

Trading Reference Links


Just wondering: could it be that you only have short signals (i.e. no 
buys)?

PS

--- In amibroker@xxxxxxxxxxxxxxx, "bilbo0211" <bilbod@xxxx> wrote:
> 
> I tried this
> 
> SetPositionSize( IIf( Buy,100,66.66667 ),spsPercentOfEquity );
> 
> aways uses 2/3 of equity.
> 
> I tried this
> 
> SetPositionSize( 100,spsPercentOfEquity );
> SetPositionSize( 66.66667,IIf( Short, spsPercentOfEquity, spsNoChange
> ) ); 
> 
> aways uses 100% of equity.
> 
> Does anyone know how to do it?
> 
> Bill





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/