[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

 

Create an Expert Advisor

 

Give a name to your expert advisor

 

Go to Symbols

 

Click on New

 

Give a name to it Say

 

Buy

 

In Conditions copy an past the following

 

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

 

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

 

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

 

state>Ref(state,-1)

 

Click on Graphic

 

In Graphic select Up arrow and Color which you want

 

Tick on below price plot

 

Then click ok

 

In symbols

 

Click  New

 

Give a name to it  Say

 

Sell

 

In Conditions copy an past the following

 

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

 

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

 

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

 

state<Ref(state,-1)

 

 

In Graphic select Down Arrow and Color which you want

 

Tuck on above price plot

 

Then Click ok ok and out

 

Open your chart and attach the expect you will see it.

 

 

Thank you

 

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

__,_._,___