I guess this has probably been asked before, but I can not find an
answer.
I want to test a condition such as:
buy = cross( close, ma( close,30 ));
but only when say the NASDAQ also fulfills the same condition,
(ie it's value is also above it's 30 day MA)
Any ideas as to how to code ?
Thanks
Jonathan
|