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

[amibroker] Re: Position Score



PureBytes Links

Trading Reference Links

1. Yes
2. Assumedly one would treat larger positives as buys and larger 
negatives as shorts ... So in the situation where you had a long 
only system you might want to qualify PositionScore as being those 
that are > 0 i.e. 

PositionScore = IIf(Whatever > 0, Whatever, 0);


--- In amibroker@xxxxxxxxxxxxxxx, "tipequity" <l3456@xxx> wrote:
>
> Thanks, for the reply. Please read my question more carefully. I 
> understand what positonscore is suppose to do. Lets assume that I 
> want to use the value of a variable var1 as a tiebreaker to enter 
> into trades, so I set PositionScore = var1;. var1 takes on values 
> from -100 to 100. If I understand it clearly, positionscore uses 
the 
> absolute value of var1. Therefore, var1=-100 & var =100 have the 
same 
> absolute value as tiebreakers. So my question is twofolds:
> 
> 1. Is the above explation true?
> 
> 2. if so, what is the merit of positionscore using absolute value? 
> specially when I can use postionscore = abs(var1).
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "vlanschot" <vlanschot@> wrote:
> >
> > Please read the manual more thoroughly:
> > 
> > USING POSITION SCORE 
> > 
> > You can use new PositionScore variable to decide which trades 
> should 
> > be entered if there are more entry signals on different 
securities 
> > than maximum allowable number of open positions or available 
funds. 
> > In such case AmiBroker will use the absolute value of 
PositionScore 
> > variable to decide which trades are preferred. 
> > 
> > Clearly AB needs to know which trade you want to enter if your 
> > signals exceed your MaxOpenPos. Therefore the above default 
rule. 
> Re 
> > negative value, if this means in your trading rules that you 
want 
> to 
> > go short, this will still happen. All AB does (internally) is 
> decide 
> > BEFOREHAND which signals it accepts / cuts off.
> > 
> > PS
> > If you want to change this, you need to use the CBT.
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "tipequity" <l3456@> wrote:
> > >
> > > Am I understanding correctly that position score is the 
ABSOLUTE 
> > value 
> > > of variable assigned to it? if so why the absolute value? what 
> > should 
> > > we do if the variable takes on negative variables? the 
following 
> is 
> > a 
> > > quote from AB manual.
> > > 
> > > "all scores are sorted according to absolute value of 
> > PositionScore."
> > >
> >
>




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/