PureBytes Links
Trading Reference Links
|
Here is an example of comparing today's closing price to yesterday's
and coloring the volume bars accordingly. This should provide the
basis for you perform what you want but with nested IIf statements and
different logic.
MM
_SECTION_BEGIN("Volume");
Plot( Volume, _DEFAULT_NAME(), IIf( C > Ref(C,-1), ParamColor("Up
Color", colorGreen ), ParamColor("Down Color", colorRed ) ),
ParamStyle( "Style", styleHistogram | styleThick, maskHistogram ) );
_SECTION_END();
--- In amibroker@xxxxxxxxxxxxxxx, "murthysuresh" <money@xxx> wrote:
>
> Can this be done.
> Can the intraday volume bar be multicolored
> for eg. blue if todays volume reaches 25% of 15 day volume average
> light green if todays volume reaches 50% of 15 day volume average
> dark green if todays volume reaches 50% of 15 day volume average
>
> Suresh
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/542 - Release Date: 11/20/2006
|