Indicators With Onoff Buttons 2
This Old Kings indicator for MetaTrader 4 is called Indicators With Onoff Buttons 2. In the code it works with moving averages and ATR. It draws arrows on the chart and can send alerts. It has 40 settings, for example Indicator (default Version), STR01 (default <<<==== [01] TMA1 Settin) and show TMA1 (default false). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 6 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 Indicators With Onoff Buttons 2
Indicators With Onoff Buttons 2 is an indicator for MetaTrader 4 based on Moving Average and ATR. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 40 settings, such as Indicator, STR01 and Show tma1. MQL source code included.
Files in the download: red this.txt, renko.gif, Indicators with ONOFF buttons\!!!-MT4 X-TMA CHANNEL-01 button.mq4, Indicators with ONOFF buttons\FractalSupportResistance button 1.05.mq4, Indicators with ONOFF buttons\MarketProfile_v1.15 button 1.01.mq4, Indicators with ONOFF buttons\red this.txt, Indicators with ONOFF buttons\SupDem Box button 1.02.mq4, Indicators with ONOFF buttons\Support and Resistance button.mq4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Indicator | Version | |
| STR01 | <<<==== [01] TMA1 Settings ====>>> | |
| Show tma1 | false | |
| Tma1per | 56,TMA1atr=100,TMA1width=1 | |
| Tma1clr | clrRed | |
| Tma1atr multi | 2. | |
| STR02 | <<<==== [02] TMA2 Settings ====>>> | |
| Show tma2 | true, Extrapolate=true | |
| Tma2per | 56,TMA2atr=100,TMA2width=3 | |
| Tma2price | PRICE_WEIGHTED | |
| Tma2clr | clrDimGray | |
| STR03 | <<<==== [03] Ribbon Settings ====>>> | |
| Button note1 | ------------------------------ | |
| Btn corner | CORNER_LEFT_UPPER | chart btn_corner for anchoring |
| Btn text | Channel | |
| Btn font | Arial | |
| Btn font size | 10 | btn__font size |
| Btn text on color | clrWhite | Colour on the chart |
| Btn text off color | clrRed | 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 | 13 | btn__y |
| Btn width | 60 | btn__width |
| Btn height | 20 | btn__height |
| Button note2 | ------------------------------ | |
| Note1 | ------------------------------ | |
| H1 color | clrGreen | Colour on the chart |
| H4 color | clrDodgerBlue | Colour on the chart |
| D1 color | clrDarkOrange | Colour on the chart |
| W1 color | clrRed | Colour on the chart |
| Mn1 color | clrPurple | Colour on the chart |
| Note2 | ------------------------------ | |
| H1 line style | STYLE_DOT | |
| H4 line style | STYLE_DOT | |
| D1 line style | STYLE_SOLID | |
| W1 line style | STYLE_SOLID | |
| Mn1 line style | STYLE_SOLID | |
| Note3 | ------------------------------ | |
| H1 line width | 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 · Moving Average · ATR · MT4 Indicator · MQL4 Source Code