PureBytes Links
Trading Reference Links
|
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
- name - parameter name
- defaultval - default value of style , takes combination of style*
constants
- 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 -----
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 > > <*> To
visit your group on the web, go to: > http://groups.yahoo.com/group/amibroker/ > > <*> Your email settings: >
Individual Email | Traditional > > <*> To change settings
online go to: > http://groups.yahoo.com/group/amibroker/join > (Yahoo! ID required) > > <*> To
change settings via email: > mailto:amibroker-digest@xxxxxxxxxxxxxxx > mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx > > <*> 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/ > > > > -- > 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 >
>
__._,_.___
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
__,_._,___
|