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

[amibroker] Re: Colored Volume Bars



PureBytes Links

Trading Reference Links

Thanks Anthony and Jayson for your help. I can now apply the same 
principles to my other custom indicators and tidy them all up.
I still am amazed at all the things that Tomasz's program can do.
Cheers,
Anthony

--- In amibroker@xxxxxxxxxxxxxxx, Anthony Faragasso <ajf1111@xxxx> 
wrote:
> Anthony,
> 
> "Plot(C,"",colorBlack,styleCandle);"
> 
> By placing this plot statement first in the series of plot 
statements,
> makes this plot take precedance over each succeeding plot statement.
> Thereby, placing it on top...
> 
> Also, this plot color is only controlling the outline of the
> candles..not the specific colors for up and down candles..that is 
why
> your colors remain the same...
> 
> Anthony
> 
> 
> "Anthony " wrote:
> 
> >  Thankyou Anthony and Jayson, the StyleOwnScale option worked for 
the
> > price chart.
> > Anthony, if you have time, could you please explain why "Plot
> > (C,"",colorBlack,styleCandle);" stops the volume bars from
> > overwriting the price bars but leaves the price bars at my 
originally
> > selected colors(which were not black).
> >
> > Also, when I use StyleOwnScale within a custom indicator(like 
trying
> > to reproduce the in-built volume indicator) I can't get any grid
> > lines to appear.
> > Cheers,
> > Anthony
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, Anthony Faragasso <ajf1111@xxxx>
> > wrote:
> > > Jayson,
> > >
> > > I tried that first but the problem is that the volume bars are
> > displayed
> > > on top of the price bars..therefore you should plot the price 
bars
> > first
> > > so they plot on top of the volume bars...
> > >
> > > Anthony
> > >
> > > Jayson wrote:
> > >
> > > >  Anthony,If you add stylownscale to your custom vol it should
> > leave
> > > > the price scale alone.... Jayson
> > > > -----Original Message-----
> > > > From: Anthony <axon50@xxxx> [mailto:axon50@x...]
> > > > Sent: Tuesday, February 11, 2003 7:02 AM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: [amibroker] Colored Volume Bars
> > > >
> > > > Hi,
> > > > I want to have different colors for volume bars on up days and
> > down
> > > > days on the main price chart.
> > > > Is there any easy way of doing it or do I have to create a 
custom
> > > > indicator?
> > > > I created a custom indicator for volume alone but can't seem 
to
> > get
> > > > the grid lines the same as the in-built volume display.
> > > >
> > > > VolumeColor = IIf(Close>Open,colorGreen,IIf
> > > > (Close<Open,colorRed,colorPaleBlue));
> > > > Plot(Volume,"volume",Volumecolor,styleHistogram+styleThick);
> > > >
> > > > Any suggestions on how to get the scaling and gridlines 
correct?
> > > >
> > > > Thanks,
> > > > Anthony
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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
> > > >
> > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service.
> > > >
> > > >                    Yahoo! Groups Sponsor
> > >                         ADVERTISEMENT
> > >
> > >
> > > >
> > > > 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
> > > >
> > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service.
> >
> >
> >                    Yahoo! Groups Sponsor
>                         ADVERTISEMENT
> 
> 
> >
> > 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
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/