SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: TechTrader42 who wrote (4936)6/26/1998 3:12:00 PM
From: shasta23  Read Replies (2) of 11149
 
HI Brooke!

I was wondering if it's possible to scan for 2 different MACD settings in one q+ scan like in MSWIN. I tried the following setup-which is only part of the scan- but can't make it run. Any ideas if it's possible or if i have to use sequential scans?

Stefan

p.s.oh i almost forgot, here is my code:

Output="MyMACD.lst";
input="fast.lst";

integer a,b,c,d,e,f;

a:=13;
b:=34;
c:=89;
d:=5;
e:=35;
f:=8;

set MACD1 =a,b,c;
set MACD2 =d,e,f;

if MACD2(0) <0 and
MACD2(0)>MACD2(-1) and
MACD2(-1)>MACD2(-3) and
MACD1(0)>MACD1(-1) then

Println Symbol, "," ,Close(0);
endif
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext