Forex Fractal Adjustable Price Period Indicator
This Old Kings indicator for MetaTrader 4 is called Forex Fractal Adjustable Price Period Indicator. Judging by its name, it is built around Bill Williams fractals (swing highs / lows). In the code it works with moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 19 settings, for example Time Frame1 (default Current time frame), Time Frame2 (default next1) and Time Frame3 (default next2). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 2 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 Forex Fractal Adjustable Price Period Indicator
Forex Fractal Adjustable Price Period Indicator is an indicator for MetaTrader 4 based on Moving Average and ATR. 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 19 settings, such as Time frame1, Time frame2 and Time frame3. MQL source code included.
Files in the download: 4 time frame fractals - adjustable period & price.ex4, 4 time frame fractals - adjustable period & price.mq4, installation manual.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame1 | Current time frame | Period or timeframe used by the calculation |
| Time frame2 | next1 | Period or timeframe used by the calculation |
| Time frame3 | next2 | Period or timeframe used by the calculation |
| Time frame4 | next3 | Period or timeframe used by the calculation |
| Fractal period | 25 | Period or timeframe used by the calculation |
| Price high | PRICE_HIGH | |
| Price low | PRICE_LOW | |
| Upper arrow displacement1 | 0.2 | |
| Lower arrow displacement1 | 0.2 | |
| Upper arrow displacement2 | 0.2 | |
| Lower arrow displacement2 | 0.2 | |
| Upper arrow displacement3 | 0.2 | |
| Lower arrow displacement3 | 0.2 | |
| Upper arrow displacement4 | 0.2 | |
| Lower arrow displacement4 | 0.2 | |
| Alerts on | false | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
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: Fractals · Buy/Sell Arrows · Alerts · Multi-Timeframe (MTF) · Moving Average · ATR · MT4 Indicator · MQL4 Source Code