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

Re: How to keep a value in a variable over consecutive bars?



PureBytes Links

Trading Reference Links

Abhijit,

Keep it as an array variable.


-- 
Best regards,
 jon                           mailto:jonmac@xxxxxxxxxxx



Saturday, May 15, 2004, 1:28:33 AM, you wrote:
AD> Is there a way to set a variable in a bar and have access to it from a
AD> subsequent bar? I do not wish to have the variable to be a series. Also
AD> preferably not using a dll or something like that. Is there some sort o EL
AD> trick that would let me do this? As far as I understand, a variable, defined
AD> as var: something(0) woud get reset to 0 every bar. I do not want a series
AD> as only the value is important to me in a subsequent bar, not the bar where
AD> I calculated this.

AD> Thanks,

AD> Abhijit