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

Re: [EquisMetaStock Group] adding psoition in system



PureBytes Links

Trading Reference Links

thanks Joe!
I use these to binary latches to count for size position

System ADX2
{****binary latch1ADX>20*******}
sig:=Cross(ADX(12),20);
rst:=Cross(20,ADX(12)) OR Cross(40,ADX(12));
i:=Cum(sig+rst>-1)=1;
rmb:=BarsSince(sig OR i)<BarsSince(rst OR i);
{*****binary latch2 ADX>30*******}
sig2:=Cross(ADX(12),30);
rst2:=Cross(20,ADX(12)) OR Cross(40,ADX(12));
i2:=Cum(sig2+rst2>-1)=1;
rmb2:=BarsSince(sig2 OR i2)<BarsSince(rst2 OR i2);
{SUM OF POSITIONS}
quant:=rmb+rmb2;
quant;

Then i place quant variable in entry size function (BUY ORDER).
hgr:=FmlVar("System ADX2","quant");
hgr;

Is not working,  the system ignores this rule.....
and how do i sell the whole position?(ie. size=2)
Thanks a lot

Juan


----- Original Message -----
From: "Joe J." <jojab@xxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Wednesday, March 12, 2003 3:04 AM
Subject: RE: [EquisMetaStock Group] adding psoition in system


> In 8.0 I believe it is (although I haven't had the need to do it).  You
have to check the box to allow multiple positions and indicate that you want
2.  Then you'll need to have something that triggers your regular long and
then an "OR" statement that references the close when your long condition
was last true.  You'll compare that plus the .5% to the close (or high, if
you want) of the current bar.  To do this try the ValueWhen() function.
>
> Good Trading,
>
> Joe J.
>
>
>
> -----Original Message-----
> From: emarco [mailto:emarco@xxxxxxxxxxxxxxx]
> Sent: Tue 3/11/2003 8:50 PM
> To: equismetastock@xxxxxxxxxxxxxxx
> Cc: Metastockusers@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] adding psoition in system
>
> question "do u know how to add positions in MS"?
> I would like to buy 1 contract after buy signal and then if price goes
above 0.5% from buy signal i would like to buy buy another one.
> Is it possible?
> Thanks
>
>
> Juan
>
>
>
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>



To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/