Darvas Boxes
Darvas Boxes is an indicator for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages and ATR. It draws arrows on the chart. It has 13 settings, for example Unique Name (default D_Box), Darvas Mode (default 3) and Pivot Strength (default 3). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 1 indicator file with source code (.mq4) you can open and edit in MetaEditor and a PDF guide. 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 Darvas Boxes
Darvas Boxes is an indicator for MetaTrader 4 based on Moving Average and ATR. It draws buy and sell arrows on the chart. It has 13 settings, such as Unique name, Darvas mode and Pivot strength. MQL source code included.
Files in the download: Darvas-Style Trading.pdf, DarvasBoxes_v3.mq4, mdarvas_notes.rar.
Settings
| Setting | Default | What it does |
|---|---|---|
| Unique name | D_Box | |
| Darvas mode | 3 | Darvas Modes (See table above) |
| Pivot strength | 3 | Pivot Strength in bars |
| Rolling period | 1 | Rolling period of evaluation(Classic-12 months,Modern-6 months or less) |
| Neutral color | Silver | Colour on the chart |
| Up trend color | DodgerBlue | Colour on the chart |
| Dn trend color | Coral | Colour on the chart |
| Box width | 2 | |
| Boxes mode | 1 | 0-off,1-on |
| Channel mode | 0 | 0-off,1-on |
| Pivots mode | 1 | 0-off,1-on |
| Ghost boxes mode | 0 | 0-off,1-on |
| Signal mode | 1 | 0-off,1-on |
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 · Moving Average · ATR · MT4 Indicator · MQL4 Source Code