M Candles Button
From the Old Kings archive: M Candles Button, an indicator for MetaTrader 4. It has 18 settings, for example Candle Time Frame (default 240), Fill Candle With Colors (default true) and Number Of Bar (default 100). 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 M Candles Button
M Candles Button is an indicator for MetaTrader 4. It has 18 settings, such as Candle time frame, Fill candle with colors and Number of bar. MQL source code included.
Files in the download: m-Candles_ button.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Candle time frame | 240 | Ïåðèîä ñòàðøèõ ñâå÷åê |
| Fill candle with colors | true | objFillCandleWithColors |
| Number of bar | 100 | Êîëè÷åñòâî ñòàðøèõ ñâå÷åê |
| Color up | C'0,51,00' | 0x003300; // Öâåò âîñõîäÿùåé ñâå÷è |
| Color down | C'51,0,0' | 0x000033; // Öâåò íèñõîäÿùåé ñâå÷è |
| Button note1 | ------------------------------ | |
| Btn corner | CORNER_LEFT_UPPER | chart btn_corner for anchoring |
| Btn text | H4 Candle | |
| Btn font | Arial | |
| Btn font size | 8 | btn__font size |
| Btn text color | clrWhite | Colour on the chart |
| Btn background color | clrDimGray | Colour on the chart |
| Btn border color | clrBlack | Colour on the chart |
| Button x | 20 | btn__x |
| Button y | 33 | btn__y |
| Btn width | 60 | btn__width |
| Btn height | 20 | 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: MT4 Indicator · MQL4 Source Code