Need Metastock code for the SNIFFER system

novice1

Active Member
#1
Hi Metastock Experts,

I have been following this link
http://www.traderji.com/technical-analysis/15098-sniffer-system.html
and I am new to metastock.

I do not know how to code the conditions specified there. Can one of the gurus guide me and share the explorer code for checking the following conditions ?
The template I put on my WEEKLY charts is...

* 11 period ADX with a horizontal line set at 25.
* 3 period CCI histogram with a horizontal line drawn at the zero level.
* 13 week and 26 week EMA's.
How to you code for weekly EMAs in Metastock ?

Thanks in advance
 
#2

novice1

Active Member
#3
Thanks for your reply, aroymkp. But manually scanning all the charts is very tedious. How do I do this in explorerer ? How to code for WEEKLY EMAs in MS ?

In the same thread there is this AFL code:

TimeFrameSet(inWeekly);
Cond1 = IIf(EMA(Close,13)>EMA(Close,26),1,-1);
Cond2 = IIf(ADX(11)>25,1,-1);
Cond3 = IIf(CCI(3)>0,1,-1);
TimeFrameRestore();

Buy= (Cond1>0 AND Cond2>0 AND Cond3 >0);
How to convert this to MS explorer code ?

Regards
 

Similar threads