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

[EquisMetaStock Group] Question...



PureBytes Links

Trading Reference Links

Hello,

I am trying to create a swing trading system.  If I have an inside day
then I want to ignore it - ie step back another day.  So I started by
assigning a vartiable, p1 as follows:

p1:=If(Ref(Inside(), -1),-1,-2);

Then I want check for, amongst other things, a higher high.  So I do:

H<Ref(H,p1)

But this doesn't work.  It says 'This variable or expression must
contain only constant data.'

And this gives the same error:

H<Ref(H,If(Ref(Inside(), -1),-1,-2))

Is it because I can't have nested Ref's?  Anyone any idea how I could
overcome this?

Thanks



John Rowlinson


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/