Metastock language help

#1
Hi,

Need some help with Metastock language. If I want to make an expert whereby sell is interpreted as - "The First Big Black Candle after a Stoch & Stoch MA crossover" how do I write it?

Thanks,

Ropewalker
 
#3
Ropewalker said:
Hi,

Need some help with Metastock language. If I want to make an expert whereby sell is interpreted as - "The First Big Black Candle after a Stoch & Stoch MA crossover" how do I write it?

Thanks,

Ropewalker
Hi Ropewalker ,

Goto MetaStock -> Tools -> Indicator Builder -> New
Copy and paste formula

Name : STOCH WITH BigBlackCandle
Formula :
E1:= BigBlack();
X1:= Stoch(5,3) > Mov( Stoch(5,3), 3, S );
CHKE1:=Cum(E1)-ValueWhen(1,X1=1,Cum(E1));
ART1:=If(E1=1 AND Ref(CHKE1,-1)=0 , 1 , 0);
E2:=CHKE1=1 AND Stoch(5,3) < Mov( Stoch(5,3), 3, S );
CHKE2:=Cum(E2)-ValueWhen(1,X1=1,Cum(E2));
ART2:=If(E2=1 AND Ref(CHKE2,-1)=0 , 2 , 0);
ART2

Harish Chheda
 
#4
Hi can anybody let me know how to explore and find stocks that give SAR signals? I need the formula to copy and paste.and also the commentary.thank you
 
#5
mkshekar said:
Hi can anybody let me know how to explore and find stocks that give SAR signals? I need the formula to copy and paste.and also the commentary.thank you



SYNTAX sar( STEP, MAXIMUM )

FUNCTION Calculates the predefined Parabolic SAR indicator.

EXAMPLE sar( 0.02, 0.20 )

for buy
close>sar( 0.02, 0.20 )
for sell
close<sar( 0.02, 0.20 )
 

Similar threads

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?