Modify ParamStyle() as shown in AFL reference:
PARAMSTYLE
- select styles applied to the plot Exploration / Indicators
(AFL 2.70)
SYNTAX ParamStyle(''name'', defaultval = styleLine, mask = maskDefault )
RETURNS NUMBER
FUNCTION Allows to select the styles applied to plot.
Parameters
a.. name - parameter name
b.. defaultval - default value of style , takes combination of style*
constants
c.. mask - binary mask that defines which styles should be visible in
the drop down list
maskDefault - show thick, dashed, hidden, own scale styles (this is
default mask for ParamStyle)
maskAll - show all style flags
maskPrice - show thick, hidden, own scale, candle, bar
maskHistogram - show histogram, thick, hidden, own scale, area
Bill
----- Original Message -----
From: "Tim" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 24, 2007 9:27 PM
Subject: [amibroker] re: Histogram
> Hello,
> Some of the indicators that come with AB are simply line indicators.
> How can they be changed into a histogram? As an example,
> _SECTION_BEGIN("OSCP");
> r1 = Param( "Fast avg", 9, 2, 200, 1 );
> r2 = Param( "Slow avg", 18, 2, 200, 1 );
> Plot( OscP( r1,r2), _DEFAULT_NAME(), ParamColor( "Color", colorCycle
> ), ParamStyle("Style") );
> _SECTION_END();
>
> There are others I would like to change but if I can change this one
> then perhaps the others can be changed in a similar fashion. Thank you
> for any and all help.
>
> Kindest regards,
>
> Tim
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.6/1150 - Release Date: 11/24/2007
> 5:58 PM
>
>