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

[amibroker] HowTo - Paint 'Band' or Ribbon on bottom of chart, and othe plotting questions.



PureBytes Links

Trading Reference Links

Hello
Struggling with some plotting questions, and hoping the group can help
me out. 

1) .. how to plot 'nothing'.  Or maybe better phrased... I want the
background color and existing plots to show 'thru' when the array has
a 0 or null in it. 

Using something like  Plot(array,"",IIf(array=1,colorBlack,colorWhite)..
sort of does it, but what I really want is 'colortransparent' for the
false case.  Can this be done? 

2) How would would one program a narrow 'paint band' across the
bottom/top of a chart similar to what the folks at PatternExplorers do
?  See the bottom of the price chart at
http://www.patternexplorer.com/price-chart.html  for an example. 

I have a need for several of these 'status bands'.
I've tried various combinations of styleownscale, and styleleftaxis,
but  don't really like what I've got so far. 

3) Along the same lines .. 
What is the best way to change the color of a chart background for
just a certain time/date range .. for example .. how would I color the
background to show price> ema(C,21) for example.

I kind of have this working now, using styleownscale, and the scale of
0 to 1. but it overwrites the chart grid lines, which is not what I want.

thanks in advance !

Wes


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/618 - Release Date: 1/6/2007 7:47 PM