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

RE: [EquisMetaStock Group] FW: metastock coding



PureBytes Links

Trading Reference Links



Hi,
thanks a lot for ur precious advice
you are really like a mentor for the person like me, who is learing a system design
sir apart from this i had also designed a new system in metastock  it is as -

BUY - MACD() > 0 AND Mov(MACD(),9,E) > 0 AND MACD() > Mov(MACD(),9,E) AND ADX(14) >20 AND ADX(14) >= Ref(ADX(14),-1) AND Ref(ADX(14),-1) >= Ref(ADX(14),-2) AND Ref(ADX(14),-2) >= Ref(ADX(14),-3)

SELL - MACD() < 0 AND Mov(MACD(),9,E) < 0 AND MACD() < Mov(MACD(),9,E) AND ADX(14) > 20 AND ADX(14)>= Ref(ADX(14),-1) AND Ref(ADX(14),-1) > Ref(ADX(14),-2) AND Ref(ADX(14),-2) > Ref(ADX(14),-3)

                      ON 30 MIN TIME FRAME

i had backtested this system  n found it to be good on data from march 2009 15 june 2009 but from from 25.06.09 i had put this sysyem for real time test but it is incurred losses in all the trades like the following wer my trading calls yesterday

buy bharti airtel @ 807

buy infosys @ 1776

buy reliance capital @ 916

buy reliance infra 1258

buy unitech @ 82.75

i incurred losses in all the traders

can u help me with whats going wrong here.

regards
Nikhil

--- On Wed, 17/6/09, Hitendra Vasudeo <hitendra@xxxxxxxxxxx> wrote:

From: Hitendra Vasudeo <hitendra@xxxxxxxxxxx>
Subject: RE: [EquisMetaStock Group] FW: metastock coding
To: equismetastock@xxxxxxxxxxxxxxx
Date: Wednesday, 17 June, 2009, 5:19 PM

Hello

 

Momentum is extremely high.

Subsequently, we could seen preceding move to get terminate, if not then the direction can only loose momentum.  even if price  continue to move in that direction it can be with lesser speed and all it can happen subsequently the momentum can only fall after the exhaustion of the move.

 

 

 

 

 

From: equismetastock@ yahoogroups. com [mailto:equismetast ock@xxxxxxxxxxxx com] On Behalf Of Nikhil Khetan
Sent: Wednesday, June 17, 2009 11:15 AM
To: equismetastock@ yahoogroups. com
Subject: RE: [EquisMetaStock Group] FW: metastock coding

 





but wat is significance of adx(14) > 40

--- On Tue, 16/6/09, Hitendra Vasudeo <hitendra@xxxxxxxx com> wrote:


From: Hitendra Vasudeo <hitendra@xxxxxxxx com>
Subject: RE: [EquisMetaStock Group] FW: metastock coding
To: equismetastock@ yahoogroups. com
Date: Tuesday, 16 June, 2009, 10:13 PM

Ya, that helps..

 

We have an expert in which we have take care of sideways movement with the help of adx  in the overall trended system.

 

Every rise is accompanied by correction or sideways movement before a further rise and vices versa

 

If the sideways and corrective phase gets prolonged for some time on  any time frame chart then we have trouble.

 

Most importantly, the risk management plays key role in sideways market.

 

 

The issue is how do you define a sideways market in any time with automation.

 

Adx is one such tool we have been able to use.

 

You  can define a color.

 

In expert advisor go to highlight and indicate

 

 

ADX(14)<20 and give color say red and ADX(14) >20 green ADX(14)>40 say blue

 

 

 

 

From: equismetastock@ yahoogroups. com [mailto:equismetast ock@xxxxxxxxxxxx com] On Behalf Of Nikhil Khetan
Sent: Tuesday, June 16, 2009 5:38 PM
To: equismetastock@ yahoogroups. com
Subject: Re: [EquisMetaStock Group] FW: metastock coding

 



hi,
i added adx(14) > 20 to the symbol section of expert advisor, to filter out trading during the non-trending periods, wats ur view on it

Regards
Nikhil
--- On Sun, 14/6/09, Hitendra Vasudeo <hitendra@xxxxxxxx com> wrote:


From: Hitendra Vasudeo <hitendra@xxxxxxxx com>
Subject: [EquisMetaStock Group] FW: metastock coding
To: equismetastock@ yahoogroups. com
Date: Sunday, 14 June, 2009, 11:23 PM

 

 

From: Hitendra Vasudeo [mailto:hitendra@ vasudeo.com]
Sent: Friday, June 12, 2009 8:49 PM
To: 'mahiya001@xxxxxx com'
Subject: FW: metastock coding

 

For first 30 minutes high and low

 

In the indicator created time

 

Copy this

DH:= (DayOfMonth( )    AND       Hour() =  10 AND  Minute() <= 30 );

 ValueWhen( 1,dh , HIGH);

 

In the indicator created time1

 

Copy this

DH:= (DayOfMonth( )    AND       Hour() =  10 AND  Minute() <= 30 );

 ValueWhen( 1,dh , LOW);

 

Rest would remain same

 

From: Hitendra Vasudeo [mailto:hitendra@ vasudeo.com]
Sent: Saturday, June 13, 2009 6:35 PM
To: 'mahiya001@xxxxxx com'
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

 

 

 

 

 


Cricket on your mind? Visit the ultimate cricket website. Enter now!




Cricket on your mind? Visit the ultimate cricket website. Enter now!



ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET

__._,_.___


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

__,_._,___