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

Re: (no subject)new Re: Myvar


  • To: Rich Estrem <omega-list@xxxxxxxxxx>
  • Subject: Re: (no subject)new Re: Myvar
  • From: Brent August <bka10237@xxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Feb 1999 15:25:22 -0500 (EST)
  • In-reply-to: <3.0.1.32.19990216130752.008aa100@xxxxxxxxxxxxxxxxx>

PureBytes Links

Trading Reference Links



Brent August wrote:

> Thank you but I have tried this.  Problem is entryprice changes to be most
> recent entry price and (1) gets you the entry price just prior to the most
> recent (0). I want the first entry price which may have happened some time
> ago.
> I need to assign that old value (at the time it happened of course) to
> myvar, so I can use it later.
>
> Rich Estrem wrote:
>
> > At 11:02 AM 2/16/99 -0800, you wrote:
> > >I would like to assign "myvar" the value of the entry price from my
> > >first entry signal. But after this
> > >entry has been exited and many other entries and exits have taken place
> > >the function "entryprice"
> > >returns the current entry price.
> > >
> > >How do I assign a var with the value of something like this?
> > >
> > >    I tried "array: Myvar[100](0);" where myvar = entryprice but when I
> > >index myvar[0]
> > >    I still get a current value of entryprice.
> > >
> > >    any help will be appreciated.
> > >
> >
> > try this:
> >
> > if totaltrades=1 then myvar=entryprice(1);
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Rich Estrem, Tucson,Az.
> > estrem@xxxxxxxxxxxxx
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~