View Single Post
  #9 (permalink)  
Old 07-01-2006, 12:16 AM
Roguewave's Avatar
Roguewave Roguewave is offline
Junior Member
 
Join Date: Jan 2006
Posts: 16
Roguewave is on a distinguished road
5 13 62 Cross

I looked at this code I posted (afterwards haha) and the Macd stuff
is commented out so its not going to interfere with your testing.

Currently it is looking for a cross of 5 EMA to 26 EMA.
Change this:

extern double MA5=5;
extern double MA26=26;

to this:

extern double MA5=5;
extern double MA26=13;

(Hit the compile button, do'uh!)

If you want to test the 5 crossing the thirteen.

change this:

extern double MA5=5;
extern double MA26=26;

to this :

extern double MA5=13;
extern double MA26=62;

if you want to test the 13 crossing the 62.

Cosmic Kharma and all that..
Reply With Quote