PureBytes Links
Trading Reference Links
|
Nice....
More ways than one to the top of the mountain...
----- Original Message -----
From: "Graham" <gkavanagh@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, January 12, 2004 10:19 PM
Subject: RE: [amibroker] A couple ?'s
> Thanks Anthony I had thought of interval but was trying to use a different
> way that wasn't working so resorted to the bar to bar variation.
>
> Cheers,
> Graham
> http://groups.msn.com/asxsharetrading
> http://groups.msn.com/fmsaustralia
>
> -----Original Message-----
> From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx]
> Sent: Tuesday, 13 January 2004 11:04 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] A couple ?'s
>
>
> Jim,
>
> Notice the Interval() function added.....
>
> //Price chart:
> col=IIf(C>O AND C>Ref(C,-1),colorBrightGreen,IIf(C<O AND C<Ref(C,-
> 1),colorRed,colorYellow));
>
> Plot( C, "Close", col, styleBar);
>
> Title= EncodeColor (colorWhite) + Name ()+"
>
"+WriteIf(Interval()==86400,"Daily",WriteIf(Interval()==432000,"Weekly",Writ
> eIf(Interval()==2160000,"Monthly",""))) + EncodeColor
>
> (colorDefault) + " O=$" + WriteVal (O, 1.2) + " H=$" + WriteVal (H,
>
> 1.2) + " L=$" + WriteVal (L, 1.2) + " C=$" + WriteVal (C, 1.2) + " "
>
> + WriteVal ((ROC(C,1)), 1.1) + "% " + WriteVal( DateTime(),
>
> formatDateTime );
>
>
>
> //Volume chart
>
> col=IIf(C>O AND Close>Ref(C,-1),colorBrightGreen,IIf(C<Open AND C<Ref
>
> (C,-1),colorRed,colorYellow));
>
> Plot( V, "Volume", col, styleHistogram | styleThick );
>
> Title= EncodeColor (colorWhite) + Name () +"
>
"+WriteIf(Interval()==86400,"Daily",WriteIf(Interval()==432000,"Weekly",Writ
> eIf(Interval()==2160000,"Monthly","")))+ EncodeColor
>
> (colorDefault) + " Volume " + WriteVal (V, 1.0) + " " + WriteVal(
>
> DateTime(), formatDateTime );
>
>
>
> Anthony
>
> ----- Original Message -----
> From: "Jim" <bankedout@xxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, January 12, 2004 9:10 PM
> Subject: [amibroker] A couple ?'s
>
>
> > Hello,
> >
> > I have some trouble getting my custom colored price bars to display
> > the same type of information as the "stock" price bars included with
> > Amibroker.
> >
> > In the "stock" version, next to the ticker symbol at the top of the
> > chart, it states the periodicity of the chart. For example if you are
> > looking at a Daily chart, it says "Daily" next to the ticker symbol.
> > Weekly says Weekly, and Monthly says Monthly. I can't figure out how
> > to get that in my custom price chart.
> >
> > Second issue is that I'm having trouble getting information in to the
> > little hover box. That's not the real name I'm sure. Well, let's say
> > you are on a standard price chart in Amibroker. You just move your
> > mouse pointer over a price bar. A little box pops up telling you the
> > Date, Value, Open, High, Low, Close, Volume, Open Interest. In a few
> > seconds or so, this box disappears. If you move your mouse cursor
> > again, it appears with the new information you are pointing at
> > (without clicking anything).
> >
> > Well, in my custom colored bar chart, my little hover box only states
> > Date, Value, Close. I don't get the Open, High, Low, or Volume.
> >
> > My code for custom colored bars is below. Any help would be greatly
> > appreciated.
> >
> > Thanks in advance,
> >
> > Jim
> >
> > **After you paste code, make sure Scaling is set to "Automatic", and
> > in the Grid Lines section: "Middle" and "Show Dates" are checked**
> > --This color scheme looks best with a black background IMHO--
> >
> > col=IIf(C>O AND C>Ref(C,-1),colorBrightGreen,IIf(C<O AND C<Ref(C,-
> > 1),colorRed,colorYellow)); Plot( C, "Close", col, styleBar);
> > Title= EncodeColor (colorWhite) + Name () + EncodeColor
> > (colorDefault) + " O=$" + WriteVal (O, 1.2) + " H=$" + WriteVal (H,
> > 1.2) + " L=$" + WriteVal (L, 1.2) + " C=$" + WriteVal (C, 1.2) + " "
> > + WriteVal ((ROC(C,1)), 1.1) + "% " + WriteVal( DateTime(),
> > formatDateTime );
> >
> > I use this volume below the chart, so the bar colors match:
> >
> > col=IIf(C>O AND Close>Ref(C,-1),colorBrightGreen,IIf(C<Open AND C<Ref
> > (C,-1),colorRed,colorYellow)); Plot( V, "Volume", col, styleHistogram
> > | styleThick ); Title= EncodeColor (colorWhite) + Name () +
> > EncodeColor
> > (colorDefault) + " Volume " + WriteVal (V, 1.0) + " " + WriteVal(
> > DateTime(), formatDateTime );
> >
> >
> > 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/
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
>
>
> 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/
>
>
> 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/
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
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/
|