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

Re: [amibroker] Re: New file uploaded to amibroker



PureBytes Links

Trading Reference Links



NewHighs=IIf(H > Ref(HHV(H,260),-1),1,0);//New highs
Newlows =IIf(L < Ref(LLV(L,260),-1),1,0);//New lows
HHP
===================================
At 07:38 AM 10/02/2004, you wrote:
This is just to make composite
breadth files. Every thing works fine 
except for the new highs and lows. It looks right to me but it is 
generating astronomical numbers. Also I am getting a ) for new highs

and lows on 2-9-04. 
Everything comes out fine except for new lows and new highs. I am 
scanning the NASDAQ.

Adv=C>Ref(C,-1);
Advv = IIf(C>Ref(C,-1),V,0);//advance volume 
Decv = IIf(C<Ref(C,-1),V,0);//Declining volume
Advs = IIf(C>Ref(C,-1),1,0);//advancing issues
Decs = IIf(C<Ref(C,-1),1,0);//declining issues
Unchanged=IIf(C == Ref(C,-1),1,0);//unchanged issues

NewHighs=IIf(H > Ref(H,260),1,0);//New highs
Newlows=IIf(L < Ref(L,260),1,0);//new lows

AddToComposite( Advv, "~qadvv", "x",1);
AddToComposite( DecV, "~qdecv", "x",1);
AddToComposite( Advs, "~qavs", "x");
AddToComposite( Decs, "~qdecs", "x");
AddToComposite( Unchanged,"~qunch","x");
AddToComposite(NewHighs,"~qhighs","h");
AddToComposite(NewLows,"~qlows","l");

Thanks
Clyde


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page:
http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
  
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.