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

RE: [EquisMetaStock Group] Help creating a simple formula



PureBytes Links

Trading Reference Links

 

Hello

 

Sorry for earlier positing. I did take into account your 7% above the average.

 

In Buy paste the following

 

a:=Cross(CLOSE ,   (Mov(CLOSE ,50 ,S )*1.07)   );

 

b:=Cross(   (HHV(HIGH ,50 )*.90)   ,CLOSE );

 

state:=If(BarsSince(a)<BarsSince(b),1,0);

 

state>Ref(state,-1)

 

 

In Sell or exit long past the following

 

a:=Cross(CLOSE ,   (Mov(CLOSE ,50 ,S )*1.07)   );

 

b:=Cross(   (HHV(HIGH ,50 )*.90)   ,CLOSE );

 

state:=If(BarsSince(a)<BarsSince(b),1,0);

 

state<Ref(state,-1)

 

thank

 

Hitendra Vasudeo

www.stockmechanics.com

 

 

 

From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of aserr_98
Sent: Monday, February 23, 2009 7:43 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Help creating a simple formula

 

Hi
I'm trying build the folowing formula.

Buy signal when close is 7% above the 50 simple moving average.

Sell signal when close is 10 % down from the High of 50 days.

c>=Mov(c,50,s)*0.93
and the sell signal
c<=HHV(H,50)-1)*0.90 - I'm missing something because don't work

any help will be appreciated.

Thanks Tony



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___