View Full Version: Metastock Exploration: MACD and Stoch Cross Over

ChartistsUnited > Metastock Exploration & Trading Systems > Metastock Exploration: MACD and Stoch Cross Over



Title: Metastock Exploration: MACD and Stoch Cross Over


Hc - September 3, 2005 03:49 PM (GMT)
Someone asked me to help on the exploration code for scanning MACD & Stoch crossover, so I share the codes as followed for all members:

user posted image

Here is the text verion for easy cut and paste:

Col A: Close C
Col B: Volume V
Col C: MACD Alert(Cross(MACD(),Mov(MACD(),9,E)),3)
Col D: MACD Day BarsSince((Cross(MACD(),Mov(MACD(),9,E))))
Col E: Stoch Alert(Cross(Stoch(14,3),Mov(Stoch(14,3),3,S)),3)
Col F: StochDay BarsSince(Cross(Stoch(14,3),Mov(Stoch(14,3),3,S)))
Filter (colC=1 AND colE=1) AND V>200


Please refer to my other posting here for the (similar) reasoning of the inclusion of "Alert":

http://s7.invisionfree.com/ChartistsUnited...dpost&p=2689594

Please note that the parameter for MACD is 26-12-9 and that of stochastic is 14-3-3; and the free play period during when the exploration will list the stock is 3 days. You have to do your own changes if you wish to use other values.




Hosted for free by InvisionFree