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

formula's



PureBytes Links

Trading Reference Links


Hi all here is a search formula that tomasz helped 
me with 
well he wrote it all now that i think of 
it..
 
its a search for stocks that close 2 days above the 
moving average 21 days in this example but you can change it to what ever 
...
buy if for 2 days close is above 
21 day moving average
sell if for 2 days close is Below 
21 day moving average
 
buy = ref( cross( close, ma( close, 21 )), -1 ) 
AND close > ma( close, 21 );
 
sell = ref( cross( ma( close, 21 ), close ), -1 ) AND close < 
ma(close, 21 );
 
I'm sure others are working on formula's and Guru commantary..
How about sharing them with the 
group