PureBytes Links
Trading Reference Links
|
Infact to be more specific - I was looking to find when said(MarkedBuy)
event occured in foreign ticker and monitor activity thereafter.
The idea being - Code can be pasted into "Indicator" and then minimized -
So no AA need be run to check for conditions.
RG
Michael.
At 05:01 AM 12/05/2004, you wrote:
>Michael,
>
>Here is a solution, I do not know if it is the shorter possible:
>If you scan a WL with 30 members with
>
>population=30;
>X=LastValue(Cum(1));
>Filter=1;
>AddColumn(X,"X");
>for(N=0;N<population;N++)
>{
>if(Status("STOCKNUM")==N)
>{
>AddToComposite(X,Name()+WriteVal(X,1.0),"V");
>Buy=0;
>}
>}
>then a series of artificial stocks MSFT1080, INTC1079,^NDX4668 etc
>will be created. You may recognize the name and the total bars in the
>same string, even if stock histories are different.
>Now it is possible to extract the total bars with
>
>Y="";
>function BARS( X )
>{
> list = CategoryGetSymbols( categoryGroup, 253 );
> for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
> {
> if( StrLeft(SYM,StrLen(X))==X)
> {
>Y=StrMid(SYM,StrLen(X),10);
> } }
> return StrToNum(Y);
>}
>TICKER="MSFT";
>Title=TICKER+" has "+WriteVal(BARS(TICKER),1.0)+" bars";
>
>Dimitris Tsokakis
>
>--- In amibroker@xxxxxxxxxxxxxxx, "Michael.S.G." <OzFalcon@xxxx>
>wrote:
> > Thanks, But it's limmited by the current selected bar - So can't
>use.
> >
> > It'd be real handy if, when setting foreign - We could de-sync the
>array
> > lengths.
> > Especialy now we can loop through a watchlist of
>tickers.............
> >
> > MSG
> >
> >
> > At 10:48 PM 11/05/2004, you wrote:
> > >Perhaps:
> > >
> > >Of = foreign(Ticker,"O");
> > >NumBars = Cum(Of>0);
> > >
> > >herman.
> > >-----Original Message-----
> > >From: Michael.S.G. [mailto:OzFalcon@x...]
> > >Sent: Tuesday, May 11, 2004 8:34 AM
> > >To: amibroker@xxxxxxxxxxxxxxx
> > >Subject: [amibroker] Bars in Foreign ticker
> > >
> > > Anyone know how to find the total number of bars in a
>Foreign ticker?
> > >
> > > KR
> > > Michael.
> > >
> > >
> > >
> > >
> > >Send BUG REPORTS to bugs@xxxx
> > >Send SUGGESTIONS to suggest@xxxx
> > >-----------------------------------------
> > >Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > >(Web page:
> > ><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.
> com/group/amiquote/messages/)
> > >--------------------------------------------
> > >Check group FAQ at:
> >
> ><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://g
>roups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > >
> > >
> > >
> > >
> > >Send BUG REPORTS to bugs@xxxx
> > >Send SUGGESTIONS to suggest@xxxx
> > >-----------------------------------------
> > >Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > >(Web page:
> > ><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.
> com/group/amiquote/messages/)
> > >--------------------------------------------
> > >Check group FAQ at:
> >
> ><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://g
>roups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > >
> > >
> > >Yahoo! Groups Sponsor
> > >ADVERTISEMENT
> > >
> > >
> > >----------
> > >Yahoo! Groups Links
> > >To visit your group on the web, go to:
> >
> ><http://groups.yahoo.com/group/amibroker/>http://groups.yahoo.com/gro
>up/amibroker/
> > >
> > >
> > >To unsubscribe from this group, send an email to:
> > ><mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?
>subject=Unsubscribe>amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > >
> > >Your use of Yahoo! Groups is subject to the
> > ><http://docs.yahoo.com/info/terms/>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
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->
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:
http://docs.yahoo.com/info/terms/
Attachment:
Description: ""
|