MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Specialised Moving Average Exploration by Rakesh Sahgal
 

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))

 

Specialised Moving Average Exploration

ColA.

Close


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.

from Rakesh Sahgal

 
Source / From: TOP
http://www.guppytraders.com

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!