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

[EquisMetaStock Group] FW: metastock coding



PureBytes Links

Trading Reference Links



 

 

From: Hitendra Vasudeo [mailto:hitendra@xxxxxxxxxxx]
Sent: Saturday, June 13, 2009 6:35 PM
To: 'mahiya001@xxxxxxxxx'
Subject: metastock coding

 

Hello,

 

I have worked on 9.55 -10.

 

This is purely intra-day and possibly to connection with overall trend and previous days movement at all.

 

This takes into account the high between 9.55-10 only

 

Create indicator called : time

DH:= (DayOfMonth()    AND       Hour()=10 AND  Minute() >= 00 AND  Minute()  <  05);;

 ValueWhen( 1,dh , HIGH);

 

Create indicator called: time1

DH:= (DayOfMonth()    AND       Hour()=10 AND  Minute() >= 00 AND  Minute()  <  05);;

 ValueWhen( 1,dh , LOW);

 

Create indicator called : IT-UP Buy

a:=Cross(HIGH ,   Fml( "time")    );

 

b:=Cross(   Fml( "time1"),LOW   );

 

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

 

state>Ref(state,-1);

 

Create indicator called: IT-Down Sell

a:=Cross(HIGH ,   Fml( "time")    );

 

b:=Cross(   Fml( "time1"),LOW   );

 

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

 

state<Ref(state,-1);

 

Create indicator called: IT-UP

((ValueWhen(1 , Fml( "IT-UP Buy")  ,HIGH ) - ValueWhen(1 ,  Fml( "IT-UP Buy")  ,LOW ))*1.27)+ValueWhen(1 ,  Fml( "IT-UP Buy")  ,HIGH );

((ValueWhen(1 , Fml( "IT-UP Buy")  ,HIGH ) - ValueWhen(1 ,  Fml( "IT-UP Buy")  ,LOW ))*1.618)+ValueWhen(1 ,  Fml( "IT-UP Buy")  ,HIGH );

((ValueWhen(1 , Fml( "IT-UP Buy")  ,HIGH ) - ValueWhen(1 ,  Fml( "IT-UP Buy")  ,LOW ))*2.618)+ValueWhen(1 ,  Fml( "IT-UP Buy")  ,HIGH );

ValueWhen(1 , Fml( "IT-UP Buy")  ,HIGH );

ValueWhen(1 ,  Fml( "IT-UP Buy")  ,LOW );

 

Create indicator called: IT-Down

ValueWhen(1 ,   Fml( "IT-Down Sell")   ,LOW )-((ValueWhen(1 ,   Fml( "IT-Down Sell")   ,HIGH ) - ValueWhen(1 ,    Fml( "IT-Down Sell")   ,LOW ))*1.27);

ValueWhen(1 ,   Fml( "IT-Down Sell")   ,LOW )-((ValueWhen(1 ,   Fml( "IT-Down Sell")   ,HIGH ) - ValueWhen(1 ,    Fml( "IT-Down Sell")   ,LOW ))*1.618);

ValueWhen(1 ,   Fml( "IT-Down Sell")   ,LOW )-((ValueWhen(1 ,   Fml( "IT-Down Sell")   ,HIGH ) - ValueWhen(1 ,    Fml( "IT-Down Sell")   ,LOW ))*2.618);

ValueWhen(1 ,   Fml( "IT-Down Sell")   ,HIGH );

ValueWhen(1 ,   Fml( "IT-Down Sell")   ,LOW );

 

 

Expert Advisor

Give a name- Purely intra-day

Go to Symbols, new add and give up arrow as it is for buy

Given name B-

a:=Cross(HIGH ,   Fml( "time")    );

 

b:=Cross(   Fml( "time1"),LOW   );

 

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

 

state>Ref(state,-1)

 

Go to symbols, new add and given down arrow as it is for sell

 

a:=Cross(HIGH,   Fml( "time")   );

 

b:=Cross(   Fml( "time1"),LOW );

 

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

 

state<Ref(state,-1)

 

for further queries

 

call on 919820219664

 

Hitendra Vasudeo

www.stockmechanics.com

 

 

 

 



__._,_.___


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

__,_._,___