#property copyright "Copyright @ 2015 traderathome and qFish"
#property link "email:
[email protected]"
/*---------------------------------------------------------------------------------------------
User Notes:
This indicator is coded to run on MT4 Build 600+. It draws PVA (Price-Volume Analysis) bar
and candlestick charts.
PVA Bars & Candlesticks -
The PVA bars and PVA candlesticks are used together with PVA volume for easy recognition of
when special price and volume situations occur. The special situations, or requirements for
the colors used are as follows.
Situation "Climax"
Bars with volume >= 200% of the average volume of the 10 previous chart TFs, or bars
where the product of candle spread x candle volume is >= the highest for the 10 previous
chart time TFs.
Default Colors: Bull bars are green and bear bars are red.
Situation "Volume Rising Above Average"
Bars with volume >= 150% of the average volume of the 10 previous chart TFs.
Default Colors: Bull bars are blue and bear are blue-violet.
PVA Color Options -
There are two PVA color options provided by "Color_Custom_Default_12".
1. Custom: Use this option for the multi-color PVA display where you can change colors.
This option is to help those suffering from color blindness or with other reasons for
needing different colors that better suit them.
2. Default: There are no inputs. The traditional multi-color PVA display is hard coded.
You can easily return to this display anytime while preserving those changes made to
the Custom display.
Selecting the Type of PVA Price Display -
To show PVA bars set "Style_Bars_Candles_12" to "1". To show PVA candlesticks input "2".
These bars and candlesticks display on top of the solid color Trend. A proper display
requires the MT4 price display be "Line chart" with CLR_NONE" as color, and not be set to
foreground. Be sure that chart Properties/Common tab/Chart on foreground is NOT checked!
- Traderathome, 08-01-2015
-----------------------------------------------------------------------------------------------
Acknowledgements:
BetterVolume.mq4 - for initial "climax" candle code definition (BetterVolume_v1.4).
----------------------------------------------------------------------------------------------
Suggested Colors White Chart Black Chart Remarks
indicator_color1 C'006,000,079' C'128,137,153' Candlewicks Up
indicator_color2 C'006,000,079'' C'128,137,153' Candlewicks Dn
indicator_color3 C'159,160,162' C'159,159,177' Bull
STD Candle
indicator_color4 C'106,106,117' C'106,106,117' Bear STD Candle
indicator_color5 C'096,096,238' C'017,136,255' Bull Rising
indicator_color6 C'187,050,233' C'184,051,255' Bear Rising
indicator_color7 C'000,166,100' C'031,192,071' Bull Climax
indicator_color8 C'214,012,083' C'224,001,006' Bear Climax
Note: Suggested colors coincide with the colors of the PVA Volumes indicator.