PureBytes Links
Trading Reference Links
|
Style is not an array and thus not available for changing
What you can do is overlay 2 plots with different styles and use Null
for values not to be included in one of the plots
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 20/06/06, fesch92126 <fesch@xxxxxxxxxx> wrote:
> I'm trying to adapt the basic "Volume with Color" indicator to include:
> 1. A moving average for the volume {MA(V,30} and
> 2. An enlarged bar in the volume histogram whenever a volume bar
> exceeds 3*MA(V,30).
>
> The moving average plots well, but I have failed thus far to produce
> the enlarged volume bar. My code appears below. Any advice as to how
> to plot the enlarged volume bar will be gratefully received.
>
> DynamicColor = IIf( C > O, ParamColor("Up Color", colorGreen ),
> ParamColor("Down Color", colorRed ));
>
> DynamicWidth = IIf(Volume<3*MA(Volume,30),ParamStyle( "Style",
> styleHistogram|styleThick,maskHistogram), ParamStyle
> ("BigVol",styleArea));
>
> Plot( Volume, _DEFAULT_NAME(), DynamicColor,DynamicWidth);
> Plot(MA(V,30),_DEFAULT_NAME(),colorBlue,styleLine);
>
> Any advice will be very much appreciated.
>
> Thank you,
>
> Fred
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
|