BAV Z 1.1
This Old Kings indicator for MetaTrader 4 is called BAV Z 1.1. In the code it works with moving averages and CCI. It draws arrows on the chart, can send alerts and can read another timeframe. It has 40 settings, for example Trend CCI Period (default 14), Entry CCI Period (default 6) and LSMAPeriod (default 25). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 10 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 · v1.0 · Free
About BAV Z 1.1
BAV Z 1.1 is an indicator for MetaTrader 4 based on Moving Average and CCI. It draws buy and sell arrows on the chart, can alert you with a pop-up, sound, email or push message and can show data from another timeframe (MTF). It has 40 settings, such as Trend cci period, Entry cci period and Lsma period. MQL source code included.
Files in the download: BAV_Z 1.1.tpl, CCI_Woodies_Lnx_v6.ex4, CCI_Woodies_Lnx_v6.mq4, GRaB Candles Long.ex4, GRaB Candles Long.mq4, GRaB Candles Range.ex4, GRaB Candles Range.mq4, GRaB Candles Short.ex4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Trend cci period | 14 | Period or timeframe used by the calculation |
| Entry cci period | 6 | Period or timeframe used by the calculation |
| Lsma period | 25 | Period or timeframe used by the calculation |
| Ema period | 34 | Period or timeframe used by the calculation |
| Trend period | 5 | Period or timeframe used by the calculation |
| Text1 | ----------------------- | |
| Text2 | Mode 1 Shows LSMA hide EMA | |
| Text3 | Mode 2 Shows EMA hide LSMA | |
| MODE | 1 | |
| Text4 | ----------------------- | |
| Zero line cross alert | false | Turn this alert on or off |
| Count bars | 500 | |
| Indicator on | true | |
| Use for forex | true | |
| Use day formula | true | |
| Exit period choices | M1, M5, M15, M30, H1, H4, D1 | Number of bars in the calculation |
| Exit if period greater than | H1 | Number of bars in the calculation |
| _ | ||
| Part 1 | Day Candle & Session Box Settings: | |
| Show day candle | true | |
| Shift day candle right | 49 | Bar shift (0 = current bar) |
| Show today box | true | |
| Today box color | C'30,33,36' | Colour on the chart |
| Show yesterday box | true | |
| Yesterday box color | C'20,18,41' | Colour on the chart |
| __ | ||
| Part 2 | Pivot Line Start/Stop Settings: | |
| Note1 | Start with fullscreen lines, enter '1' | |
| Note2 | Start lines at Day Separator, enter '2' | |
| Note3 | Start lines at current candle, enter '3' | |
| Start lines | 2 | |
| Stop lines at current candle | false | |
| ___ | ||
| Part 3 | Pivot Line Color & Selection Settings: | |
| Central pivot color | Blue | Colour on the chart |
| Cp line style 01234 | 0 | |
| Cp solid line thickness | 1 | |
| Resistance pivots color | FireBrick | Colour on the chart |
| R line style 01234 | 0 | |
| R solid line thickness | 1 |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Buy/Sell Arrows · Alerts · Multi-Timeframe (MTF) · Moving Average · CCI · MT4 Indicator · MQL4 Source Code