log in     sign up for free
 
I like the Japanese philosophy where you ask questions rather than look for answers. The more questions you come up with the better. The answers will happen.
Sunny Harris
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Zero Lag EMA Exploration

Formula for: MetaStock

exploration


 

 

Views:  1364

Added: May 27, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, exploration
 
Your Ad Here
Re: Lag In Moving Avg
To: metastock@xxxxxxxxxxxxx
Subject: Re: Lag In Moving Avg
From: Rakesh Sahgal
Date: Mon, 12 Feb 2001 15:00:23 -0800
In-Reply-To: <002601c094b0$cdf34100$9ca6a43f@xxxxxx>
References: <5.0.2.1.0.20010211173357.009f8030@xxxxxxxxxxxxxxxx>
<5.0.2.1.0.20010212082826.00a17930@xxxxxxxxxxxxxxxx>
Reply-To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx
Hi Rick,

The exploration I use is here to help you get going without wasting any time in writing the exploration.


Zero Lag EMA Exploration

ColA: Close

C


ColB: Trigger

If(Fml( "DS_EMA_X_MP()" )=1,H+.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=1,Ref(H,-1)+.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=1,Ref(H,-2)+.05,
If(Fml( "DS_EMA_X_MP()" ) =-1,L-.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=-1,Ref(L,-1)-.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=-1,Ref(L,-2)-.05,
0))))))


ColC: Signal

If( Fml( "DS_EMA_X_MP()" ) =1,1,
If( Fml( "DS_EMA_X_MP()" ) =-1,-1,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=1,2,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=-1,-2,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=1,3,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=-1,-3,
0))))))


Filter:

When(v,>=,500000)
AND
When( ADX(14),>,mov(adx(14),8,e))
AND
When(colC<>0)



You would do well to scan only those issues which have a high volume number. The more highly traded a stock the better the chances of a signal resulting in a decent move. I have also added the volume condition and you can insert a condition in the filter stipulating ADX greater than ADXr or some such measure. Paste the above into their respective places in a MS exploration and and it should work fine.

I am also giving below the formula for the MA Xover-paste it into the indictor builder and give it the name I have indicated here.

DS_EMA_X_MP()

if ( Cross(mov(mov(mp(),4,e))4,e),mov(mov(mp(),8,e))8,e)),1,
if (Cross(mov(mov(mp(),8,e))8,e),mov(mov(mp(),4,e))4,e)),-1,
0))

I have substituted the trendliness and money flow formulae by the volume and ADX() condition. Rest is the same as what I do. Hope this is of some help.

Regards

Rakesh Sahgal


At 09:01 PM 02/11/2001 -0800, you wrote:


Rakesh,

Thanks for the info. I'll play with this and see what I can come up with. I'm a little new at writing indicators and explorations so I always appreciate any help I can get. Your preference not to discuss your proprietary indicators is quite all right.

Thanks Again

Rick

[656]

 

 



Code:

Zero Lag EMA Exploration

ColA: Close

C


ColB: Trigger

If(Fml( "DS_EMA_X_MP()" )=1,H+.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=1,Ref(H,-1)+.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=1,Ref(H,-2)+.05,
If(Fml( "DS_EMA_X_MP()" ) =-1,L-.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=-1,Ref(L,-1)-.05,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=-1,Ref(L,-2)-.05,
0))))))


ColC: Signal

If( Fml( "DS_EMA_X_MP()" ) =1,1,
If( Fml( "DS_EMA_X_MP()" ) =-1,-1,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=1,2,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-1)=-1,-2,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=1,3,
If(Ref( Fml( "DS_EMA_X_MP()" ) ,-2)=-1,-3,
0))))))


Filter:

When(v,>=,500000)
AND
When( ADX(14),>,mov(adx(14),8,e))
AND
When(colC<>0)

 





Source: http://purebytes.com/archives/metastock/

 

View similar (exploration for MetaStock):

Weekly TRIX Moving Average Test
03_ MT & S/C - Short
Specialised Moving Average Exploration
02_ROC/TSF/ADXR/LinRegSlope Short
Pivot-Point Strategy
Directional Movement Index Exploration
Smooth Stocks Exploration
OBV Exploration
Wolfe Waves Exploration
Brady Breakout
...
 
 
all formulas for MetaStock
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012