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

[amibroker] Help w/ New 5.20 SetOptions (Also a Suggestion for Tomasz)



PureBytes Links

Trading Reference Links

I'm trying to use this type of code to implement a system that will
purchase both short and long positions from a watch list simultaneously.

SetOption("MaxOpenLong", possize/2);
SetOption("MaxOpenshort", possize/2);
SetOption("SeparateLongShortRank", True ); 

I've read through the user's manual, specifically:

"If your position score is NOT symetrical, this may mean that you are
not getting desired top-ranked signals from one side. Therefore, to
fully utilise MaxOpenLong and MaxOpenShort in rotational balanced
("market neutral") long/short systems it is desired to perform
SEPARATE ranking for long signals and short signals. To enable
separate long/short ranking use: SetOption("SeparateLongShortRank",
True );"

My question is how does one designate the different position scoring
as all there appears to be is a single option (i.e. PositionScore).

I want to score the shorts and longs differently.  Is there a
"PositionScoreLong" and a "PositionScoreShort"?

Anyway...

1) How can I score the shorts and longs differently?
2) Tomasz...in the next update could you implement something like I
suggested above?  It would make long/short systems much easier and
more clear for those of us who aren't programming experts



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

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/