XU ADR D1 Button
This Old Kings indicator for MetaTrader 4 is called XU ADR D1 Button. Its name points to the daily high / low range. It can read another timeframe and is set up for gold. It has 22 settings, for example Indicator (default Version), Auto Refresh (default true) and STR01 (default <<<==== [01] Open Postio). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 1 indicator file 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 XU ADR D1 Button
XU ADR D1 Button is an indicator for MetaTrader 4. It can show data from another timeframe (MTF) and is set up for gold (XAUUSD). It has 22 settings, such as Indicator, Auto refresh and STR01. MQL source code included.
Files in the download: XU-ADR D1 button.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Indicator | Version | |
| Auto refresh | true | XARD: Req for lines to Auto Draw Next Day |
| STR01 | <<<==== [01] Open Postion level Settings | |
| STR02 | <<<==== [02] ADR% Target Settings ====>> | |
| Time frame | PERIOD_D1 | Period or timeframe used by the calculation |
| Lvl1 | 23.6,lvl2=38.2,lvl3=61.8,lvl4=76.4,lvl5= | |
| Prev open style | STYLE_DASH | |
| Order line width | 3,ADRLineWidth=2,TextSize=12 | |
| Button note1 | ------------------------------ | |
| Btn corner | CORNER_LEFT_LOWER | chart btn_corner for anchoring |
| Btn text | ADR D1 | |
| Btn font | Impact | |
| Btn font size | 14 | btn__font size |
| Btn text on color | C'180,180,180' | Colour on the chart |
| Btn text off color | C'120,120,120' | Colour on the chart |
| Btn background color | clrDarkRed | Colour on the chart |
| Btn border color | clrDarkRed | Colour on the chart |
| Button x | 384 | btn__x |
| Button y | 25 | btn__y |
| Btn width | 66 | btn__width |
| Btn height | 25 | btn__height |
| Button note2 | ------------------------------ |
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: Multi-Timeframe (MTF) · Gold (XAUUSD) · MT4 Indicator · MQL4 Source Code