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

[Metastockusers] Re: barssince() problem



PureBytes Links

Trading Reference Links

Pierre, The use of Simulation Functions can only be used in the 
Enhanced System Tester. See page 256 of the user manual. Since they 
cannot be used in experts or indicators or explorations they are 
useless to develope systems that are traded in real time
--- In Metastockusers@xxxxxxxxxxxxxxx, Pierre Tremblay <pt2000@xxxx> 
wrote:
> Eric,
> 
> If you have MS 8, you can use function :  
Simulation.CurrentPositionAge
> instead of BarsSince function to easily resolve your problem.
> 
> Pierre
> 
> rans rundize a écrit:
> 
> > Dear all,
> >  
> > I use barssince function to count the number of periods passed 
since 
> > the last buy order is true. The problem is before the  next sell 
order 
> > is true, there could be a chance to have another buy order 
condition 
> > true generated but is ignored before the next sell order is 
genreated 
> >  because I choose only one open position at all time. But 
> > the barsince() function is changed accroding to the second buy 
order 
> > not first. I want the number of periods passed since the first 
buy 
> > order. That is if there is a open order available but before the 
sell 
> > order is gernerated, any new buy order will be ingored by the 
> > barssince() function.  How to do it?  I really appreciated.
> >  
> > best regards,
> >  
> > Eric 
> > -----------------------------------------------------------------
-------
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail AddressGuard 
> > <http://antispam.yahoo.com/whatsnewfree>
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> > click here 
> > 
<http://rd.yahoo.com/SIG=12cf5sukf/M=267637.4116732.5333197.1261774/D
=egroupweb/S=1705001779:HM/EXP=1069137817/A=1853618/R=0/*http://www.n
etflix.com/Default?mqso=60178338&partid=4116732> 
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > Metastockusers-unsubscribe@xxxxxxxxxxx
> >
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service 
> > <http://docs.yahoo.com/info/terms/>.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

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